API

City boundary - squares

Organization: Kielce City Hall 2 endpoints Technical name: granica-miasta-kwadraty Version: v1 Managed Public

City of Kielce boundary area divided into squares The data is available by adopted side length: - 25 metres - 50 metres - 100 metres - 200 metres The public API supports pagination, column selection and filtering by indexed fields.

Tags

  • Boundaries
  • Geodesy and boundaries

Requests to the whole API service

Loading statistics…

Daily aggregates · UTC

Documentation

The API exposes public table data with selected columns, filters, sorting and pagination.

API endpoints

GET /granica_miasta_kwadraty_100/data Table data: City boundary - 100-metre squares json

Returns records from public table granica_miasta_kwadraty_100. City boundary coverage with a grid of 100 m squares.

Data publication metadata
License Creative Commons Attribution 4.0 International
Organization Kielce City Hall
Openness level
Categories Safety, Spatial data and geography
Tags Boundaries, Geodesy and boundaries
Update frequency 1M
Spatial coverage POLYGON((20.50929696 50.79327717,20.72135483 50.79327717,20.72135483 50.91588043,20.50929696 50.91588043,20.50929696 50.79327717))
Data sources Portal spatial grid
Try endpoint

Response schemas

Check the documented response schemas in the OpenAPI document.

Open the OpenAPI document

Endpoint

/api/public/granica-miasta-kwadraty/granica_miasta_kwadraty_100/data?version=v1

Parameters

Name Location Type Required Description example
columns query string optional Optional comma-separated list of columns. Empty value returns all public columns. id,name
filter[column] query string optional Filter by a public indexed column. Put the column name in brackets, for example filter[status]=active. active
sort query string optional Sort by a public sortable column. Prefix "-" means descending order. -updated_at
limit query integer optional Optional number of records from 1 to 1000; defaults to 100. Zero is not allowed. 100
offset query integer optional Optional non-negative integer offset; defaults to 0. -
Columns 2
Column Type Description Semantics Filtering Sorting
Geometry geometry GEOMETRY(POLYGON,2180) Geometry of the object in a spatial reference system. - yes no
Area area INTEGER Area of the object. - yes yes
Filters 2
Name Type Required Mode example
geometry GEOMETRY(POLYGON,2180) optional bbox: xmin,ymin,xmax,ymax filter[geometry]=20.58,50.82,20.72,50.90
area INTEGER optional range: min and/or max (or equality) filter[area][min]=10&filter[area][max]=100
Request
GET /api/public/granica-miasta-kwadraty/granica_miasta_kwadraty_100/data?columns=geometry,area&limit=10&offset=0
Response
{
    "tableName": "granica_miasta_kwadraty_100",
    "columns": [
        {
            "name": "geometry",
            "type": "GEOMETRY(POLYGON,2180)",
            "filterable": true,
            "requiredFilter": false,
            "sortable": false,
            "label": "Geometry",
            "description": "Geometry of the object in a spatial reference system.",
            "semanticRole": null,
            "semanticPredicate": null
        },
        {
            "name": "area",
            "type": "INTEGER",
            "filterable": true,
            "requiredFilter": false,
            "sortable": true,
            "label": "Area",
            "description": "Area of the object.",
            "semanticRole": null,
            "semanticPredicate": null
        }
    ],
    "requiredFilters": [],
    "allowedFilters": [
        "geometry",
        "area"
    ],
    "pagination": {
        "limit": 10,
        "offset": 0,
        "count": 1,
        "total": 1
    },
    "filters": [],
    "items": [
        {
            "geometry": "sample",
            "area": 1
        }
    ]
}
GET /granica_miasta_kwadraty_200/data Table data: City boundary - 200-metre squares json

Returns records from public table granica_miasta_kwadraty_200. City boundary coverage with a grid of 200 m squares.

Data publication metadata
License Creative Commons Attribution 4.0 International
Organization Kielce City Hall
Openness level
Categories Safety, Spatial data and geography
Tags Boundaries, Geodesy and boundaries
Update frequency 1M
Spatial coverage POLYGON((20.50918085 50.79327717,20.72277557 50.79327717,20.72277557 50.91664005,20.50918085 50.91664005,20.50918085 50.79327717))
Data sources Portal spatial grid
Try endpoint

Response schemas

Check the documented response schemas in the OpenAPI document.

Open the OpenAPI document

Endpoint

/api/public/granica-miasta-kwadraty/granica_miasta_kwadraty_200/data?version=v1

Parameters

Name Location Type Required Description example
columns query string optional Optional comma-separated list of columns. Empty value returns all public columns. id,name
filter[column] query string optional Filter by a public indexed column. Put the column name in brackets, for example filter[status]=active. active
sort query string optional Sort by a public sortable column. Prefix "-" means descending order. -updated_at
limit query integer optional Optional number of records from 1 to 1000; defaults to 100. Zero is not allowed. 100
offset query integer optional Optional non-negative integer offset; defaults to 0. -
Columns 2
Column Type Description Semantics Filtering Sorting
Geometry geometry GEOMETRY(POLYGON,2180) Geometry of the object in a spatial reference system. - yes no
Area area INTEGER Area of the object. - yes yes
Filters 2
Name Type Required Mode example
geometry GEOMETRY(POLYGON,2180) optional bbox: xmin,ymin,xmax,ymax filter[geometry]=20.58,50.82,20.72,50.90
area INTEGER optional range: min and/or max (or equality) filter[area][min]=10&filter[area][max]=100
Request
GET /api/public/granica-miasta-kwadraty/granica_miasta_kwadraty_200/data?columns=geometry,area&limit=10&offset=0
Response
{
    "tableName": "granica_miasta_kwadraty_200",
    "columns": [
        {
            "name": "geometry",
            "type": "GEOMETRY(POLYGON,2180)",
            "filterable": true,
            "requiredFilter": false,
            "sortable": false,
            "label": "Geometry",
            "description": "Geometry of the object in a spatial reference system.",
            "semanticRole": null,
            "semanticPredicate": null
        },
        {
            "name": "area",
            "type": "INTEGER",
            "filterable": true,
            "requiredFilter": false,
            "sortable": true,
            "label": "Area",
            "description": "Area of the object.",
            "semanticRole": null,
            "semanticPredicate": null
        }
    ],
    "requiredFilters": [],
    "allowedFilters": [
        "geometry",
        "area"
    ],
    "pagination": {
        "limit": 10,
        "offset": 0,
        "count": 1,
        "total": 1
    },
    "filters": [],
    "items": [
        {
            "geometry": "sample",
            "area": 1
        }
    ]
}