GeoCzech logo GeoCzech Docs

GeoCzech API

Introduction

The GeoCzech API lets your own scripts and applications do what MyGeodata Cloud does in the browser — convert, inspect, transform and publish geodata.

What you can do

The API is a set of ready-made tools. You send a file (or a link to it) and a few settings, the tool does the work in the cloud and gives you back the result.

Tool In plain words Typical use
Converter Turns geodata from one format into another. Shapefile → GeoJSON, KML → DXF, CSV with coordinates → GeoPackage, change the coordinate system on the way.
Geodata Looks inside a file and tells you what it contains. Layers, number of features, coordinate system, extent, attributes — before you import or convert anything.
Coordinates Finds coordinate systems and recalculates coordinates. "Which system is EPSG:32730?", convert GPS coordinates to a UTM zone or a national grid, identify a .prj file.
MapServer Shows any data file as a web map service (WMS/WFS). Display your GeoTIFF or Shapefile in QGIS, Leaflet or OpenLayers without running a GIS server.

Prefer no code?

Every tool is also available in your browser in MyGeodata Cloud. The API is for when you want to automate it — process hundreds of files, run it every night, or build it into your own app.

Base URL

All requests go to

https://api.geoczech.dev

Start a tool with POST /v2/tool/<tool> and check a running task with GET /v2/status/<task_id>.

How it works

Every call follows the same three steps — no matter which tool you use:

  1. Send a request. Tell the API which tool to run, give it your data (upload a file or pass a public URL) and the settings (for example the target format).
  2. The task runs in the cloud. Small jobs finish in a second or two; big ones can take minutes. You can wait for the result in the same request (wait=true), or get a task_id immediately and ask later.
  3. Get the result. The response contains a summary (JSON) and download links to the output files.

Requests use the classic web-form format (multipart/form-data) — the same format a browser uses when you upload a file. Every example in this documentation is ready to copy and run; choose your language in the switcher above the code.

Your first request — what is inside this file?

Analyze a sample GeoJSON file from our sample data. The answer says it has one layer with 58 points in WGS 84.

curl -X POST "https://api.geoczech.dev/v2/tool/geodata" \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "file_urls=https://cdn.geoczech.dev/docs-samples/v1/st-helena-places.geojson" \
  --form-string 'params={"method": "analyze"}' \
  -F "wait=true"
Response
{
  "task_id": "0301e682-f8eb-4687-af71-9f396e62c2bb",
  "status": "SUCCESS",
  "message": "Success",
  "duration_sec": 0.373,
  "output_files": ["https://…/result.json?…"],
  "json_data": {
    "status": "ok",
    "summary": {
      "datasetCount": 1,
      "drivers": ["GeoJSON"],
      "crs": [{"code": "EPSG:4326", "name": "WGS 84", "type": "geographic"}],
      "extentWgs84": [-5.7721743, -16.008899, -5.638883, -15.906601]
    },
    "vector": {
      "featureCount": 58,
      "datasets": [{
        "name": "st-helena-places.geojson",
        "layers": [{
          "name": "st-helena-places",
          "featureCount": 58,
          "geometry": {"declared": "POINT"},
          "attributes": [
            {"name": "id", "type": "Integer"},
            {"name": "name", "type": "String"},
            {"name": "category", "type": "String"},
            {"name": "kind", "type": "String"},
            {"name": "elevation", "type": "Integer"}
          ]
        }]
      }]
    }
  }
}

What you need

  • A GeoCzech account with API access — included in the Basic, Standard and Premium plans. See Credits & pricing.
  • An API key — create one in the Console under Developers → API keys. See Authentication.
  • Something that can send web requests — a terminal with cURL, or a few lines of Python, JavaScript, PHP or C#. No special library or SDK is needed.

New to geodata terms like CRS or layer? Read Key concepts — it takes five minutes. Ready to go? Continue to the Quickstart.

Last updated 2026-11-17