Mapping guides
Plain explanations of geocoding, coordinates, bounding boxes and OpenStreetMap data, with worked examples you can check in our tools.
Start with what geocoding is if you are new to the subject, or jump to the reference material on coordinate formats and bounding boxes.
- What Is Geocoding?Geocoding turns a place description such as an address or landmark name into map coordinates. Here is what happens between the text you type and the latitude and longitude you get back.
- Forward vs Reverse GeocodingForward and reverse geocoding look like inverses of each other, but they answer different questions and fail in different ways. A worked example at the Eiffel Tower shows why.
- How to Geocode an AddressGetting coordinates for an address is easy; getting the right coordinates, reliably and with a record of where they came from, takes a few deliberate steps. Here is the workflow we recommend, with an API example.
- Latitude and Longitude ExplainedA practical explainer of the coordinate system behind every map and geocoder: what the numbers mean, how much distance each decimal place represents, and the datum and axis-order mistakes that move points by meters or by continents.
- Coordinate Formats ExplainedThe same point on Earth can be written half a dozen ways. This guide explains each common format, when you will meet it, and walks one real landmark through all of them with verified numbers.
- Geographic Bounding Boxes ExplainedA bounding box is four numbers that enclose a place. Simple in principle, but axis order, the antimeridian and the poles cause a surprising number of bugs.
- OpenStreetMap Geocoding BasicsOpenStreetMap is the largest openly licensed map database, and Nominatim is the geocoder built on it. Here is how the data is organised, how to query it well, and the rules that come with the public service.
- How to Use a Geocoding APIMost geocoding bugs aren't in the geocoder. They come from how the API is called and how its answer is read. This guide covers both, using the OpenGeocoder API as the running example.