Please sign in to comment.
Support GDAL 2.0 64bit integer fields
Now that http://trac.osgeo.org/gdal/wiki/rfc31_ogr_64 has been committed in GDAL trunk 2.0dev, OFTInteger64 can be return as a field type. So : - when reading OGR layer, support mapping OFTInteger64 to a new "Long" datatype - when reading PostGIS layer, map INT8 columns to "Long" datatype - in mapwfs, map "Long" to xs:long - in OGR output code, map "Long" to OFTInteger64, if GDAL 2.0, or OFTReal otherwise OGR_F_GetFID() in GDAL 2.0 returns a 64 bit integer. We just fix warnings by casting to int, but if a 64bit FID was really returned, we might have issues.
- Loading branch information
Showing with 30 additions and 7 deletions.