API

Elections — polling places, wards and districts

Organization: Kielce City Hall 3 endpoints Technical name: wybory-lokale-obwody-okregi Version: v1 Managed Public
REST API WFS

Polling place locations and the boundaries of polling wards and electoral districts. Browse the data by election year and type.

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

REST API

GET /wybory_lokale/data Table data: Polling places json

Returns records from public table wybory_lokale. Polling place locations with names and addresses, and polling ward and electoral district identifiers. The data includes election year and type.

Data publication metadata
License Creative Commons Attribution 4.0 International
Organization Kielce City Hall
Openness level
Categories Civic activity, Spatial data and geography
Tags Administration and elections, Elections
Update frequency UNKNOWN
Spatial coverage POLYGON((20.53439409 50.82189060,20.68174428 50.82189060,20.68174428 50.91192306,20.53439409 50.91192306,20.53439409 50.82189060))
Data sources Municipal election organization register
Try endpoint

Response schemas

Check the documented response schemas in the OpenAPI document.

Open the OpenAPI document

Endpoint

https://dane.kielce.eu/api/public/wybory-lokale-obwody-okregi/wybory_lokale/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 10
Column Type Description Semantics Filtering Sorting
Name nazwa VARCHAR(100) Object name in the source register. - no no
Polling ward number obwod INTEGER Polling ward number within an election year and type; not a standalone historical key. - no no
Polling place street ulica VARCHAR(50) Source street name of the polling place or election commission seat. - no no
Address number numer VARCHAR(8) Source address number of the polling place or election commission seat. - no no
Polling ward kind rodzaj VARCHAR(10) Source polling ward kind: STAŁY (permanent) or ODRĘBNY (separate). - no no
Election year rok INTEGER Election year from the source; does not imply current validity of the boundaries or polling place. - no no
Election type wybory VARCHAR(20) Source election type, preserving original codes. - no no
Electoral district number okreg INTEGER Electoral district number within an election year and type; may be empty. - no no
Geometry geometry GEOMETRY(POINT,2178) Source geometry in PL-2000 zone 7 (EPSG:2178). - yes no
obwod_uri URL Computed semantic identifier or relation from the publication policy. Linked Data relation http://purl.org/dc/terms/relation no no
Filters 1
Name Type Required Mode example
geometry GEOMETRY(POINT,2178) optional bbox: xmin,ymin,xmax,ymax filter[geometry]=20.58,50.82,20.72,50.90
Request
GET /api/public/wybory-lokale-obwody-okregi/wybory_lokale/data?columns=nazwa,obwod&limit=10&offset=0
Response
{
    "tableName": "wybory_lokale",
    "columns": [
        {
            "name": "nazwa",
            "type": "VARCHAR(100)",
            "filterable": false,
            "requiredFilter": false,
            "sortable": false,
            "label": "Name",
            "description": "Object name in the source register.",
            "semanticRole": null,
            "semanticPredicate": null
        },
        {
            "name": "obwod",
            "type": "INTEGER",
            "filterable": false,
            "requiredFilter": false,
            "sortable": false,
            "label": "Polling ward number",
            "description": "Polling ward number within an election year and type; not a standalone historical key.",
            "semanticRole": null,
            "semanticPredicate": null
        }
    ],
    "requiredFilters": [],
    "allowedFilters": [],
    "pagination": {
        "limit": 10,
        "offset": 0,
        "count": 1,
        "total": 1
    },
    "filters": [],
    "items": [
        {
            "nazwa": "sample",
            "obwod": 1
        }
    ]
}
GET /wybory_obwody/data Table data: Polling wards json

Returns records from public table wybory_obwody. Polling ward boundaries with numbers, names, polling place addresses and electoral district identifiers. The data includes election year and type.

Data publication metadata
License Creative Commons Attribution 4.0 International
Organization Kielce City Hall
Openness level
Categories Civic activity, Spatial data and geography
Tags Administration and elections, Elections
Update frequency UNKNOWN
Spatial coverage POLYGON((20.51047501 50.79325977,20.72063150 50.79325977,20.72063150 50.91512209,20.51047501 50.91512209,20.51047501 50.79325977))
Data sources Municipal election organization register
Try endpoint

Response schemas

Check the documented response schemas in the OpenAPI document.

Open the OpenAPI document

Endpoint

https://dane.kielce.eu/api/public/wybory-lokale-obwody-okregi/wybory_obwody/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 11
Column Type Description Semantics Filtering Sorting
Geometry geometry GEOMETRY(MULTIPOLYGON,2178) Source geometry in PL-2000 zone 7 (EPSG:2178). - yes no
Name nazwa VARCHAR(100) Object name in the source register. - no no
Polling ward number obwod INTEGER Polling ward number within an election year and type; not a standalone historical key. - yes yes
Polling place street ulica VARCHAR(100) Source street name of the polling place or election commission seat. - yes yes
Address number numer VARCHAR(8) Source address number of the polling place or election commission seat. - yes yes
Electoral district number okreg INTEGER Electoral district number within an election year and type; may be empty. - yes yes
Polling ward kind rodzaj VARCHAR(10) Source polling ward kind: STAŁY (permanent) or ODRĘBNY (separate). - yes yes
Election year rok INTEGER Election year from the source; does not imply current validity of the boundaries or polling place. - yes yes
Election type wybory VARCHAR(20) Source election type, preserving original codes. - yes yes
_uri URL Computed semantic identifier or relation from the publication policy. Semantic URI identifier no no
obszar_miasta_uri URL Computed semantic identifier or relation from the publication policy. Linked Data relation https://schema.org/geoIntersects no no
Filters 8
Name Type Required Mode example
geometry GEOMETRY(MULTIPOLYGON,2178) optional bbox: xmin,ymin,xmax,ymax filter[geometry]=20.58,50.82,20.72,50.90
obwod INTEGER optional range: min and/or max (or equality) filter[obwod][min]=10&filter[obwod][max]=100
ulica VARCHAR(100) optional exact match filter[ulica]=sample
numer VARCHAR(8) optional exact match filter[numer]=sample
okreg INTEGER optional range: min and/or max (or equality) filter[okreg][min]=10&filter[okreg][max]=100
rodzaj VARCHAR(10) optional exact match filter[rodzaj]=sample
rok INTEGER optional range: min and/or max (or equality) filter[rok][min]=10&filter[rok][max]=100
wybory VARCHAR(20) optional exact match filter[wybory]=sample
Request
GET /api/public/wybory-lokale-obwody-okregi/wybory_obwody/data?columns=geometry,nazwa&limit=10&offset=0
Response
{
    "tableName": "wybory_obwody",
    "columns": [
        {
            "name": "geometry",
            "type": "GEOMETRY(MULTIPOLYGON,2178)",
            "filterable": true,
            "requiredFilter": false,
            "sortable": false,
            "label": "Geometry",
            "description": "Source geometry in PL-2000 zone 7 (EPSG:2178).",
            "semanticRole": null,
            "semanticPredicate": null
        },
        {
            "name": "nazwa",
            "type": "VARCHAR(100)",
            "filterable": false,
            "requiredFilter": false,
            "sortable": false,
            "label": "Name",
            "description": "Object name in the source register.",
            "semanticRole": null,
            "semanticPredicate": null
        }
    ],
    "requiredFilters": [],
    "allowedFilters": [
        "geometry"
    ],
    "pagination": {
        "limit": 10,
        "offset": 0,
        "count": 1,
        "total": 1
    },
    "filters": [],
    "items": [
        {
            "geometry": "sample",
            "nazwa": "sample"
        }
    ]
}
GET /wybory_okregi/data Table data: Electoral districts json

Returns records from public table wybory_okregi. Electoral district boundaries with numbers and election year and type.

Data publication metadata
License Creative Commons Attribution 4.0 International
Organization Kielce City Hall
Openness level
Categories Civic activity, Spatial data and geography
Tags Administration and elections, Elections
Update frequency UNKNOWN
Spatial coverage POLYGON((20.51047501 50.79325977,20.72063136 50.79325977,20.72063136 50.91508353,20.51047501 50.91508353,20.51047501 50.79325977))
Data sources Municipal election organization register
Try endpoint

Response schemas

Check the documented response schemas in the OpenAPI document.

Open the OpenAPI document

Endpoint

https://dane.kielce.eu/api/public/wybory-lokale-obwody-okregi/wybory_okregi/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 5
Column Type Description Semantics Filtering Sorting
Geometry geometry GEOMETRY(MULTIPOLYGON,2178) Source geometry in PL-2000 zone 7 (EPSG:2178). - yes no
Electoral district number okreg INTEGER Electoral district number within an election year and type; may be empty. - yes yes
Election year rok INTEGER Election year from the source; does not imply current validity of the boundaries or polling place. - yes yes
Election type wybory VARCHAR(20) Source election type, preserving original codes. - yes yes
_uri URL Computed semantic identifier or relation from the publication policy. Semantic URI identifier no no
Filters 4
Name Type Required Mode example
geometry GEOMETRY(MULTIPOLYGON,2178) optional bbox: xmin,ymin,xmax,ymax filter[geometry]=20.58,50.82,20.72,50.90
okreg INTEGER optional range: min and/or max (or equality) filter[okreg][min]=10&filter[okreg][max]=100
rok INTEGER optional range: min and/or max (or equality) filter[rok][min]=10&filter[rok][max]=100
wybory VARCHAR(20) optional exact match filter[wybory]=sample
Request
GET /api/public/wybory-lokale-obwody-okregi/wybory_okregi/data?columns=geometry,okreg&limit=10&offset=0
Response
{
    "tableName": "wybory_okregi",
    "columns": [
        {
            "name": "geometry",
            "type": "GEOMETRY(MULTIPOLYGON,2178)",
            "filterable": true,
            "requiredFilter": false,
            "sortable": false,
            "label": "Geometry",
            "description": "Source geometry in PL-2000 zone 7 (EPSG:2178).",
            "semanticRole": null,
            "semanticPredicate": null
        },
        {
            "name": "okreg",
            "type": "INTEGER",
            "filterable": true,
            "requiredFilter": false,
            "sortable": true,
            "label": "Electoral district number",
            "description": "Electoral district number within an election year and type; may be empty.",
            "semanticRole": null,
            "semanticPredicate": null
        }
    ],
    "requiredFilters": [],
    "allowedFilters": [
        "geometry",
        "okreg"
    ],
    "pagination": {
        "limit": 10,
        "offset": 0,
        "count": 1,
        "total": 1
    },
    "filters": [],
    "items": [
        {
            "geometry": "sample",
            "okreg": 1
        }
    ]
}

Download spatial data: locations, boundaries and their descriptive fields. Choose a layer in the catalogue to inspect its fields or download features. You can also add the service URL to a GIS application such as QGIS.

WFS 2.0.0 · Elections — polling places, wards and districts

GET /2.0.0/wybory_lokale_obwody_okregi WFS: Elections — polling places, wards and districts xml

Choose an operation with the request parameter: list layers, inspect fields or retrieve features.

Data publication metadata
License Creative Commons Attribution 4.0 International
Organization Kielce City Hall
Openness level
Data sources Municipal election organization register

Endpoint

https://dane.kielce.eu/api/public/wfs/2.0.0/wybory_lokale_obwody_okregi

Parameters

Name Location Type Required Description example
service query string optional Service name: WFS. -
request query string optional GetCapabilities, DescribeFeatureType, GetFeature, ListStoredQueries or DescribeStoredQueries. -
version query string optional WFS protocol version: 2.0.0. -
typeNames query string optional Published feature type, optionally prefixed with app:. -
count query string optional Maximum objects in one page: 0–1000; default 100. -
startIndex query string optional Zero-based offset: 0–100000. -
bbox query string optional Four bounds in CRS axis order, optionally followed by the CRS. Without it: CRS84 longitude/latitude. Independent of output CRS; only enabled systems are accepted. -
resourceID query string optional Published feature identity: type.integer-row-id. -
srsName query string optional Enabled output system: CRS84 (longitude/latitude), EPSG:4326 (latitude/longitude), EPSG:2180 or EPSG:2178 (northing/easting, metres). See capabilities for the enabled list. -
resultType query string optional results or hits. -
storedquery_id query string optional urn:ogc:def:query:OGC-WFS::GetFeatureById. -
ID query string optional Technical feature identity for GetFeatureById. -

Requests to the whole API service

Loading statistics…

Daily aggregates · UTC