[gdal-dev] count unique combination in 2 tifs

2012-08-08 Thread Giuseppe Amatulli
Hi, having 2 integer Tif file (Rast00 , Rast10) Rast00= 1,2,4,4,5,4,1,4,1,1,4,0 Rast10= 0,2,3,5,4,4,1,4,2,1,3,4 I need to exclude the no-data (0) and calculate unique combination in pairs and count the observations in order to obtain something like this? (2,2,1) (4,3,2) (4,5,1) (5,4,1) (4,4,2) (

[gdal-dev] Vaisala IRIS format driver

2012-08-08 Thread Roger Veciana i Rovira
Hello, I have almost finished a GDAL driver for the weather radar format IRIS, from the VAISALA company. The documentation about the IRIS system and format can be found here: http://www.vaisala.com/en/meteorology/products/weatherradars/Pages/IRIS.aspx I can submit the files with the X/MIT licence

Re: [gdal-dev] looking for GeoTIFF samples with RPC metadata

2012-08-08 Thread Jared Rubin
Frank, I was looking for a GeoTIFF file that would have internal RPC tags without relying up additional support files (.RPB and .IMD). I was referring to http://geotiff.maptools.org/rpc_prop.html If the above was just a proposed extension to the GeoTIFF 1.0 specification but did not become officia

[gdal-dev] Potential thrashing on Band #

2012-08-08 Thread Jay L.
List, I am receiving the "Potential thrashing on bans x of message doing some image manipulation using the python bindings. I am manually setting the cache to 1GB and calling band.FlushCache(). I am also reading the image at either the block size or multiples of the block size. What other tech

[gdal-dev] WMS description file from gdalinfo output

2012-08-08 Thread Luca Casagrande
Hello everybody, using gdalinfo I can get information about a layer from a WMS server. gdalinfo "WMS:http://localhost/cgi-bin/world/qgis_mapserv.fcgi"; -sd 2 I wonder if there's a way to use this output to create a description file for the WMS service without copying values by hand. Thx L. -

[gdal-dev] WFS driver does not do URL-encoding right

2012-08-08 Thread Jukka Rahkonen
Hi, It looks like it is not possible to use some special characters in filters with OGR WFS driver. This command works fine: http://188.64.1.61/cgi-bin/tinyows -sql "select * from municipalities where kunta_ni1='Helsinki'" However, the WFS request fails if I use fore example 'Saarijärvi' as an a