<div dir="ltr">Hi,<div><br></div><div>We are experiencing an unwanted flipping of coordinate order interpretation when adding GML 3.2 files as new vector layers in QGIS 2.2 Valmiera.</div><div><br></div><div>The GML data is has been encoded as a wfs:featureCollection with EU INSPIRE ProtectedSite 4.0 features as collection members (XML Schema: <a href="http://inspire.ec.europa.eu/schemas/ps/4.0/ProtectedSites.xsd">http://inspire.ec.europa.eu/schemas/ps/4.0/ProtectedSites.xsd</a>). When using the URI-type srsName "<a href="http://www.opengis.net/def/crs/EPSG/0/3035">http://www.opengis.net/def/crs/EPSG/0/3035</a>" the coordinates seem to be interpreted (by GDAL?) in order (easting, northing), while the official axis order (according to the EPSG-registry) is (northing, easting). If we change the srsName to the URN-type format "urn:ogc:def:crs:EPSG::3035" in the GML file, the import seems to use the correct coordinate order.</div><div><br></div><div>To comply with the INSPIRE requirements, we have to use the URI format srsNames, but this is likely to cause a lot of confusion for the QGIS & GDAL users of the data if the coordinates are interpreted in the wrong order.</div><div><br></div><div>I'm fully aware of the massively confusing lat/lon (x/y) coordinate order interpretation misalignment between the geographers and the (GIS) software implementors, but was not aware that this issues also shows it's ugly head for other CRSes than CRS 84/EPSG:4326.  </div><div><br></div><div>Question 1: Is this an intentional feature or a bug?</div><div><br></div><div>Question 2: Is it possible to force GDAL from the QGIS UI to interpret the coordinate order of these GML files in the official order?</div><div><div><br></div><div>I have sample GML files, but they are rather big, so I'm not posting them to the list.</div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Ilkka Rinne<br>Founder, <span style="font-size:small">Head of Customer Experience and Interoperability</span>, Spatineo Oy<br>Email: <a href="mailto:ilkka.rinne@spatineo.com" target="_blank">ilkka.rinne@spatineo.com</a><br>Skype: ilkka.o.rinne, phone: +358 50 523 8974<br>Office: Kellosilta 2 D, FI-00520 Helsinki, Finland<br><a href="http://www.spatineo.com" target="_blank">www.spatineo.com</a>, <a href="http://twitter.com/#!/spatineo" target="_blank">twitter.com/#!/spatineo</a><br>Google+ <a href="https://google.com/+Spatineo" target="_blank">google.com/+Spatineo</a><br><a href="http://www.linkedin.com/company/spatineo-inc" target="_blank">www.linkedin.com/company/spatineo-inc</a></div></div></div></div></div></div></div></div>
</div></div>