I am writing some training notes for new QGIS users at my work.
I have a section on types of vector files; ESRI Shapefile, MapInfo Tab and GML & GZ so far.
We sometimes use the UK Land Registry INSPIRE polygons, supplied as .gml, and Ordnance Survey MasterMap supplied as .gz
So I have written a paragraph on shapefiles and Tab files, but have struggled to come up with anything succinct for GML files. I have tried to understand the Wikipedia entry Geographic Markup Language so I understand that it is markup language for geographic information, as the name obviously implies.
But then the details require a degree of technical understanding that I am finding pretty impenetrable.
I have had a look at other web pages as well and they all more or less say the same thing, even the GIS Stackechange tag for gml that says "Geography Markup Language (GML) is an OGC Standard for expressing geographical features" – doesn't, to my mind, shed any light.
Also the question What does it mean "GML is an XML grammar"? goes over my head.
I am looking for a short paragraph that explains what it is for a new user (and myself clearly)
The best I can come up with at the moment is…
GML is a vector file format that allows for geographic data to be kept
as a text file that can be shared easily between systems
It's easy enough to open a GML file in QGIS, and work with it, so perhaps this explanation more or less be skipped over anyway, but then how does a GML get created, in what software? I'd be looking for this to be included as part of the answer.
Or am I overcomplicating it?
Best Answer
Herewith an answer to my own question based on the information I have gleaned, and with some new understanding. If it needs tweaking I am hoping it may be commented upon over time.
From Wikipedia - Markup Language "In computer text processing, a markup language is a system for annotating a document in a way that is syntactically distinguishable from the text.
"HTML (Hypertext Markup Language) is a markup language that web browsers use to interpret and compose text, images, and other material into visual or audible web pages." From Wikipedia - HTML
For example:
Below is a copy and paste of a very small part of a GML file opened in Notepad. The co-ordinates of a geometry are stored as a string of text that is markedup with information that the reading software can interpret and display as, in this case, polygons.