RE: [gdal-dev] RE: CPLXMLNode, no GetChilds()'like method ?

2008-10-17 Thread Aurélien Kamel
Frank, Actually I modified my code, now I drop all the nodes that starts with ? or ! at the beginning of my file so that I only have the main node (svg in my case) before parsing the buffer with CPLParseXMLString. Maybe not the best way to do the job but it works. Thanks for your help, Cheers,

Re: [gdal-dev] visual leak detector support

2008-10-17 Thread Lucena, Ivan
Hi Norman, I think that Mateusz would be the person to answer it better and I am not doing much use of MSVC this days, but I remember seen a message from VLD coming up at the end of the execution, on the output window, even using those makefile projects (makgdal71.vcproj). Basically all the

RE: [gdal-dev] visual leak detector support

2008-10-17 Thread Norman Barker
Cc'd the list Thanks Ivan! Any comments on how to enable this from the command line so that when I run gdalinfo in debug I can see if I am leaking! Thanks. -Original Message- From: Lucena, Ivan [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2008 8:38 AM To: Norman Barker;

Re: [gdal-dev] Problem with image overview creation in GTiff files

2008-10-17 Thread Frank Warmerdam
Ozy Sjahputera wrote: I am trying to create image overviews for a GTiff file using GDALDataset::BuildOverviews. I keep getting various errors such as: ERROR 1: TIFFSetField:VISUAL.tif: Cannot modify tag Compression while writing ... writing ERROR 1: TIFFSetField:VISUAL.tif: Cannot modify

[gdal-dev] nodata value assigned via script

2008-10-17 Thread Roger André
Hi, I'm getting raster data written by different people who can't seem to use the same nodata values. I'm reading the data files via the Python API to GDAL, and doing various calculations on the data values, then writing new rasters with the results of my calculations. Is there a nodata value

Re: [gdal-dev] nodata value assigned via script

2008-10-17 Thread Matt Wilkie
Wow, a python question I actually know the answer too! :) From python you can use band.SetNoDataValue( float(null_value) ). For this in context see this tiny utility: http://maphew.googlecode.com/svn/trunk/gis/gdal_extras/bin/gdalsetnull.py And the doc on this function:

Re: [gdal-dev] OGR: GetField methods problem

2008-10-17 Thread Anton Patrushev
Hi there, It is strange, but I have this problem again with the fresh installation of Ubuntu 8.04. I took GDAL 1.5.1 .deb packages from here http://les-ejk.cz/ubuntu/dists/hardy/multiverse/binary-i386/ and they look OK. But when I'm trying to compile my stuff, I get