GML 📜

GML (Geography Markup Language)

Open Beta
.gml · application/gml+xml

GML ialah standard OGC untuk pengekodan ciri geografi dalam XML. Digunakan secara meluas dalam INSPIRE, perkhidmatan WFS, dan infrastruktur GIS perusahaan. Versi 3.2.1 (ISO 19136:2007).

Eksport GML sekarang ✨ Beta Terbuka — percuma, tanpa had

Ciri Utama

Standard OGC/ISO
Format XML
Sokongan INSPIRE
Skema XSD disertakan
Example GML export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Mengenai Format GML

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.

Program yang Membuka Fail GML

Program dan aplikasi berikut boleh membuka, menyunting, dan bekerja dengan fail GML (Geography Markup Language) (.gml) yang dieksport daripada OSM2CDR:

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

Format specifications

Siapa yang Menggunakan Peta GML

🏗
INSPIRE
The source XML for conforming data to the application schemas of the European spatial data infrastructure.
💻
GIS perusahaan
Loading a city base map into an agency GIS that only accepts OGC formats.
📊
Perkhidmatan WFS
Data in exactly the shape a WFS serves it: handy for testing clients and populating GeoServer.
🎨
Kadaster kerajaan
A textual, verifiable document for handing geometry over to cadastral and records systems.
🗺
Pertukaran antara agensi
A neutral XML exchange format between organizations running different software.

Cara Mengeksport GML

1
Pilih kawasan
Lukis segi empat atau poligon pada peta interaktif di osm2cdr.ru
2
Pilih GML
Pilih GML (Geography Markup Language) daripada senarai 127 format eksport yang tersedia
3
Eksport
Klik Eksport dan terima fail .gml anda dalam 1-5 minit
4
Muat turun
Muat turun fail GML yang siap dan buka dalam QGIS

Cara Membuka Selepas Eksport

Peta popular dalam GML

Percuma

Dapatkan eksport peta GML (Geography Markup Language)

Muat turun peta GML profesional daripada OpenStreetMap. Penjanaan serta-merta, sebarang kawasan.

Percuma / eksport
Eksport GML sekarang →

Soalan Lazim

Apakah itu GML?
Di mana GML digunakan?
What exactly arrives in the file?
Is an XSD schema included?
Which coordinate system does the GML arrive in?

Bandingkan dengan Format Lain

Format Berkaitan

Kerap Dieksport Bersama

Related Articles