Re: [gdal-dev] [SAC] Creation of pages on Trac wiki disabled

2016-05-11 Thread Even Rouault
Le jeudi 12 mai 2016 00:37:37, Sandro Santilli a écrit : > On Thu, May 12, 2016 at 12:31:43AM +0200, Even Rouault wrote: > > Wiki page creation disabled again because of another spam storm I don't > > manage to block. > > > > If you look at https://trac.osgeo.org/gdal/timeline , I've left 2 exampl

Re: [gdal-dev] [SAC] Creation of pages on Trac wiki disabled

2016-05-11 Thread Sandro Santilli
On Thu, May 12, 2016 at 12:31:43AM +0200, Even Rouault wrote: > Wiki page creation disabled again because of another spam storm I don't > manage > to block. > > If you look at https://trac.osgeo.org/gdal/timeline , I've left 2 example of > spam pages. Both contain the 'pogo' word that I've expl

Re: [gdal-dev] Creation of pages on Trac wiki disabled

2016-05-11 Thread Even Rouault
Wiki page creation disabled again because of another spam storm I don't manage to block. If you look at https://trac.osgeo.org/gdal/timeline , I've left 2 example of spam pages. Both contain the 'pogo' word that I've explicitly listed in https://trac.osgeo.org/gdal/wiki/BadContent . I don't und

Re: [gdal-dev] Failure to fetch scale_factor and other on a subdataset of a L2 SST nc file (from OceanColor)

2016-05-11 Thread Even Rouault
Le mercredi 11 mai 2016 23:56:32, Joaquim Luis a écrit : > Hi, > > In GMT we have this chunk of code to read Band metadata > > if (GDALGetRasterScale(hBand, &bSuccess) != 1 || > GDALGetRasterOffset(hBand, &bSuccess) != 0) { > Ctrl->band_field_names[nBand].ScaleOffset[0] = GDALGetRasterScale

[gdal-dev] Failure to fetch scale_factor and other on a subdataset of a L2 SST nc file (from OceanColor)

2016-05-11 Thread Joaquim Luis
Hi, In GMT we have this chunk of code to read Band metadata if (GDALGetRasterScale(hBand, &bSuccess) != 1 || GDALGetRasterOffset(hBand, &bSuccess) != 0) { Ctrl->band_field_names[nBand].ScaleOffset[0] = GDALGetRasterScale (hBand, &bSuccess); Ctrl->band_field_names[nBand].ScaleOffset[1] = GD

Re: [gdal-dev] Why does the difference between two overlapping rasters exist after projection in GDAL?

2016-05-11 Thread Even Rouault
Didier, > > So if I reproject the initial vesuvius_radius_20KM.tif and > vesuvius_radius_50KM.tif rasters, but by fixing the cell size (to 100 > meters for example) and by fixing the extents, two rasters would now need > to have exactly the same values in their cells on the central part (where > t

Re: [gdal-dev] ESRI GeoJSON

2016-05-11 Thread Even Rouault
> Is there any support > for writing into ESRI GeoJSON? No. Read-only. > > Thanks, Martin > > [1] http://gdal.org/drv_geojson.html -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-dev mailing list gdal-dev@lists.osgeo

Re: [gdal-dev] GDALRasterBand::RasterIO c++ vs BandReadAsArray python performance

2016-05-11 Thread Sean Gillies
Hi Gareth, How are you initializing your dataTmp array? In my Rasterio project, I've found that numpy.empty() is the fastest array allocator and use it whenever possible. I also use the GDAL C API and Cython (in case you're interested: https://github.com/mapbox/rasterio/blob/c80b568903ef7b902ce625

[gdal-dev] GDALRasterBand::RasterIO c++ vs BandReadAsArray python performance

2016-05-11 Thread Gareth James Jones [gjj12]
I'm currently writing optimisations for a raster viewer program which uses gdal as it's base. It's currently written purely in python, and has some major speed issues which cause problems when we are reading many files at a time. After making some optimisations in the python, and getting quite a

[gdal-dev] Why does the difference between two overlapping rasters exist after projection in GDAL?

2016-05-11 Thread Didier Bernard
Hello to GDAL community. I have one issue, and I would be very grateful if somebody could give me any kind of help. I have two rasters of the area around Mount Vesuvius

Re: [gdal-dev] ESRI GeoJSON

2016-05-11 Thread Mateusz Loskot
On 11 May 2016 at 12:18, Martin Landa wrote: > > even the manual page [1] doesn't mention support of ESRI GeoJSON, Shouldn't it read ESRI JSON, but not ESRI GeoJSON? Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ gdal-dev mailing list

[gdal-dev] ESRI GeoJSON

2016-05-11 Thread Martin Landa
Hi, even the manual page [1] doesn't mention support of ESRI GeoJSON, the driver seems to support this dialect for reading. Is there any support for writing into ESRI GeoJSON? Thanks, Martin [1] http://gdal.org/drv_geojson.html -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismento