[gdal-dev] Overflow in geojson values

Even Rouault even.rouault at mines-paris.org
Sun Aug 11 05:13:43 PDT 2013


Le jeudi 01 août 2013 19:36:00, Smith, Michael ERDC-RDE-CRREL-NH a écrit :
> I'm reading a geojson feed put out by the USGS
> (http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson)
> but the time/updated values are overflowing. Are there any settings to
> allow the data to come across as bigint or strings?

Hi Michael,

I've just upgraded the internal libjson-c to json-c 0.11 and changed the OGR 
GeoJSON drivers to report 64bit integer values as strings.

GDAL can now also be configured (Unix build) to build against external libjson-
c ( >= 0.11 is required)

Best regards,

Even

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list