Geodata and APIs

Developers

Find a territory, get geodata, and save the result. Examples run without a key; source and limitations remain part of the data.

Territory and KATO

Search by name or KATO code. Keep the identifier; a reference record may not have geometry.

curl --fail --silent --show-error --get 'https://qgeo.tech/api/v1/territories' --data-urlencode 'q=Abai' --data 'limit=5'

Find a place on the map

Find an administrative territory or settlement. Coordinates do not confirm the address of an individual building.

curl --fail --silent --show-error --get 'https://qgeo.tech/api/v1/mapregion/public/places/search' --data-urlencode 'q=Astana' --data 'limit=5'

Regional statistics

Take the population period and source from the response. Do not replace a missing value with zero.

curl --fail --silent --show-error 'https://qgeo.tech/api/v1/statistics/regions/KZ-AST?indicator=population'

Records: data catalog

A catalog entry does not mean downloadable data exists. Check status and source links.

curl --fail --silent --show-error 'https://qgeo.tech/records/collections/qazgeo/items?limit=5'

OGC API Features: GeoJSON

The first five objects. For the rest, follow the next link in links. Coordinates: longitude, latitude (CRS84).

curl --fail --silent --show-error 'https://qgeo.tech/ogc/collections/regions/items?limit=5&f=json'

STAC: satellite scenes

Find confirmed metadata. An empty features array means no scenes are published, not an API error. Downloading the imagery itself is not provided here.

curl --fail --silent --show-error 'https://qgeo.tech/stac/search?limit=5'

Export to CSV

Save the regions table with periods, units, and sources. When importing, keep territorial codes as text.

curl --fail --silent --show-error --output regions.csv 'https://qgeo.tech/api/v1/mapregion/export/regions?format=csv'

Embedding a territory card

A text card is currently available. iframes are allowed on qgeo.tech and *.qdev.run; on another domain use a regular link.

<iframe src="https://qgeo.tech/en/embed/map?territory=KZ-AST&amp;layer=regions" title="QazGeo · Astana" width="100%" height="480" loading="lazy"></iframe>

QGIS

QGIS examples, coordinate systems, file formats, and error handling.