Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Christopher Barker
Mateusz Loskot wrote: I don't think so. I presume Roger used custom --prefix and --pymoddir while configuring. If that's the case, then he could set --pmoddir to the regular python location. But if setting --prefix changes where the python stuff goes too, then that's an unfortunate limitati

Re: [gdal-dev] Minimalist Windows binaries (OGR)

2008-08-08 Thread Frank Warmerdam
Philippe Kruschitz wrote: Thanks Frank and Matt, I'll have a look at it. Regarding the .prj-file generation, starting with what version does GDAL do it? The newer FWTools have it, but the 1.5.0 version (at least the one included in those "minimalist binaries") doesn't. Philippe, I'm afra

[gdal-dev] Re: The world is flipped redux

2008-08-08 Thread Roger André
My apologies to Matt, the flip_raster.py does flip something, as when I compare the images in OpenEV, I can see that they are reversed. But when I compare their corner coords with gdalinfo, they appear identical. $ gdalinfo test.tif Corner Coordinates: Upper Left ( -71.360, -23.500) Low

Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Mateusz Loskot
Christopher Barker wrote: Christopher Barker wrote: What is /export? I've seen that before. I meant, I HAVEN'T seen that before. Anyone, what I'm trying to figure out is if there is something wrong with GDAL's install scripts, or if there is something odd about your system. Chris, I don

Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Roger André
No, no, there is nothing wrong with the install scripts. The reason it placed the stuff there is because I specified a --prefix=/export flag in my configure command. I installed a bunch of different things on my machine, and I have a large mounted disk at /export. Thanks for the follow-up though

Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Christopher Barker
Christopher Barker wrote: What is /export? I've seen that before. I meant, I HAVEN'T seen that before. Anyone, what I'm trying to figure out is if there is something wrong with GDAL's install scripts, or if there is something odd about your system. -Chris -- Christopher Barker, Ph.D. Oc

Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Christopher Barker
Roger André wrote: that shouldn't be required -- site-packages should be on your sys.path already. Is your python in /export/lib64/python2.3 ? Do you have more than one python? My Python is not in /export/lib64/python2.3. That's a useful trick, thanks. My python install appear

[gdal-dev] The world is flipped redux

2008-08-08 Thread Roger André
Ok, this is driving me nuts, I can't handle "South is up" anymore. I have NetCDF derived GMT grids which have a flipped y-axis. This makes for georeferencing that looks like this: Corner Coordinates: Upper Left ( -90.000, -90.000) Lower Left ( -90.000, 0.000) Upper Right ( 0

Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Roger André
Hi Chris, > that shouldn't be required -- site-packages should be on your sys.path > already. Is your python in /export/lib64/python2.3 ? Do you have more than > one python? My Python is not in /export/lib64/python2.3. (for some reason, saying that makes me laugh, but I digress) I also do no

Re: [gdal-dev] Maintainer Activities

2008-08-08 Thread Matt Wilkie
Thank you for your work Mateusz. It is much appreciated! cheers, matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax

Re: [gdal-dev] Maintainer Activities

2008-08-08 Thread Mateusz Loskot
Frank Warmerdam wrote: Folks, Mateusz has informed me that other commitments (school and MOSS4G) will make it impossible for him to spend any appreciable time on GDAL maintenance through to the end of his contract at the end of August. He will also not be available for a new contract for a wh

Re: [gdal-dev] Maintainer Activities

2008-08-08 Thread Tamas Szekeres
Bad news :-( 2008/8/8 Frank Warmerdam <[EMAIL PROTECTED]>: > Folks, > > Mateusz has informed me that other commitments (school and MOSS4G) will > make it impossible for him to spend any appreciable time on GDAL maintenance > through to the end of his contract at the end of August. He will also n

[gdal-dev] Maintainer Activities

2008-08-08 Thread Frank Warmerdam
Folks, Mateusz has informed me that other commitments (school and MOSS4G) will make it impossible for him to spend any appreciable time on GDAL maintenance through to the end of his contract at the end of August. He will also not be available for a new contract for a while after that. He will i

Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Christopher Barker
Roger André wrote: $ python Python 2.3.4 (#1, Dec 11 2007, 05:28:55) [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from osgeo import gdal Traceback (most recent call last): File "", line 1, in ? ImportError: No modu

Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Roger André
Thanks Mateusz, that did the trick, thanks. # find /export -name "libgdal.so" /export/lib/libgdal.so # export LD_LIBRARY_PATH=/export/lib # python Python 2.3.4 (#1, Dec 11 2007, 05:28:55) [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2 Type "help", "copyright", "credits" or "license" for more in

Re: [gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Mateusz Loskot
Roger André wrote: Hi everyone, I'm getting a new machine setup and have hit a snag with the GDAL installation. I've installed GDAL from source onto a CentOS box using the gdal-1.5.2.tar.gz file, and with the following parameters: $ sudo ./configure --prefix=/export --with-pg=/export/bin/pg_co

[gdal-dev] Problem importing osgeo module in Python

2008-08-08 Thread Roger André
Hi everyone, I'm getting a new machine setup and have hit a snag with the GDAL installation. I've installed GDAL from source onto a CentOS box using the gdal-1.5.2.tar.gz file, and with the following parameters: $ sudo ./configure --prefix=/export --with-pg=/export/bin/pg_config --with-python $

Re: [gdal-dev] osr transformto error

2008-08-08 Thread abhay menon
On Fri, Aug 8, 2008 at 9:00 PM, Michael ODonnell <[EMAIL PROTECTED]> wrote: > I am trying to run a simple script and the class transformto does not > appear to be working for me. I have used GDAL before for raster analysis, > but I have little experience with OSR. Does anyone have any ideas as to

[gdal-dev] osr transformto error

2008-08-08 Thread Michael ODonnell
I am trying to run a simple script and the class transformto does not appear to be working for me. I have used GDAL before for raster analysis, but I have little experience with OSR. Does anyone have any ideas as to why this is not working? I have also run a script I found online called test_tr

Re: [gdal-dev] GDAL support for rasters stored in E00

2008-08-08 Thread Frank Warmerdam
D wrote: Hi, I could not find any documentation from GDAL for ESRI ArcInfo Exchange File 'E00' (raster). I have tried using FW Tools, but it supports only the vector E00 format. Are there any plans or already an available functionality in GDAL for rasters in E00? Dejan, There are no pl

Re: [gdal-dev] [GDAL 1.5.1] How to build and run GDAL 1.5.1 on windows

2008-08-08 Thread Mateusz Loskot
Lucena, Ivan wrote: Friends, I would like to exchange my experience on the VS debugging part, if I may. [...] Ivan, Your notes are very helpful. Belongs to the Wiki :-) One note about environment variables, VS2003 doesn't have one entry for "Environment" on the Project Property Pages, VS200

Re: [gdal-dev] [GDAL 1.5.1] How to build and run GDAL 1.5.1 on windows

2008-08-08 Thread Lucena, Ivan
Friends, I would like to exchange my experience on the VS debugging part, if I may. If you load one of the "fake" VC projects from the GDAL source distribution, makegdal71.vcproj or makegdal80.vcproj, it is pretty easy to write in the Project Property Pages/Debugging what are your settings fo

Re: [gdal-dev] [GDAL 1.5.1] How to build and run GDAL 1.5.1 on windows

2008-08-08 Thread Mateusz Loskot
Cherif Oueslati wrote: Hello every body, I found a problem to run the GDAL 1.5.1 in a MS Visual Studio 2003 Environment, to test the implementation of a driver that i developed. The error appears when i would like to run the project and indicates that it is impossible to begin the debug because

Re: [Gdal-dev] GDAL OGR2OGR does not export Oracle Views

2008-08-08 Thread D
Hello Abhay, here is what I have also tried to get rid of the error message. > PS. OCIDescribeAny error occur when you create a entry in USER_SDO_GEOM_METADATA for the VIEW in use. I did insert the metadata afterwards, but did not help. Here is the insert statement INSERT INTO USER_SDO_GEOM

Re: [gdal-dev] [GDAL 1.5.1] How to build and run GDAL 1.5.1 on windows

2008-08-08 Thread Tamas Szekeres
Cherif, You have to create or use a host process which is loading and use the gdal15.dll. Probably you can utilize one of the existing applications like gdalinfo.exe or ogrinfo.exe have been compiled along with the gdal project. Best regards, Tamas 2008/8/8 Cherif Oueslati <[EMAIL PROTECTED]>:

[gdal-dev] [GDAL 1.5.1] How to build and run GDAL 1.5.1 on windows

2008-08-08 Thread Cherif Oueslati
Hello every body, I found a problem to run the GDAL 1.5.1 in a MS Visual Studio 2003 Environment, to test the implementation of a driver that i developed. The error appears when i would like to run the project and indicates that it is impossible to begin the debug because it's impossible to start

Re: [gdal-dev] Minimalist Windows binaries (OGR)

2008-08-08 Thread D
> Dear Philippe, > > you might try just to copy your PRJ file from an ESRI ArcGIS installation > (under \Program Files\ArcGIS\Coordinate Systems). However, I have seen > problems in ArcObjects when programatically calling a Projection ID that was > not hard-coded with ESRI SW or with work-around w

Re: [gdal-dev] Minimalist Windows binaries (OGR)

2008-08-08 Thread Philippe Kruschitz
Hi Dejan, Thanks for the explanation. I wasn't aware that the ESRI projections definitions were modified that often. As I'm working with only a couple of projections in this project, I'll write the PRJ files manually (and hope they don't change those definitions in a near future...) Regards

Re: [gdal-dev] Minimalist Windows binaries (OGR)

2008-08-08 Thread Philippe Kruschitz
Thanks Frank and Matt, I'll have a look at it. Regarding the .prj-file generation, starting with what version does GDAL do it? The newer FWTools have it, but the 1.5.0 version (at least the one included in those "minimalist binaries") doesn't. Thanks, Philippe _

[gdal-dev] GDAL support for rasters stored in E00

2008-08-08 Thread D
Hi, I could not find any documentation from GDAL for ESRI ArcInfo Exchange File 'E00' (raster). I have tried using FW Tools, but it supports only the vector E00 format. Are there any plans or already an available functionality in GDAL for rasters in E00? Thanks! Dejan __