Re: [gdal-dev] Heuristics to classify raster data ?

2014-03-08 Thread Vincent Mora
On 07/03/2014 19:49, Even Rouault wrote: Le jeudi 06 mars 2014 20:50:45, Joaquim Luis a écrit : Even, Did not get it all. You want a method that allows you to tell between a map and aerial/satellite image? Yes exactly I believe the k-means algorithm would produce quite good results on maps

Re: [gdal-dev] Heuristics to classify raster data ?

2014-03-08 Thread Even Rouault
Le samedi 08 mars 2014 10:02:09, Vincent Mora a écrit : Are maps better candidates for image compression than natural images ? Interesting idea ! For lossless compression methods such as deflate, yes maps will likely have a better compression ratio. Even -- Geospatial professional services

Re: [gdal-dev] Problem with results on two different versions of gdal_wrap

2014-03-08 Thread Even Rouault
This is the problem step: gdalwarp -rcs -ts 8800 6600 -s_srs EPSG:32662 -t_srs EPSG:4326 temp.tif target.tif gdalinfo -mm -stats target.tif is showing that the range of values in the image are dramatically different on the two servers! summary old: Band 1 Block=8800x1

Re: [gdal-dev] Problem with results on two different versions of gdal_wrap

2014-03-08 Thread Etienne Tourigny
Perhaps differences in the hdf driver between the two versions could explain differences in output. Try converting netcdf file to gtiff with gdal_translate (using one gdal version), then try gdalwarp from that common gtiff file. On Sat, Mar 8, 2014 at 7:22 AM, Even Rouault

[gdal-dev] Moving the poles

2014-03-08 Thread Laskaris
I am trying to do a crazy What if...? climate model experiment that involves changing the location of the poles. So, mind you, I am not merely trying to change the coordinate display and use a rotated pole grid. I am actually trying to locate the pole somewhere else (for instance, in Australia),