Importing Overture Maps data into Geobase
Use the project worker job overtureImportArea (or Studio Overture Import Map) to download selected Overture Maps layers for an AOI into your Geobase project Postgres.
Useful when OpenStreetMap coverage is thin (for example buildings). The request shape is close to osmImportArea so apps can swap job paths.
Studio (recommended)
- Open your project → Data Importer → Map imports → Overture Import Map.
- Draw one or more AOIs and name each area (table prefix).
- Select Overture types (see blurbs in the sidebar; theme guides for detail).
- Import, then poll until success — or Cancel while pending/running.
Default types in the UI are often building and segment. Output tables use {prefix}_{suffix} with source = overture.
Prerequisites (API)
- Healthy Geobase project (
GEOBASE_PROJECT_URL/ projectref). - Server-side
GEOBASE_SERVICE_ROLE_KEY(never from browser code). - AOI as GeoJSON Polygon or MultiPolygon, WGS84 (EPSG:4326), closed rings.
- Worker has
GEOBASE_PROJECT_DB_URIfor the project database (hosted stacks already do).
Endpoints
| Method | Path |
|---|---|
| POST | {origin}/worker/jobs/overtureImportArea |
| GET | {origin}/worker/jobs/overtureImportArea/{job_id} |
| GET | {origin}/worker/jobs/overtureImportArea/latest |
| DELETE | {origin}/worker/jobs/overtureImportArea/{job_id} — cancel pending/running |
Studio proxy: /api/projects/{ref}/jobs/overtureImportArea.
OpenAPI: {origin}/worker/doc and {origin}/worker/ui.
Layer selection
Resolution order:
types— Overture feature types (preferred), e.g.["building", "segment", "water"]topics— shortbread/kblock aliases, e.g.["buildings", "streets"]or["kblock"]→ buildings only- Default —
["building"]if both omitted
Common types → tables
types | Meaning (short) | Output table |
|---|---|---|
building | Structure footprints | {prefix}_buildings |
segment | Roads / paths (lines) | {prefix}_streets |
water | Water bodies / waterways | {prefix}_water |
place | POIs / named places | {prefix}_places |
land | Land polygons | {prefix}_land |
land_use | Land use areas | {prefix}_land_use |
address | Address points | {prefix}_addresses |
Full worker allow-list and aliases: OpenAPI description, agent skills (@geobase-worker-overture-import), and geobase-skills . Upstream themes: Overture guides .
Output columns
area_id (bigint), geom (4326), tags (jsonb), source = overture.
Example request
curl -sS -X POST "${GEOBASE_PROJECT_URL}/worker/jobs/overtureImportArea" \
-H "apikey: ${GEOBASE_SERVICE_ROLE_KEY}" \
-H "Authorization: Bearer ${GEOBASE_SERVICE_ROLE_KEY}" \
-H "Content-Type: application/json" \
-d '{
"areaName": "demo_aoi",
"tablePrefix": "demo_aoi",
"types": ["building", "segment"],
"mode": "replace",
"aoiGeoJson": {
"type": "Polygon",
"coordinates": [[[10.0, 59.0], [10.1, 59.0], [10.1, 59.1], [10.0, 59.1], [10.0, 59.0]]]
}
}'Poll:
curl -sS "${GEOBASE_PROJECT_URL}/worker/jobs/overtureImportArea/<job_id>" \
-H "apikey: ${GEOBASE_SERVICE_ROLE_KEY}" \
-H "Authorization: Bearer ${GEOBASE_SERVICE_ROLE_KEY}"Cancel:
curl -sS -X DELETE "${GEOBASE_PROJECT_URL}/worker/jobs/overtureImportArea/<job_id>" \
-H "apikey: ${GEOBASE_SERVICE_ROLE_KEY}" \
-H "Authorization: Bearer ${GEOBASE_SERVICE_ROLE_KEY}"On success, job metadata includes types, layers ([{ type, table, inserted }]), and totals.
Modes and size limits
mode:replace(default) clears each target table before insert;unionappends / upserts byarea_id.- Imports use the AOI bounding box (exact polygon clip is a follow-up).
- Size guards (env):
OVERTURE_MAX_BBOX_AREA_SQ_DEG(default1.0),OVERTURE_MAX_FEATURES_PER_TYPE(50000),OVERTURE_MAX_FEATURES_TOTAL(100000). Prefer small AOIs; start with one type.
Related
- OpenStreetMap import
- Worker jobs
- Worker API
- Project services hub
- osm2pgsql (advanced) — local OSM PBF path, not Overture