GML، XML میں جغرافیائی فیچرز کو انکوڈ کرنے کے لیے ایک OGC معیار ہے۔ یہ INSPIRE، WFS سروسز اور ادارہ جاتی GIS بنیادی ڈھانچے میں وسیع پیمانے پر استعمال ہوتا ہے۔ ورژن 3.2.1 (ISO 19136:2007)۔
اہم خصوصیات

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.
کون سا پروگرام GML فائلیں کھولتا ہے
درج ذیل پروگرام اور ایپلیکیشنز OSM2CDR سے برآمد کردہ GML (Geography Markup Language) (.gml) فائلوں کو کھول، ترمیم اور ان کے ساتھ کام کر سکتے ہیں:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- Geography Markup Language 3.2.1 (ISO 19136). One XML file; no .xsd application schema is shipped alongside it.
GML نقشے کون استعمال کرتا ہے
GML کیسے برآمد کریں
ایکسپورٹ کے بعد کیسے کھولیں
- QGIS (free) — Layer → Add Vector Layer, pick the .gml: the file is read by the GML driver that ships with GDAL.
- ogr2ogr (GDAL) — the command ogr2ogr -f GPKG map.gpkg map.gml converts the document into GeoPackage, a shapefile or PostGIS.
- GeoServer and MapServer — load the data into a database through ogr2ogr and serve it onward from your own WFS service.
- FME — the standard tool when data has to be conformed to a customer's application schema: a GML reader, a writer with the schema you need.
- A visual check — the file is text: xmllint --format map.gml or any XML editor will show the structure and the list of feature properties.
GML میں مقبول نقشے
GML (Geography Markup Language) نقشہ برآمدات حاصل کریں
OpenStreetMap سے پیشہ ورانہ GML نقشے ڈاؤن لوڈ کریں۔ فوری تخلیق، کوئی بھی علاقہ۔
اکثر پوچھے جانے والے سوالات
دیگر فارمیٹس سے موازنہ کریں
Convert to GML and back
متعلقہ فارمیٹس
اکثر ایک ساتھ برآمد کیے جاتے ہیں
Related Articles
How to open MIF/MID (MapInfo) and GML — or download the map in a familiar format
Got .mif/.mid or .gml files and not sure how to open them? QGIS and GDAL read them for free. And if the format is inconv
formatGML (Geography Markup Language) — OGC and ISO XML Standard for Geodata
GML is the OGC and ISO 19136 XML standard for geodata: backbone of INSPIRE, CityGML, AIXM; v3.2.1 (2007) is most common;
guideBest Free GIS Formats: Which One to Choose
Overview of open and free geodata formats: GeoJSON, GeoPackage, GML, KML, GPX. Comparison and recommendations.