[gdal-dev] Inifitine recursion in ogr.py

2012-11-13 Thread CABO
Hi! I am using GDAL 1.9.2 x64, Python 3.3 x64 and Windows 7 and I have a problem with infinite recursion in ogr.py. My initial call is: feature = ogr.Feature(layer.GetLayerDefn()) and the call stack: __init__ Python\lib\site-packages\osgeo\ogr.py __getattr__ Python\lib\site-pack

[gdal-dev] "reboxing," or 3D regridding

2012-11-13 Thread Tom Roche
summary: I'd appreciate advice regarding tools and methods for transforming values from an unprojected global 3D spatial grid to a projected 3D grid with different horizontal and vertical resolution, or pointers to other resources to consult. details: I have output from a global atmospheric mode

Re: [gdal-dev] No Spatial Reference System from UTM Ozi .map file

2012-11-13 Thread Nik Sands
Thanks very much for looking into this. I've filed the bug at https://trac.osgeo.org/gdal/ticket/4894 On 13/11/2012, at 10:02 PM, Jean-Claude Repetto wrote: > Le 13/11/2012 01:03, Nik Sands a écrit : >> Thanks for the replies so far. Unfortunately, adding a 3rd calibration >> point to the

Re: [gdal-dev] Create overview tiff from a set of tiff files

2012-11-13 Thread Even Rouault
Selon Billy Newman : > I have a set f tiff files at different zoom levels/resolutions > > 0.tif (2048x1024) > 1.tif (4096x2048) > 2.tif (8192x4096) > > I would like to create one tif that is 8192x4096 but have 2 overviews > that are the 0.tif and 1.tif. Is there a GDAL command that I can give > m

[gdal-dev] Create overview tiff from a set of tiff files

2012-11-13 Thread Billy Newman
I have a set f tiff files at different zoom levels/resolutions 0.tif (2048x1024) 1.tif (4096x2048) 2.tif (8192x4096) I would like to create one tif that is 8192x4096 but have 2 overviews that are the 0.tif and 1.tif. Is there a GDAL command that I can give multiple tiffs to create one tiff with

[gdal-dev] SQLite Driver and non-spatial tables

2012-11-13 Thread Kyle Shannon
I have a Spatialite enabled SQLite file with both spatial and non-spatial tables. Since my database has a table called geometry_columns, all non-spatial tables are not loaded as layers. If I don't have a geometry_columns OGR attempts to load geometry from all the tables, but still loads n

Re: [gdal-dev] Best way to mosaic and compress lots of tiff Black/white?

2012-11-13 Thread jr . morreale
Hi, You could start by merging all your tiff in a VRT then do gdal_translate -of Gtiff -co SPARSE_OK=TRUE -a_nodata 0 -co NBITS=1 -co "TILED=YES" -co "COMPRESS=CCITTFAX4" -co "INTERLEAVE=BAND" "example.vrt" "example.tif" Le 2012-11-13 17:14, Pietro Rossin a écrit : Hello all I have ~1000 ti

[gdal-dev] Use of GDALTransformerFunc

2012-11-13 Thread Gabriel Fusca
Hi, I´ m using Gdal 1.9 and trying to realize a polynomial transformation using GDALTransformerFunc. I wanna use GDALTransformerFuncto perform the transformation. The documentation says that the first argument (void *pTran

[gdal-dev] Best way to mosaic and compress lots of tiff Black/white?

2012-11-13 Thread Pietro Rossin
Hello all I have ~1000 tiff/tfw RGB but with only 0 or 255 color value in all bands (black/white). I want to mosaic them in a single image to be used in qgis and other gis software. Which is the best way to do this? And to compress the resulting image? May be Tiff?? Single band?? Another problem i

Re: [gdal-dev] No Spatial Reference System from UTM Ozi .map file

2012-11-13 Thread Jean-Claude Repetto
Le 13/11/2012 01:03, Nik Sands a écrit : Thanks for the replies so far. Unfortunately, adding a 3rd calibration point to the .map file has not helped. Of course I'm assuming that the added calibration point is valid (eg, I tried the one suggested below, which looks like it should be OK). Do