How can I check in QGIS whether a GML file has elevation information, or z coordinates?

It definitely has some overlapping polygons, but I'm not sure whether the ordering of the overlap is specified or not.


The easiest way is to look at the pos or poslist elements to see what the srsDimension attribute is - the default is 2 if it is missing.

<gml:pos srsDimension="2">45.67 88.56</gml:pos>

<gml:posList srsDimension="2">45.67 88.56 55.56 89.44</gml:posList>
  • Thanks! No srsDimension attribute at all, so I guess it's 2. – Richard Jan 19 '18 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.