Georeferencing

The Plans Static API allows you to access georeferencing information about the images it creates. This information lets you project the images onto a map.

The georeferencing endpoint is available at:

https://api.locatrix.com/plans-static/v1/georef?parameters

and accepts the exact same parameters as the image API. The returned georeferencing information is only valid for an image generated with identical parameters.

Response

Returns the longitude/latitude coordinates for each corner of the image as a GeoJSON polygon, starting from the top left corner and winding clockwise around the image to its bottom left corner. A response will look like:

{
  "coordinates": [
    [153.17547822727897,-27.666152237385287],
    [153.175843341992,-27.665850681166525],
    [153.17617076323597,-27.666168723670843],
    [153.1758056485229,-27.66647027901205]
  ]
}

with its four coordinates showing the location of each corner of the image. As these coordinates are intended to be used with standard web mapping services, they use the standard WGS84 datum.

Georeferencing example