/latlng/intersects

locations which intersect a location at coordinate.

GET geolytix.xyz/api/location/select/latlng/intersects

This endpoints returns locations which intersect a location at the given coordinate.

Query Parameters

NameTypeDescription

locale

string

The locale (key) for the layer.

layer

string

The layer (key).

table

string

The PostGIS table to be queried. Defaults to layer table or tables array if not specified in request.

geom

string

A geometry field must be provided if the layer has no geometry definition. Will override layer geom definition.

token

string

A token is required to access private endpoints.

{
  "geomj": "{...}",
  "infoj": [
    {
      "label": "Population '11",
      "field": "pop_11",
      "type": "integer",
      "value": 304
    }
  ]
}

Last updated