Re: [gdal-dev] ArcGIS RestAPI JSON Polygons

2014-06-23 Thread Jeremy Palmer
> Might be. I just pointed out that OGR GeoJSON driver is dedicated to GeoJSON > specifically, not any JSON-encoded format of geometry. But doesn't the OGR GeoJSON driver have specific Esri JSON code? http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/geojson/ogresrijsonreader.cpp Al

Re: [gdal-dev] ArcGIS RestAPI JSON Polygons

2014-06-23 Thread Mateusz Łoskot
On 23 June 2014 19:46, Jeremy Palmer wrote: > http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300n100 >> >> Can you? >> There is no geometry of multipolygon specified. >> AFAIU, for multipolygon ESRI REST produces a hybrid: a Polygon that >> contains detached rings >> (

Re: [gdal-dev] ArcGIS RestAPI JSON Polygons

2014-06-23 Thread Jeremy Palmer
http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300n100 > > Can you? > There is no geometry of multipolygon specified. > AFAIU, for multipolygon ESRI REST produces a hybrid: a Polygon that > contains detached rings > (or rings not in other rings, so they are not holes) a

[gdal-dev] Reproject raster map in buffer on-the-fly

2014-06-23 Thread Oliver Eichler
Hi I would like to read a region of a raster map and re-project the resulting image on-the-fly before it is displayed. I had a look at the GDAL Warp API tutorial. And I stumbled across GDALWarpRegionToBuffer() while reading the header files. I had a look into the setup functions and found quit

Re: [gdal-dev] ArcGIS RestAPI JSON Polygons

2014-06-23 Thread Jukka Rahkonen
Mateusz Łoskot loskot.net> writes: > > On 23 June 2014 03:32, Jeremy Palmer linz.govt.nz> wrote: > > > > Is this a bug in the data from the service, or just the way the Esri defines geometry objects (and therefor an > OGR bug)? > > AFAIU, this is not a bug in OGR, but OGR GeoJSON drivers works

Re: [gdal-dev] ArcGIS RestAPI JSON Polygons

2014-06-23 Thread Mateusz Łoskot
On 23 June 2014 03:32, Jeremy Palmer wrote: > > Is this a bug in the data from the service, or just the way the Esri defines > geometry objects (and therefor an OGR bug)? AFAIU, this is not a bug in OGR, but OGR GeoJSON drivers works with GeoJSON format whereas JSON produced by ESRI is a differe

Re: [gdal-dev] Geotiff nodata handling

2014-06-23 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > This is a rather tricky area indeed. > > A few facts : > - The concept of nodata value in GDAL is something per band, which leave > multi-band processing of nodata values subject to interpretation. > - The TIFFTAG_GDAL_NODATA extension tag in TIFF only ho