[gdal-dev] Converting big Intergraph cit files

2009-05-05 Thread Andreas Neumann
Hi all, I am trying to convert Intergraph cit files. While it works perfectly fine for medium-size cit files it fails for bigger cit files. I get the following error message: u...@server:/home/www/mapserverdata/lk_alt$ gdal_translate -of GTiff -a_srs EPSG:21781 -a_nodata 0 -co 'TFW=YES' -co 'COMP

[gdal-dev] When does the env var GDAL_DATA get processed?

2009-05-05 Thread brettwiesner
Hi, I have an application that programatically sets the GDAL_DATA environment variable. However, when I do this I get errors complaining that it can't find GDAL_DATA. When I use an application like process explorer to see the environment of the process I see that I am correctly setting the e

Re: [gdal-dev] Does the OGR PotsGis driver support by default UTF-8 ?

2009-05-05 Thread Even Rouault
Matthieu, You didn't include the full stack trace that you got, so it's just a guess. But it looks like more a problem with your use of non ASCII characters in Python than an issue in GDAL itself and its support of UTF-8 in the PostgreSQL driver. My knowledge of Python is rather weak, but I'd a

Re: [gdal-dev] Overwriting Georeferencing Information of a GeoTIFF file

2009-05-05 Thread Andrew Brooks
> > Actually, I don't want to modify the rasters at all, just the > georeferencing information. The libtiff utilities now include a utility called applygeo which can change the georeferencing tags without rewriting the raster data. Andrew ___ gdal-dev

Re: [gdal-dev] Overwriting Georeferencing Information of a GeoTIFF file

2009-05-05 Thread Even Rouault
You can use the -a_srs and/or -a_ullr options (depending if you're interested in the SRS or the georeferenced coordinates) of gdal_translate to produce a new GeoTIFF with overriden information. Le Tuesday 05 May 2009 13:53:25 Andreas Neumann, vous avez écrit : > Hi GDAL users/developers, > > Is

[gdal-dev] Re: 1.6.1 release planned for May 8th

2009-05-05 Thread Howard Butler
On Apr 24, 2009, at 3:20 PM, Howard Butler wrote: All, I would like to step forward as release manager for the 1.6.1 release, and I would like to produce the 1.6.1RC1 on May 8th. Consider this your notice to complete any bugs or backports for the 1.6 branch. http://trac.osgeo.org/gdal

Re: [gdal-dev] Overwriting Georeferencing Information of a GeoTIFF file

2009-05-05 Thread Andreas Neumann
Thanks Nikos and Benoît! The solution with the BASELINE profile seems to work perfect. Haven't thought about that! Thank you for your quick help! Andreas On Tue, May 5, 2009 2:31 pm, Benoît Andrieu wrote: > Hi, > > Some times ago, I tried to update the georeferencing information by code > but

Re: [gdal-dev] Overwriting Georeferencing Information of a GeoTIFF file

2009-05-05 Thread Nikos Alexandris
Andreas N: > Hi GDAL users/developers, > Is it possible to overwrite georeferencing information of an existing > geotiff [*] file? Not sure that it will do the job but it might be interesting to have a look at the utilities listgeo, geotifcp (part of geotiff-bin under linux). Kind regards, Nikos

Re: [gdal-dev] Overwriting Georeferencing Information of a GeoTIFF file

2009-05-05 Thread Benoît Andrieu
Hi, Some times ago, I tried to update the georeferencing information by code but it didn't seem to work. My solution was to first destroy the informations by using gdal_translate with -co PROFILE=BASELINE Then to use the new Tiff with a prj file to have a GTiff PROFILE=[GDALGeoTIFF/GeoTIFF/BAS

[gdal-dev] Overwriting Georeferencing Information of a GeoTIFF file

2009-05-05 Thread Andreas Neumann
Hi GDAL users/developers, Is it possible to overwrite georeferencing information of an existing geotiff file? For some reasons, some of the files I received have georeferencing information in Millimeters instead of Meters. All of my data uses meters as units. I thought that maybe it is possible t

[gdal-dev] Does the OGR PotsGis driver support by default UTF-8 ?

2009-05-05 Thread Matthieu Rigal
Hi all, I have a problem with using the ExecuteSQL command of ogr within Python... My version of GDAL/OGR is 1.5.1 I first open the connexion normally, without problem, with my UTF-8 Database. I sent some insert commands with ascii values without problem, there are added and taken into account.