GML 📜

GML (Geography Markup Language)

Open Beta
.gml · application/gml+xml

GML on OGC-standardi maantieteellisten kohteiden koodaamiseen XML-muodossa. Laajasti käytössä INSPIRE-, WFS-palveluissa ja yritystason GIS-infrastruktuurissa. Versio 3.2.1 (ISO 19136:2007).

Vie GML nyt ✨ Avoin beta — ilmainen, ei rajoituksia

Keskeiset ominaisuudet

OGC/ISO-standardi
XML-muoto
INSPIRE-tuki
XSD-skeemat mukana
Example GML export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Tietoa GML-muodosta

GML is an OGC standard and ISO 19136, in which geographic features are described in plain XML: every feature has its own geometry and set of properties. GML underpins the European INSPIRE infrastructure, WFS service responses and exchange between agency GIS systems — wherever a textual, readable and verifiable format is required.

OpenStreetMap maps are exported to GML when the receiving side works by regulation rather than by convenience: the GIS department accepts XML, the exchange bus validates the document, the corporate system only knows OGC formats. For your own internal work GeoJSON or GeoPackage are handier, while GML is the language of inter-agency conversation.

The output is a single .gml: one wfs:FeatureCollection gathering all the layers of the area. The feature element name repeats the name of the source layer (roads, buildings, water and so on), each feature has its own gml:id, and OSM tags are laid out as child properties. Coordinates are WGS84 (EPSG:4326) with eight decimal places.

The limitations are stated honestly. The document follows the GML 3.2.1 structure with the GML and WFS namespaces, but an application schema (.xsd) of its own is not shipped alongside — conforming to a particular customer schema is done on the receiving side. Each layer is capped at 200,000 features: XML is heavy, and this keeps the file at a workable size.

Mikä ohjelma avaa GML-tiedostot

Seuraavat ohjelmat ja sovellukset voivat avata ja muokata OSM2CDR:stä vietyjä GML (Geography Markup Language) (.gml) -tiedostoja sekä työskennellä niiden parissa:

🌎QGIS 🌎ArcGIS 💻GeoServer 💻MapServer 💻FME 💻GDAL/OGR

Format specifications

Ketkä käyttävät GML-karttoja

🏗
INSPIRE
The source XML for conforming data to the application schemas of the European spatial data infrastructure.
💻
Yritystason GIS
Loading a city base map into an agency GIS that only accepts OGC formats.
📊
WFS-palvelut
Data in exactly the shape a WFS serves it: handy for testing clients and populating GeoServer.
🎨
Julkishallinnon kiinteistörekisterit
A textual, verifiable document for handing geometry over to cadastral and records systems.
🗺
Viranomaisten välinen tiedonvaihto
A neutral XML exchange format between organizations running different software.

Näin viet kartan muotoon GML

1
Valitse alue
Piirrä suorakulmio tai monikulmio interaktiiviselle kartalle osoitteessa osm2cdr.ru
2
Valitse GML
Valitse GML (Geography Markup Language) 127 saatavilla olevan vientimuodon luettelosta
3
Vie
Napsauta Vie ja saat .gml-tiedostosi 1–5 minuutissa
4
Lataa
Lataa valmis GML-tiedosto ja avaa se ohjelmassa QGIS

Kuinka avata viennin jälkeen

Suositut GML-kartat

Ilmainen

Hanki GML (Geography Markup Language) -karttavientejä

Lataa ammattilaistason GML-karttoja OpenStreetMapista. Luodaan välittömästi mistä tahansa alueesta.

Ilmainen / vienti
Vie GML nyt →

Usein kysytyt kysymykset

Mikä on GML?
Missä GML:ää käytetään?
What exactly arrives in the file?
Is an XSD schema included?
Which coordinate system does the GML arrive in?

Vertaa muihin muotoihin

Liittyvät muodot

Usein viedään yhdessä

Related Articles