JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q51719F
  • License MIT

Geolocation based on Photon (Komoot) through Open Street Map

Package Exports

  • @qalincalabs/limosa
  • @qalincalabs/limosa/geocoder.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@qalincalabs/limosa) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Limosa [alpha]

Geolocation based on Photon (Komoot) through Open Street Map. The geocoder goes through strategy-defined successive layers (country, locality, street, housenumber), makes Photon requests based on those and then elect a match among all Photon results.

Strict ! For instance, if a housenumber doesn't exist in OSM, the geocoder will only output the street.

How to

For a defined strategy (for instance: OFN-BE), this is the input of the geocoder and its output (you can then use Nominatim to get extra info over the OSM element like over here). The input is user defined, you define in the strategy how to map to a Photon search request.

https://github.com/qalincalabs/limosa/blob/eb44acc7d17d046db0c07ca33e2091301e2bf294/configs/ofnBe.test.js#L100-L127

Strategies