[gdal-dev] Upgrade to EPSG 7.1 files

2009-06-16 Thread Frank Warmerdam
Folks, Based on work Paul Ramsey did upgrading libgeotiff to EPSG 7.1, I have also upgraded the gdal/data/*.csv and proj/nad/epsg files to the same level in gdal and proj trunks. Best regards, -- ---+-- I set the clouds in m

Re: [gdal-dev] How to delete shapefile

2009-06-16 Thread Frank Warmerdam
Clay, Bruce wrote: I am trying to delete a temporary shapefile after running a process with the following code. ... The TestCapability always returns FALSE. If I call DeleteLayer anyway I get an unsupported operation error messege. I am using GDAL 1.5.3 with Visual Studio 2005. Is there an

Re: [gdal-dev] resampling techniques in GDAL

2009-06-16 Thread Seth Price
The reason that what you are suggesting isn't done is mainly speed and simplicity. GDAL makes the assumption that you are warping from one resolution to another, similar, resolution. The current scheme works well for that. However, I believe that Cubic Spline and Lanczos resampling both do what yo

Re: [gdal-dev] resampling techniques in GDAL

2009-06-16 Thread Frank Warmerdam
Gregory, Matthew wrote: Hi all, A recent post got me thinking about resampling techniques. I've posted a graphic to help illustrate my question. http://www.fsl.orst.edu/lemma/sandbox/resample.png In the graphic, assume the input image is the 3x3 grid with black outlines and blue and yell

[gdal-dev] resampling techniques in GDAL

2009-06-16 Thread Gregory, Matthew
Hi all, A recent post got me thinking about resampling techniques. I've posted a graphic to help illustrate my question. http://www.fsl.orst.edu/lemma/sandbox/resample.png In the graphic, assume the input image is the 3x3 grid with black outlines and blue and yellow dot centers. Assume the

Re: [gdal-dev] Build OGR with Oracle support

2009-06-16 Thread Mateusz Loskot
Normand Savard wrote: > I checked in the configure.in script and everything seems alright. > Could someone gives me some hints about why the library is not found? > [...] > > /home/fgs/fgs-dev/built/instantclient_11_1... norm: > -L/home/fgs/fgs-dev/built/instantclient_11_1 -lclntsh > norm: -I/home

[gdal-dev] How to delete shapefile

2009-06-16 Thread Clay, Bruce
I am trying to delete a temporary shapefile after running a process with the following code. int GdalWrapper::DeleteDataset(const char *datasetName) { int status = -1; if (datasetName != NULL) { OGRDataSource *dataSrc = OpenDatasetFile(datasetName);

[gdal-dev] Build OGR with Oracle support

2009-06-16 Thread Normand Savard
I'm trying to build OGR with Oracle 10g or 11.1 support through FGS. The problem is that the library is not found. If you look to the configure output below I made the CPPFLAGS AND LDFLAGS to be printed out. They both point out to the correct location. I downloaded the basic and sdk client

Re: [gdal-dev] Writing KML with GDAL Python bindings

2009-06-16 Thread Armin Burger
Even thanks a lot for the help. Works perfectly. armin On 15/06/2009 22:07, Even Rouault wrote: Yes, try something like : ogr.GetDriverByName('KML').CreateDataSource('out.kml', options = ['NameField=foo'] ) Le Monday 15 June 2009 21:52:45 Armin Burger, vous avez écrit : Hi everybody I wo

Re: [gdal-dev] cpl_port.h CPL_LSB macro setting

2009-06-16 Thread Frank Warmerdam
Rubin, Jared wrote: Is there a test in configure script to set the CPL_LSB macro automatically? I am building on both big and little endian and I am not seeing the macro being set CPL_IS_LSB is not being set to either 0 or 1 thanks Jared, The AC_C_BIGENDIAN step in configure sets the WORDS_

RE: [gdal-dev] Resampling.

2009-06-16 Thread Belaid MOA
That's exactly what I was looking for! Thank you very ... very much Frank. With best regards. ~Belaid ... > Date: Tue, 16 Jun 2009 09:43:35 -0400 > From: warmer...@pobox.com > To: belaid_...@hotmail.com > CC: gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] Resampling. > > Belaid MOA wrote: >

[gdal-dev] cpl_port.h CPL_LSB macro setting

2009-06-16 Thread Rubin, Jared
Is there a test in configure script to set the CPL_LSB macro automatically? I am building on both big and little endian and I am not seeing the macro being set CPL_IS_LSB is not being set to either 0 or 1 thanks ___ gdal-dev mailing list gdal-dev@lists.

Re: [gdal-dev] Can we copy RPC from NITF file to a newly created NITF file ?

2009-06-16 Thread Francesco Paolo Lovergine
On Wed, Jun 10, 2009 at 04:04:10PM -0500, Ozy Sjahputera wrote: > I have an NITF image in UTM projection, but its RPC appears to be > intended for LatLon. I tried to perform orthorectification on this image > using orthoigen from OSSIM, but the result was weird (panchromatic and > multispectr

Re: [gdal-dev] Distributed processing

2009-06-16 Thread Fabrice LALLAURET - PSV
John Donovan a écrit : Hi, We currently have a stand-alone app that converts, mosaicks and scales GDAL-supported images to a proprietary format. It works well, but we handle tens of thousands of source files at a time, which can slow the process down to a crawl. So we're investigating parallelis

Re: [gdal-dev] Resampling.

2009-06-16 Thread Frank Warmerdam
Belaid MOA wrote: Hi everyone, I am new to GDAL and I need some help on how to do re-sampling (programmatically). I have 30mx30m Geotiff images and I'd like to resample them into 25mx25m Geotiff images. Any help on this is very appreciated. Belaid, One approach to do this would be a com