coordinates

`GET /coordinates/transform?coords=x,y;x,y&s_srs=&t_srs=`.

get/coordinates/transform

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/coordinates/transform
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter api_key

Query parameters

coordsstring required

Semicolon-separated x,y or x,y,z pairs in the source CRS, at most 50. For a geographic CRS, x is longitude and y is latitude

s_srsstring

Source CRS, EPSG:<code> or a bare code; defaults to EPSG:4326

t_srsstring

Target CRS, EPSG:<code> or a bare code; defaults to EPSG:4326

Response

{s_srs, t_srs, results: [{x, y, z?} | null]} in input order. An entry is null where the projection has no solution there (a pole projected into Mercator, a grid coordinate the inverse cannot solve): an honest "no answer", never a guess. Any z rides through unchanged: no vertical datum is applied

object required

Changes

No recorded changes to this operation across all 1 revision of this API.