Geo import & OGC (WFS)¶
How AIT ingests a municipality's geodata: a standardised file or an OGC service, reprojected and then stored in the canonical format. Technical foundation of the Territorial geoinformation module.
Two import paths¶
- Standardised file — GeoJSON (
.json/.geojson). The source coordinate system is detected automatically from the file and can be adjusted. - OGC service (WFS) — connect a Web Feature Service via its URL; the shapes are retrieved and ingested.
- Manual drawing — draw a zone directly on the map (see the Geoinformation module).
Coordinate systems¶
| Reference system | Code | Usage |
|---|---|---|
| WGS84 | EPSG:4326 | global reference system — default for GeoJSON files |
| LV95 (CH1903+) | EPSG:2056 | official Swiss reference system (swisstopo) |
Automatic reprojection into the canonical storage format; exchanges use GeoJSON (RFC 7946, WGS84).
Interoperability¶
- OGC / WFS for vector data (shapes, geometries).
- Provenance preserved: origin (file / drawing / WFS), source CRS, URL.
- Display metadata is managed separately: temporal validity, colours, opacity, pictograms, target audiences → Territorial geoinformation.
Good to know¶
- Geodata goes through GeoJSON / WFS; SVG is not accepted (for security reasons).
- Valid shapes can be distributed publicly → Public AIT embed.