/id

location info and geometry by id

GET geolytix.xyz/api/location/select/id

Request a location's info and geometry by its ID. The infoj which defines the fields to be queried will be taken from the workspace in memory.

Query Parameters

NameTypeDescription

locale

string

The locale (key) which contains the location layer.

layer

string

The layer (key) which contains the location table.

table

string

The table which holds the locations.

id

string

The layer qID ID of the location.

token

string

A token is required to access private endpoints.

{
  "geomj": "{\"type\":\"Point\",\"coordinates\":[-1.80310353310663,52.5013484988118]}",
  "infoj": [
    {
      "type": "streetview"
    },
    {
      "label": "ID",
      "field": "retailpoint_id",
      "type": "text",
      "inline": true,
      "value": 1010004483
    },
    {...}
  ]
}

Access filter on the layer apply and the location info can not be returned if the access token does hold the required roles for private endpoints.

Last updated