Gdal Bug? was: Re: [gdal-dev] JP2MRSID Issues

2008-11-10 Thread Stephen Woodbridge
As a follow up on this issue, if I remove the -of VRT on the gdal_translate it will create a geotif and then ALL the tiles are extracted without any errors. So this looks like a bug in gdalwarp or in the JP2MRSID driver since the jp2 can be converted to a geotif without errors and gdalwarp will

Re: [gdal-dev] resampling artifacts

2008-11-10 Thread Brent Fraser
Even, It is fixed in v1.6 Beta. Thanks! Brent Even Rouault wrote: Brent, Have you tried with GDAL 1.6.0 beta ? Much work has been done in that area and those artifacts should have disappeared and people. See http://trac.osgeo.org/gdal/ticket/2627 Le Friday 07 November 2008 00:08:51 Bren

Re: [gdal-dev] gdal_rasterize usage problems

2008-11-10 Thread Roger André
Andrew, I believe your syntax is incorrect. Assuming that you are trying to exclude water from your image, it should be something like this: % gdal_rasterize -b 1 -b 2 -b 3 -i -burn 0 -burn 0 -burn 0 -l gshhs_land gshhs_land.shp warped.tif Have a look at http://www.gdal.org/gdal_rasterize.html f

Re: [gdal-dev] converting KML to CSV

2008-11-10 Thread Frank Warmerdam
Markus Neteler wrote: On Tue, May 20, 2008 at 3:25 PM, Frank Warmerdam <[EMAIL PROTECTED]> wrote: Tim Michelsen wrote: Hello, I'd like to convert KML back to CSV. When I issue ogr2ogr -f CSV out.csv in.kml there are no coordinates written to the CSV file. Only the placemark names are written.

RE: [gdal-dev] OGR DeleteFeature throws memory exception

2008-11-10 Thread Brad Grinstead
Frank, I appreciate the response, but I finally found out that certain OGR-specific variables were not being handled correctly, which caused a latent memory leak leading to the problem I reported. I think those have all been tracked down now. Brad G. -Original Message- From: Frank W

[gdal-dev] gdal_rasterize usage problems

2008-11-10 Thread Andrew Brooks
Hello I'm trying to overlay coastlines on an image using gdal_rasterize but can't get it to do anything at all. % gdal_rasterize gshhs_land.shp warped.tif Usage: gdal_rasterize [-b band] [-i] [-burn value] | [-a attribute_name] | [-3d] [-l layername]* [-where expression] [-sql selec

[gdal-dev] JP2MRSID Issues

2008-11-10 Thread Stephen Woodbridge
Hello, I posted this buried in another thread and thought it should be reposted in its own thread. A short history, I have a lot of USDA county composite DOQQs that have been assembled into JPEG2000 files that are about 500MB each. I am trying to chop these back into DOQQ GeoTiffs. I have a s

Re: [gdal-dev] OGR DeleteFeature throws memory exception

2008-11-10 Thread Frank Warmerdam
Brad Grinstead wrote: I am wondering if someone has experienced a memory access violation when attempting to delete OGRFeatures. I am running the latest build off the trunk and have been able to find no information regarding this error. Brad, Can you confirm that you are operating using the C

Re: [gdal-dev] Is GDAL reentrant

2008-11-10 Thread Frank Warmerdam
Clay, Bruce wrote: I have a Microsoft application with multiple tabs / property pages. Each tab is controlled by a separate class. I have a separate instance of GDAL in each class. I also had an instance in a popup that I used to connect to the database. After the user logins and the popup

Re: [gdal-dev] JPEG2000 issues

2008-11-10 Thread Frank Warmerdam
Stephen Woodbridge wrote: Stephen Woodbridge wrote: Hi Frank, et al, I'm working with GDAL 1.5.3, released 2008/09/09 built with libjasper so I can process some DOQQ composites and chop them into smaller tiles. Below is a typical image but I get a bunch of errors in gdalinfo. The system has

[gdal-dev] problems building Perl swig

2008-11-10 Thread Kralidis,Tom [Ontario]
Using svn trunk on fc9: $ ./configure --with-png --with-libtiff=internal --with-geotiff=internal --with-jpeg --with-xerces --with-geos=no --with-pg=/usr/bin/pg_config --with-mysql=/usr/bin/mysql_config --with-sqlite --with-curl=/usr/bin/curl-config --with-python --with-expat --with-perl ... $ m