Email or username:

Password:

Forgot your password?
Top-level
OpenCage 👉🌍

5/ Reverse geocoding may seems simple, but there are lots of things to consider.

First up, different parts of world are structured very differently, with different admin hierarchies and ways to show addresses.

We format the address as expected locally.

BTW - the templates we use to do it are open sourced: github.com/OpenCageData/addres Pull requests gladly received!

#geoeducation

examples of different ways to format addresses
5 comments
OpenCage 👉🌍

6/ Of course most of the world has no hierarchy as all, it's water. We handle that as well.

See our thread on geocoding the oceans: en.osm.town/@opencage/11020778

Map showing a point in the middle of the English Channel
Screenshot of the OpenCage demo page geocoding the coordinates of the point in the middle of the English Channel
OpenCage 👉🌍

7/ One small reverse geocoding pet peeve - people often send our geocoding API ultra precise coordinates. Like nanometer level.

There is no real need for more than 6 places past the decimal, see:

en.wikipedia.org/wiki/Decimal_

#geoeducation

table showing coordinate precision
OpenCage 👉🌍

8/ Next issue - privacy 🕵️🕵️‍♂️🕵️‍♀️

Geocoding super precisely is technically cool, but can at times be a real privacy issue.

For example a website might want to show a user's neighbourhood, not their specific home address.

Here's our guide to geocoding "coarsely"

opencagedata.com/guides/how-to

#geoeducation

OpenCage 👉🌍

9/ But by far the hardest part about reverse geocoding is that the world changes all day, every day.

There is continual new construction, demolition, address changes, changes of all kinds.

#OpenStreetMap alone has 5+ MILLION edits per day (keep up the good work everyone!)

new construction
OpenCage 👉🌍

10/ If you want to play around with the ideas from this thread, we have a tutorial on writing your own reverse geocoder

opencagedata.com/guides/how-to

or of course you can just try out our API

#geoeducation

Our guide to writing your own reverse geocoder
Go Up