Coordinates API
This article provides an overview of the Coordinates API from MapTiler. It describes individual path and query parameters, and it also shows how to search, transform, and export item objects. You will also learn how to work with Coordinates in MapTiler SDK. Lastly, you will learn about the legacy EPSG.io solution.
To use the Coordinates API, you need to sign up for a MapTiler Cloud account and obtain an API key. This key is used to authenticate your requests and track usage.
About Coordinates API
After ten years, the EPSG.io coordinates search and transformation service API is being transitioned to the MapTiler Coordinates API for improved security, scalability, and sustainability. This new API requires registration but remains free. MapTiler Coordinates API is a service that allows users to perform various operations related to geographical coordinates. This API enables developers to convert coordinates from one coordinate system to another.
Coordinates transformation
The universal transform URL format is:
https://api.maptiler.com/coordinates/transform/{COORDS}.json?s_srs={CODE}&to_srs={CODE}
Parameters | Description | Example |
---|---|---|
COORDS | Pair or triplets of coordinates separated by, More coordinates pairs are separated by; |
17,50 17,50,300 17,50,300;60,16,400 |
s_srs | Source coordinate reference system | 4326 |
t_srs | Target coordinate reference system definition | 5514 |
ops | List of coordinate of operations separated by | |
1623 |
Example coordinate transformation URL call:
https://api.maptiler.com/coordinates/transform/17,50.json?s_srs=4326&t_srs=5514&ops=1623
What was EPSG.io
EPSG.io was an open-source legacy web service with a database of geographic coordinate systems used in maps worldwide. It benefited from many contributions from the online community. MapTiler supported the service in the past; however, MapTiler now supports only the Coordinates API service. So, if you notice any issue with functionality, open a helpdesk ticket with MapTiler.
Conclusion
Working with geodetic datums, spatial reference systems, Earth ellipsoids, coordinates, coordinate transformations, and related units of measurement is a complex problem that requires an advanced set of tools. Overall, the MapTiler Coordinates API offers a comprehensive set of functionalities for working with geographical coordinates. It provides developers with the necessary tools to perform coordinate conversions, geocoding, reverse geocoding, IP geolocation, and elevation lookup, making it easier to build location-aware applications or services.
Useful links
Migrate from EPSG.io to MapTiler Coordinates API
EPSG Geodetic parameter dataset
Coordinates in MapTiler SDK
MapTiler Coordinates API
Related guides
- Automatically created API key
- Check if MapLibre GL JS is supported
- Coordinates API
- Dataset upload - formats and limits
- Difference between 256x256, 512x512, and HiDPI/Retina rasterized tiles
- Disputed borders on your maps
- Exported Tiles Multiplier
- Generalization in maps
- How are the tile requests cached in web browser?
- How MapTiler map tiles are Generated and Delivered