[gdal-dev] Update existing shape file

2008-07-31 Thread wow
Hi, I wanna set new field value to an existing shape file which has been opened with update access, but it doesn't work, my code like this: OGRFeature* pFeature = pLayer->GetFeature(2); int nIdx = pFeature->GetFieldIndex("Name"); pFeature->UnsetField(nIdx); pFeature->SetField( "Name"

[gdal-dev] Re: [GRASS-user] Using GIMPs Fuzzy Select tool on orthophotos (geotiff)

2008-07-31 Thread Jonathan Greenberg
Nikos: Have you checked out any of the new minirasterstrip features in starspan yet? It takes vector data (any format that OGR supports), extracts a window (user defined size) around the vector out of a set of rasters (anything that GDAL supports), compiles it into a single image, and ref

[gdal-dev] Tiled vs Stripped TIFs, how many overviews and why (wirh gdaladdo)?

2008-07-31 Thread Nikos Alexandris
There has been a lot of discussion lately about using gdal_translate/gdalwarp with or without the "-co TILED=YES" option, about overviews and more. How can I determine what is best for my 300 photos? I want faster loading and as less disk usage as possible... what everybody wants :-) 1. What is th

[gdal-dev] Using GIMPs Fuzzy Select tool on orthophotos (geotiff)

2008-07-31 Thread Nikos Alexandris
Apologies for cross-posting. Can someone tell me why I should NOT use GIMPs "Fuzzy Select" tool to select various "features" from an image (e.g. orthophoto), save selection in a new file, add geo-metadata from the original image [1] and continue my work in GRASS? It works so nice! Could a tool l

Re: [gdal-dev] How can I generate an empty geotiff based on the extent of the shape file?

2008-07-31 Thread Dane Springmeyer
Hi John, If you can't use use gdal_translate to flatten an existing raster you can try creating one from scratch using one of the supported language bindings. The python bindings work particularly well for this since you can hook into numpy. See: http://trac.osgeo.org/gdal/wiki/FAQRast

[gdal-dev] How can I generate an empty geotiff based on the extent of the shape file?

2008-07-31 Thread John Mitchell
The output for gdal_rasterize has to be an existing geotiff. If I don't have an existing geotiff for the associated area how can I generate an empty geotiff based on the extent of the shape file that I will be using as the source for gdal_rasterize? Thanks, -- John J. Mitchell _

[gdal-dev] gdaladdo and huge files

2008-07-31 Thread Rory O'Connor
Hello, gdaladdo is having issues with an ENVI file that is 45 GBytes big. I run the command: gdaladdo bigfile 2 4 8 16 32 64 128 256 512 1024 The following error message is produced: ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded Is gdaladdo supposed to work with files this big? BIG

[gdal-dev] Question about GDAL 1.4.5 release date

2008-07-31 Thread Daniele Romagnoli
Hi list, we are thinking about tagging a version of our ImageIO-Ext project (actually based on GDAL 1.4.4). In such a context I would like to know if a date for the release #1.4.5 has already been estimated. And what about GDAL 1.5.3? Thank you very much. Best Regards, Daniele Romagnoli --