Re: [gdal-dev] OGR Python API to Load Esri JSON

2019-10-23 Thread Nyall Dawson
On Thu, 24 Oct 2019 at 06:10, Even Rouault wrote: > > Hi Jeremy, > > > > Is there a OGR Python API to load Esri JSON into an OGR geometry object, > > much like CreateGeometryFromJson? > > If you update to latest master, yes: > https://github.com/OSGeo/gdal/commit/5dadb24e3b9a1364ad3792ca63cd931292

Re: [gdal-dev] OGR Python API to Load Esri JSON

2019-10-23 Thread Even Rouault
Hi Jeremy, > > Is there a OGR Python API to load Esri JSON into an OGR geometry object, > much like CreateGeometryFromJson? If you update to latest master, yes: https://github.com/OSGeo/gdal/commit/5dadb24e3b9a1364ad3792ca63cd9312925b8601 Even -- Spatialys - Geospatial professional services ht

[gdal-dev] OGR Python API to Load Esri JSON

2019-10-23 Thread Jeremy Palmer
Hi All, Is there a OGR Python API to load Esri JSON into an OGR geometry object, much like CreateGeometryFromJson? I’ve seen the arcgis2geojson library but wanted to avoid that dependency. Cheers, Jeremy ___ gdal-dev mailing list gdal-dev@lists.osgeo.or

Re: [gdal-dev] converting AAIGrid to SRTM

2019-10-23 Thread Even Rouault
> Question 1: > Is there a way to have it auto name the output file? I'd assume if it knows > what it's suppose to be named, there should be a flag to automatically name > it that. I can't find that, and need it to convert several thousand of > these files. Such an option doesn't exist, but it s

Re: [gdal-dev] Question on converting netCDF to GTiff

2019-10-23 Thread Stephen Woodbridge
On 10/23/2019 1:54 PM, Even Rouault wrote: On mercredi 23 octobre 2019 13:41:45 CEST Stephen Woodbridge wrote: Hi, I have a netCDF grid of Float32 values that I want to convert to GTiff with Int16 values. The min/max values will support this without scaling, but I'm not sure what will happen to

Re: [gdal-dev] Question on converting netCDF to GTiff

2019-10-23 Thread Even Rouault
On mercredi 23 octobre 2019 13:41:45 CEST Stephen Woodbridge wrote: > Hi, > > I have a netCDF grid of Float32 values that I want to convert to GTiff > with Int16 values. The min/max values will support this without scaling, > but I'm not sure what will happen to the NODATA value = > 9.969209968386

[gdal-dev] Question on converting netCDF to GTiff

2019-10-23 Thread Stephen Woodbridge
Hi, I have a netCDF grid of Float32 values that I want to convert to GTiff with Int16 values. The min/max values will support this without scaling, but I'm not sure what will happen to the NODATA value = 9.96920996838686905e+36. Ideally, I would like to set it to something like 32000 but not