[gdal-dev] OGR Grass driver error

2009-02-27 Thread godofredo contreras
Hi: I tried to use ogrinfo with the grass driver, this was the command I used: C:\dev\cpp\qgisrelease>ogrinfo C:/spearfish60/PERMANENT/vector/landcover/head and I got the following warnings: Warning 1: GRASS warning: Unable to open datum table file Warning 1: GRASS warning: Unable to open el

[gdal-dev] Re: gdal_retile.py -r mode ?

2009-02-27 Thread Frank Warmerdam
Christian Müller wrote: Thanks for your answer. Another question, does it make sense to support the GRA_Lanczos interpolation method which has been introduced after I finished gdal_retile.py I would do a cvs checkout and send you the python file and the man page as attachment. Christian, Yes

[gdal-dev] different results for vector and raster data reprojections

2009-02-27 Thread nimalika fernando
Hi, I have used ogr2ogr to assign projection information(SL99) to some vector data which does not contain any projection information. I used the same projection information to reproject a raster in UTM 44N to SL99.Both data sets contain data of same location. When I try to overlay the projecte

[gdal-dev] Re: gdal_retile.py -r mode ?

2009-02-27 Thread Christian Müller
Thanks for your answer. Another question, does it make sense to support the GRA_Lanczos interpolation method which has been introduced after I finished gdal_retile.py I would do a cvs checkout and send you the python file and the man page as attachment. christian Frank Warmerdam writes

Re: [gdal-dev] Re: gdal_retile.py -r mode ?

2009-02-27 Thread Frank Warmerdam
Christian Müller wrote: The utility uses the python method gdal.ReprojectImage(). As far as I see in http://www.gdal.org/gdalwarper_8h.html there is a new Constant GRA_Lanczos for an interpolation method which is not supported at the moment, but I see no constant for "mode" resampling. Per

[gdal-dev] Re: gdal_retile.py -r mode ?

2009-02-27 Thread Christian Müller
The utility uses the python method gdal.ReprojectImage(). As far as I see in http://www.gdal.org/gdalwarper_8h.html there is a new Constant GRA_Lanczos for an interpolation method which is not supported at the moment, but I see no constant for "mode" resampling. Perhaps we get a hint from

Re: [gdal-dev] ASCII Rasters and 'null' values in python-gdal

2009-02-27 Thread Frank Warmerdam
Oz Nahum wrote: Hi, Thanks for the answer. Ok, I admit the way I presented my first email is a bit confusing. But the problem is not with the 'null' values. Rather the problem is with the raster containing the no data values as -. This is a no data representation like you said. My problem

Re: [gdal-dev] Re: Failure to compile 1.6.0 with errors 'libgdal.so: undefined reference to `PMPI::Intracomm::current_op'

2009-02-27 Thread Frank Warmerdam
Steve Walker wrote: I was able to complete a successful build by including the following in my configure command: --with-hdf4=no --with-hdf5=no Which then of course leads to the follow-up: What's wrong with my hdf installs? I have the following packages installed: hdf4-tools hdf5-tools libhdf

[gdal-dev] Re: Failure to compile 1.6.0 with errors 'libgdal.so: undefined reference to `PMPI::Intracomm::current_op'

2009-02-27 Thread Steve Walker
I was able to complete a successful build by including the following in my configure command: --with-hdf4=no --with-hdf5=no Which then of course leads to the follow-up: What's wrong with my hdf installs? I have the following packages installed: hdf4-tools hdf5-tools libhdf4g libhdf4g-dev libhdf

[gdal-dev] create 25D MultiPolygon how to

2009-02-27 Thread legeochen
Hi All I try to create some multipolygons with OGR. After creating them, but when I want view them in arcscene, it just make arcscene crash! Then I tried osgviewer with ESRI Shapefile, I was warned: ESRIShape loader: .dbf file containe different record number that .shp file.

Re: [Gdal-dev] gdal_retile.py -r mode ?

2009-02-27 Thread acangi
Thanks for your answer. I'd be more interested in a "mode" resampling method for gdal_retile. Is it something you're thinking of ? Can it be reused from gdaladdo ? Christian Müller wrote: > > The error is correct. A look at the man page shows > > gdal_retile.py [-v] [-co NAME=VALUE]* [-of o

[gdal-dev] Re: gdal_retile.py -r mode ?

2009-02-27 Thread Christian Müller
The error is correct. A look at the man page shows gdal_retile.py [-v] [-co NAME=VALUE]* [-of out_format] [-ps pixelWidth pixelHeight] [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/ CInt16/CInt32/CFloat32/CFloat64}]' [ -tileIndex tileIndexNa

[Gdal-dev] gdal_retile.py -r mode ?

2009-02-27 Thread acangi
Hello, Trying to execute this command : gdal_retile.py -targetDir pyramid -levels 4 -v -pyramidOnly -s_srs top50r.prj -ps 4000 4000 -r mode -co "TILED=YES" -co "INTERLEAVE=PIXEL" -co "COMPRESS=LZW" -tileIndex pyramid -tileIndexField location *map.tif gives the error "Unknown resampling method

Re:Re: [gdal-dev] ASCII Rasters and 'null' values in python-gdal

2009-02-27 Thread Oz Nahum
Hi, Thanks for the answer. Ok, I admit the way I presented my first email is a bit confusing. But the problem is not with the 'null' values. Rather the problem is with the raster containing the no data values as -. This is a no data representation like you said. My problem is that GDAL is conve