[gdal-dev] Resulting geometry from OGRGeometry::difference somehow got simplified

Even Rouault even.rouault at spatialys.com
Thu Jan 18 06:44:32 PST 2018


On lundi 15 janvier 2018 16:49:57 CET mikeucfl wrote:
> Just to add some more information.. upon some further inspection it seems
> all the values are snapped to a grid. All my geometry is in a WGS84
> (EPSG:4326) projection, and the values are snapped to a 0.01 lat/long grid.
> I don't do anything to set a tolerance or anything for these values, or see
> where I could set these from the GDAL layer (as the driver I'm using wraps
> most of the functionality for the FGDB database using the ESRI FileGDB
> driver)

The FileGDB format using integer storage with a precision for coordinates. Perhaps this 
is a missconfiguration of this precision when you have created your FGDB database ?
I guess you would have the same issue if you just read or ogr2ogr the source layer 
without doing any processing on it.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180118/283eda9c/attachment.html>


More information about the gdal-dev mailing list