[gdal-dev] GML without geometry export forward shapefile with null geometry

Even Rouault even.rouault at mines-paris.org
Sun Jul 10 17:19:36 EDT 2011


Le samedi 09 juillet 2011 21:04:25, aperi2007 a écrit :
> Frank,
> thx for response.
> 
> But unfortunately I have not well explained.
> 
> My GML has not one only class but instead it has many classes.
> Some classes has geometry and some other classes has not geometry.
> So I cannot set it manually to wkbnone because only some classes need to
> be translated to dbf only.
> 
> If you confirm that also this situation is compliant with the gdal/ogr
> rules and the driver could be able to generate a dbf-only file when meet
> a class without geometry and instead generate a shapefile when meet a
> class with geometry, I open a ticket and add some examples.

Andrea,

Yes, I've confirmed that the GML driver doesn't handle wkbNone layers in a 
optimal way. I've created http://trac.osgeo.org/gdal/ticket/4154 and commited 
the appropriate fixes.

Best regards,

Even

> 
> thx,
> Andrea.
> 


More information about the gdal-dev mailing list