-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GML not rendered correctly #2356
Comments
Confirmed fix! Thanks you this will make it possible to use it for aviation even more |
I have one more issue render incorrectly (check layer = Airspace ) the following feature identifier <aixm:Airspace gml:id="uuid.21a13c9f-a8ff-4fdd-9aaa-5dbfd91514b8"> Axis is inverted for this, seems the Circle by Center point doesn't honor also the axis order maybe is something similar to the aixm:ElevatedPoint? |
…:EPSG::4326, and compound curves made of a sequence of straight lines and ArcByCenterPoint in a <segments> (refs #2356)
…:EPSG::4326, and compound curves made of a sequence of straight lines and ArcByCenterPoint in a <segments> (refs #2356)
…:EPSG::4326, and compound curves made of a sequence of straight lines and ArcByCenterPoint in a <segments> (refs #2356)
Expected behavior and actual behavior.
*** Already reported in QGIS but they suggested this is really a GDAL thing to be investigated, sorry I don't have more technical skills to do it completely by myself ***
If I add the following attached file the GML should all be over the North Atlantic between USA and Europe, however when point features use the following root element aixm:ElevatedPoint (<aixm:AeronauticalGroundLight gml:id="uuid.9481f274-f05b-4c00-9017-eae75d33c45b">) it is not rendered correctly as opposed to if used aixm:Point (<aixm:DesignatedPoint gml:id="uuid.2fea81e6-023b-4069-b8cd-2ab96da27862">)
Steps to reproduce the problem.
I am using the following file loaded in QGIS
EA_AIP_DS_FULL_20170701.zip
I add the filed attached before and will select only the following layers as shown per the image
layers_for_test
You will notice the following view on the map canvas of QGIS
I will start with the following two point layers for review
I have concluded the following
-> render correctly (check layer = DesignatedPoint)
<aixm:Point srsName="urn:ogc:def:crs:EPSG::4326" gml:id="pBOR10">
gml:pos51.529284 -33.555661</gml:pos>
<aixm:horizontalAccuracy xsi:nil="true" nilReason="unknown"/>
</aixm:Point>
-> render incorrectly (check layer = AeronauticalGroundLight )
<aixm:ElevatedPoint srsName="urn:ogc:def:crs:EPSG::4326" gml:id="ID_343">
gml:pos55.36666666666667 -33.983333333333334</gml:pos>
</aixm:ElevatedPoint>
So why does QGIS/GDAL handles improperly the second case, is like it doesn't take into consideration the axis order for it which is lat,lon for EPSG:4326, I suppose because it is a specialization class from the aviation schema, but it is supposed to be inheriting properties from the GML, here is the definition for it which mentions "This is a specialization of the Point class and it inherits all attributes and associations of that class." which in turn the Point class "This is a specialization of the GM_Point class and it inherits all attributes and associations of that class."
All of this is supposed to be based on ISO 19107
http://www.aixm.aero/sites/aixm.aero/files/imce/AIXM511HTML/AIXM/Class_ElevatedPoint.html?menu=open
So to sum up the layer AeronauticalGroundLight has the axis reversed like it can't honor the axis order and it uses the AIXM:ElevatedPoint, the layer DesignatedPoint has the axis correct but uses AIXM:Point
Operating system
WINDOWS 10
GDAL version and provenance
Running against GDAL/OGR 3.1.0dev from QGIS
The text was updated successfully, but these errors were encountered: