[gdal-dev] Overflow in geojson values

2013-08-01 Thread Smith, Michael ERDC-RDE-CRREL-NH
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? For example: {"type":"Feature","properties":{"mag"

Re: [gdal-dev] Overflow in geojson values

2013-08-01 Thread Kyle Shannon
On Thu, Aug 1, 2013 at 11:36 AM, Smith, Michael ERDC-RDE-CRREL-NH wrote: > 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 a

Re: [gdal-dev] Overflow in geojson values

2013-08-01 Thread Smith, Michael ERDC-RDE-CRREL-NH
Unfortunately, that¹s after the data has been read and overflowed. The time should be 1375291903959. Updated should be 1375295733317. Mike On 8/1/13 2:21 PM, "Kyle Shannon" wrote: >On Thu, Aug 1, 2013 at 11:36 AM, Smith, Michael ERDC-RDE-CRREL-NH > wrote: >> I'm reading a geojson feed put out

Re: [gdal-dev] Overflow in geojson values

2013-08-01 Thread Dmitriy Baryshnikov
Hi, GDAL GeoJSON driver use modified and outdated json-c. It seem to me that this is the bug and ticket in track needed. Best regards, Dmitriy 01.08.2013 22:31, Smith, Michael ERDC-RDE-CRREL-NH пишет: Unfortunately, that¹s after the data has been read and overflowed. The time should be

Re: [gdal-dev] Overflow in geojson values

2013-08-01 Thread Even Rouault
Selon Dmitriy Baryshnikov : > Hi, > > GDAL GeoJSON driver use modified and outdated json-c. It seem to me that > this is the bug and ticket in track needed. It would be a 2 step work. I indeed see that newer json-c supports int64, so a first step would be to make the GeoJSON driver uses the new j

Re: [gdal-dev] Overflow in geojson values

2013-08-01 Thread Frank Warmerdam
On Thu, Aug 1, 2013 at 1:32 PM, Even Rouault wrote: > Selon Dmitriy Baryshnikov : > > > Hi, > > > > GDAL GeoJSON driver use modified and outdated json-c. It seem to me that > > this is the bug and ticket in track needed. > > It would be a 2 step work. I indeed see that newer json-c supports int64,

Re: [gdal-dev] Overflow in geojson values

2013-08-01 Thread Dmitriy Baryshnikov
I really like the RFC31! Also it'll be great to have a chocie to build GDAL with internal and external json-c, as libtif, libjpeg, etc. are. And drop patched version of json-c. Best regards, Dmitriy 02.08.2013 0:36, Frank Warmerdam пишет: On Thu, Aug 1, 2013 at 1:32 PM, Even Rouault

Re: [gdal-dev] Overflow in geojson values

2013-08-11 Thread Even Rouault
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