[gdal-dev] Regarding ogr Layer Attribute properties corruption

Even Rouault even.rouault at mines-paris.org
Fri Apr 26 11:21:22 PDT 2013


Le vendredi 26 avril 2013 07:08:59, Abhinav a écrit :
> Hi All,
> 
> When I write the OGR layer and read that back, layer attributes properties
> are getting lost like width, precision .These properties are coming zero(0)
> for every attribute. I am trying to write ogrlayer to sqlite file. Is this
> the issue with sqlite driver or gdal itself?

Indeed, the OGR SQLite driver doesn't implement support for width and 
precision currently. This could be potentially implemented, but SQLite has a 
weak typing system as explained in http://www.sqlite.org/datatype3.html


> 
> Regards
> Abhinav
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Regarding-ogr-Layer-Attribute-properti
> es-corruption-tp5049795.html Sent from the GDAL - Dev mailing list archive
> at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list