[gdal-dev] S57 field definition incorrect

ogr user mrxonx at hotmail.com
Tue Jan 13 23:35:44 EST 2009


I am using OGR to load S57 format files and it appears that at least for
some fields the field type is incorrectly returned by OGR. Fields of
type "integer list" (denoted L in s57attributes.csv,  enumeration list)
are identified as string type by OGRField::GetType(). The problem with
that is that OGRFeature::GetFieldAsIntegerList then refuses to return a
list of integer values for these fields (returns NULL).

Is this a bug, feature or am I doing something incorrectly?

Thanks all!



More information about the gdal-dev mailing list