-
-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
4 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters