API
City boundary - squares
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.
Requests to the whole API service
Loading statistics…
Daily aggregates · UTC
| Time (UTC) | Series | Value |
|---|
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
Try endpoint
Response schemas
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 |
GET /api/public/granica-miasta-kwadraty/granica_miasta_kwadraty_100/data?columns=geometry,area&limit=10&offset=0
{
"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
Try endpoint
Response schemas
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 |
GET /api/public/granica-miasta-kwadraty/granica_miasta_kwadraty_200/data?columns=geometry,area&limit=10&offset=0
{
"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
}
]
}