[gdal-dev] Re: Problem resampling with gdal_warp

2009-04-17 Thread Jukka Rahkonen
darrepac pascal.darre at laposte.net writes: HEllo, I have a 45GB BIGTIFF file at 1m/pixel With gdal_warp I am trying to resample it to 2m/pixel. The process start but block at 0%. I have changed the lanczos resampling algo to cubic in order to go faster but the status, after more than

[gdal-dev] Re: export mdb in shp

2009-04-17 Thread Paolo Corti
On Fri, Apr 17, 2009 at 9:43 AM, Marco Puppin puppin...@gmail.com wrote: Hey Paolo, oh yeah, your trik works!!! Perfectly, also the incriminated shape has been exported in all his geometries and data. Thanks so much, that was so easy, now i learned something.. and if you write ogr2ogr -f

Re: [gdal-dev] Problems building 1.6.0 with Xerces 2.7 on Solaris 10 / Sparc (1.5.x work)

2009-04-17 Thread Peter J Halls
Thanks for this suggestion, Peter. Not really seeing how 1.5.0 could build in such circumstances yet 1.6.0 fail, I checked XercescVersion.hpp - which contains #define XERCES_VERSION_MAJOR 2 #define XERCES_VERSION_MINOR 7 #define XERCES_VERSION_REVISION 0 Next, in order to be absolutely

Re: [gdal-dev] Problems building 1.6.0 with Xerces 2.7 on Solaris 10 / Sparc (1.5.x work)

2009-04-17 Thread Peter J Halls
Peter et al, I have now tracked down one of the undefined's to a change in the sources between 1.5.0 and 1.6.0 - gmlreader.cpp: (working in 1.6.0 ...) diff gmlreader.cpp /usr/postel/gdal-1.5.0/ogr/ogrsf_frmts/gml/gmlreader.cpp 2c2 * $Id: gmlreader.cpp 15773 2008-11-20 20:17:16Z rouault $

Re: [gdal-dev] Problems building 1.6.0 with Xerces 2.7 on Solaris 10 / Sparc (1.5.x work)

2009-04-17 Thread Peter J Halls
Got it: the problem proved to be libtool! I've successfully built a working version of GDAL 1.6.0 by adding the '--without-libtool' to configure and tested this version using ogr2ogr to translate a gml file to ESRI Shapefile format. Fascinating, as libtool itself is unchanged between 1.5.x and

Re: [gdal-dev] satellite image processing in Python

2009-04-17 Thread Lucena, Ivan
Hi there, The problem that reported is gone. I just need to update from trunk and rebuild the python binder with swig. Scott is right, you can get around that problem by running your script image by image. In my case I was running the script on a cgi-bin environment, querying the same pixel

Re: [Gdal-dev] rgb2pct is creating grey image

2009-04-17 Thread Frank Warmerdam
darrepac wrote: Hello, I was willing to transform a 24bits RGB Geotiff into a 8bits palette and so found that RGB2PCT was the tool to use. Unfortunately, it creates me a grey image with 2 colors in the palette...I have tried with the options -n 256 but I got the same result. Any clue? Pascal,

RE: [gdal-dev] Problems building 1.6.0 with Xerces 2.7 on Solaris 10 / Sparc (1.5.x work)

2009-04-17 Thread Rushforth, Peter
Peter, That rings a bell too. Very good work, though enough to drive you to distraction if your job is geo not IT! Good for you for posting your work. I suggested to sunfreeware.com that they might consider keeping a build of gdal available from their site, so as to mitigate issues like this.

Re: [gdal-dev] Get real and turf imaginary from complex float...

2009-04-17 Thread Derek Mueller
Thank you Frank, I think I should have said, how do I get both the real and imaginary numbers out as Float32, since ultimately I do want to calculate magnitude (as you might have guessed). Then I could read the 'real' and 'imaginary' numbers into IDL as 2 separate tiffs do do the calculation.

[gdal-dev] JPIPKAK in the sandbox

2009-04-17 Thread Norman Barker
Hi, I have put the JPIPKAK prototype code in http://svn.osgeo.org/gdal/sandbox/normanb/ and the original RFC is at http://trac.osgeo.org/gdal/wiki/rfc24_progressive_data_support I have pruned the formats in this sandbox since I had a lot of problems uploading to SVN. Comments appreciated.

Re: [gdal-dev] JPIPKAK in the sandbox

2009-04-17 Thread Even Rouault
Norman, I don't think the way you have created your sandbox is going to be efficient to track and review the changes. It appears you have done an *import* of a *modified* GDAL tree. I think it would have been better to do that in several steps : - delete the content of your sandbox in SVN -

RE: [gdal-dev] JPIPKAK in the sandbox

2009-04-17 Thread Norman Barker
Even, thanks, I will do this now. Norman -Original Message- From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Fri 4/17/2009 11:34 AM To: gdal-dev@lists.osgeo.org Cc: Norman Barker Subject: Re: [gdal-dev] JPIPKAK in the sandbox Norman, I don't think the way you have

RE: [gdal-dev] Geometry.Intersects and .Intersection

2009-04-17 Thread Henneke, Amanda M
I think I figured out why this wasn't working, I guess LinearRings aren't considered full-fledged geometry objects, so it only works if you add it to a polygon, then test for intersections. Thanks anyway... Amanda -Original Message- From: Henneke, Amanda M Sent: Thursday, April 16,

Re: [gdal-dev] Get real and turf imaginary from complex float...

2009-04-17 Thread Frank Warmerdam
Derek Mueller wrote: Thank you Frank, I think I should have said, how do I get both the real and imaginary numbers out as Float32, since ultimately I do want to calculate magnitude (as you might have guessed). Then I could read the 'real' and 'imaginary' numbers into IDL as 2 separate tiffs

[gdal-dev] gdalwarp differences between v1.5.2 and v1.4.4.0

2009-04-17 Thread Stephen Woodbridge
Hi all, I have a serious problem that you might be able to shed some light on. I have a landsat geotif (actually lots of them) and when I projection them on a systems with v1.5.2 and v1.4.4.0 I get very different results! The image sizes are different, the projection info is different, the

Re: [gdal-dev] gdalwarp differences between v1.5.2 and v1.4.4.0

2009-04-17 Thread Even Rouault
Stephen, Which version gives the right result ? I've checked that GDAL SVN trunk (1.7.0dev) gives the same result as the one you get with GDAL 1.5.2. It looks like EPSG:900913 definition was added in data/cubewerx_extra.wkt for GDAL 1.5.0. I've tested again with GDAL 1.4.4 and it doesn't even