26 ms·
OpenCage (https://opencagedata.com/ https://opencagedata.com/) founder here if anybody has questions. Putting country hierarchies in a set of keys is a challeng
by mtmail 8y ago
OpenCage (https://opencagedata.com/ https://opencagedata.com/) founder here if anybody has questions. Putting country hierarchies in a set of keys is a challenge for all geocoders and the output differs slightly (though we have a google-compat mode). Sometimes it's just road vs street or town vs city. England has parishes, Paris has arrondissements (equivalent to a city within a city), Berlin is a city, county and state (same outer boundaries) for example.
- everybodyknows 8y agoFAQ has: >Just pass the coordinates as a latitude and a longitude, separated by either a comma or a (URL encoded) space and the API will automagically work out that you want to reverse geocode. Is the reverse geocoding based on 1. government-source boundary data, or 2. proximity to tagged points from OSM or other non-authoritative sources?
- mtmail 8y agoBoth where government provides open boundary data, though in most cases that would've been imported into OpenStreetMap already https://opencagedata.com/credits https://opencagedata.com/credits