Le vendredi 16 mai 2014 21:21:14, Jesse McGraw a écrit : > Well, that explains that one. :) > > I'm sure it must be the same story for the other files, various unsupported > GML features. Is there any way to make ogr2ogr warn when it encounters > something it doesn't support versus silently creating blank geometry?
Not currently. That would not be that easy. I guess people would prefer investing time in implementing missing stuff than reporting non-implemented stuff ;-) > > Out of curiosity, is more robust GML/AIXM support something that's of > general interest? Is it widely used? Full AIXM support would likely need a dedicated driver. The support in the genric GML driver might not capture all the structure of AIXM (even if we consider that all the GML geometries would be supported) > > > > > On Fri, May 16, 2014 at 2:44 PM, Even Rouault > > <even.roua...@mines-paris.org>wrote: > > Le vendredi 16 mai 2014 20:18:22, Jesse McGraw a écrit : > > > GDAL gurus, > > > > > > I'm trying to use the AIXM files from the FAA (downloadable here: > > > https://nfdc.faa.gov/webContent/56DaySub/2014-05-29/aixm5.0.zip ) in > > > > QGIS > > > > > and I'm noticing that there are some that with no warnings or > > > complaints just don't produce a polygon. (ogrinfo says "POLYGON > > > EMPTY") > > > > > > Two examples are "P-56B DISTRICT OF COLUMBIA.xml" and "POINSETT MOA, > > > SC.xml" > > > > > > Is there some command line incantation that I'm missing? Or perhaps > > > this is a feature of GML/AIXM that isn't supported? I've read that > > > there is little or no GDAL support for curves/arcs though I'm unclear > > > as to the current status of that support. > > > > CircleByCenterPoint is not currently supported by the GML decoder. > > > > > Here's a snippet from the P-56B file: > > > <horizontalProjection> > > > > > > <Surface gml:id="Surface1" srsDimension="2" > > > > > > srsName="URN:OGC:DEF:CRS:OGC:1.3:CRS84"> > > > > > > <patches> > > > > > > <PolygonPatch> > > > > > > <exterior> > > > > > > <Ring> > > > > > > <curveMember> > > > > > > <Curve ns:id="Curve1"> > > > > > > <segments> > > > > > > <CircleByCenterPoint numArc="1"> > > > > > > <pointProperty> > > > > > > <Point ns:id="Point_1"> > > > > > > <pos>-77.066944 38.921389</pos> > > > </Point> > > > > > > </pointProperty> > > > > > > <radius uom="NM">0.4</radius> > > > > > > </CircleByCenterPoint> > > > > > > </segments> > > > > > > </Curve> > > > > > > </curveMember> > > > > > > </Ring> > > > > > > </exterior> > > > > > > </PolygonPatch> > > > > > > </patches> > > > > > > </Surface> > > > > > > </horizontalProjection> > > > > > > If I should be posting this somewhere else or filing a bug > > > report/feature request please let me know > > > > That could be worth one. > > > > > Thanks! > > > -Jesse McGraw > > > > -- > > Geospatial professional services > > http://even.rouault.free.fr/services.html -- Geospatial professional services http://even.rouault.free.fr/services.html _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev