API
Urban units
Boundaries of urban units used for local spatial summaries and analysis in Kielce. The dataset contains unit names and numbers, their boundaries and the area recorded in the source data. The map helps locate a unit and see which part of the city it covers. These are reference areas for analysis, distinct from cadastral parcels and districts. 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
/jednostki_badawcze/data
Table data: Urban units
json
Returns records from public table jednostki_badawcze. City data: Jednostki badawcze.
Data publication metadata
Try endpoint
Response schemas
Endpoint
/api/public/jednostki-urbanistyczne/jednostki_badawcze/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 4
| Column | Type | Description | Semantics | Filtering | Sorting |
|---|---|---|---|---|---|
geometry
|
GEOMETRY(POLYGON,2178) |
Geometry of the spatial object. | - | yes | no |
name
nazwa
|
VARCHAR(100) |
Business name of the object. | - | yes | yes |
number
numer
|
INTEGER |
Address and location data. | - | yes | yes |
pow
|
DECIMAL(18,3) |
Area value of the object. | - | yes | yes |
Filters 4
| Name | Type | Required | Mode | example |
|---|---|---|---|---|
geometry |
GEOMETRY(POLYGON,2178) |
optional | bbox: xmin,ymin,xmax,ymax | filter[geometry]=20.58,50.82,20.72,50.90 |
nazwa |
VARCHAR(100) |
optional | exact match | filter[nazwa]=sample |
numer |
INTEGER |
optional | range: min and/or max (or equality) | filter[numer][min]=10&filter[numer][max]=100 |
pow |
DECIMAL(18,3) |
optional | range: min and/or max (or equality) | filter[pow][min]=10&filter[pow][max]=100 |
GET /api/public/jednostki-urbanistyczne/jednostki_badawcze/data?columns=geometry,nazwa&limit=10&offset=0
{
"tableName": "jednostki_badawcze",
"columns": [
{
"name": "geometry",
"type": "GEOMETRY(POLYGON,2178)",
"filterable": true,
"requiredFilter": false,
"sortable": false,
"label": "geometry",
"description": "Geometry of the spatial object.",
"semanticRole": null,
"semanticPredicate": null
},
{
"name": "nazwa",
"type": "VARCHAR(100)",
"filterable": true,
"requiredFilter": false,
"sortable": true,
"label": "name",
"description": "Business name of the object.",
"semanticRole": null,
"semanticPredicate": null
}
],
"requiredFilters": [],
"allowedFilters": [
"geometry",
"nazwa"
],
"pagination": {
"limit": 10,
"offset": 0,
"count": 1,
"total": 1
},
"filters": [],
"items": [
{
"geometry": "sample",
"nazwa": "sample"
}
]
}