Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-14 Thread Peter J Halls
Eric, when you installed the Oracle Client, which options did you install? SQLPlus will install (and work) regardless of whether the OCI libraries are installed - this has given grief to many here who have not read the documentation prior to performing the install! The Oracle tool I have f

[gdal-dev] GDAL_PAM_ENABLED ....Yes for reading, No for writing?

2010-02-14 Thread Tim Osborn
It seems that when I set a GDAL_PAM_ENABLED environment variable to NO, it not only suppresses the creation of aux.xml file (what I desire), but it also suppresses the reading of aux files as in ds.getprojectionref() (not desired). Is there a way to only suppress the creation of aux.xml files but

[gdal-dev] Re: corrupt block on AIG dataset

2010-02-14 Thread ozak
Hi Even, that's exactly my problem...sometimes it works. Others it fails without any reason. I thought it had to do with the speed of connection between the linux server and the windows computer that holds the data, which was causing the problem, but I tried running it directly with FWTools on t

Re: [gdal-dev] Re: corrupt block on AIG dataset

2010-02-14 Thread Even Rouault
Omer, I've downloaded the dataset and run gdalinfo -checksum on it successfully (I'm using gdal-trunk - equivalent to 1.7 as far as AIG is concerned on 64bit Linux) Now I'm running your script (with a slight modification to use the dataset as mask too), and until here (takes quite a long time

[gdal-dev] Re: corrupt block on AIG dataset

2010-02-14 Thread ozak
Hi Even and community, here's the link to the dataset that causes the error: http://www.econ.brown.edu/students/Omer_Ozak_Munoz/Datasets/afgdist.zip Data I was using the following code which used another dataset to create a mask, but that's not the issue, so it could be simply deleted. I really

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-14 Thread Abhay
On Fri, Feb 12, 2010 at 11:32 PM, Eric Wolf wrote: > Thanks for the replies. Sorry I didn't give more details on the > environment. > > I am running on Windows, at the command line, both ogr2ogr and the python > script. > > Created an environment variable for ORACLE_SID=ORCL > > I double-checked

[gdal-dev] Re: corrupt block on AIG dataset

2010-02-14 Thread ozak
Hi Even, Thanks for your help. I did try it with that test file and it work perfectly. But I'm having issues with my files. I'll upload a link with one of my datasets (I have like 500, all over 2GB, and all getting the same issue) in a while. I have tried to process it on a MAC (using python 2.

[gdal-dev] GDAL plugins based on meteosatlib

2010-02-14 Thread Enrico Zini
Hello, Yesterday released msat-gdal[1] which is a set of GDAL plugins based on meteosatlib[2]. The development of msat-gdal came from taking meteosatlib (which I maintain for work) and making it more useful by writing gdal drivers for it. I did not explore the existing GDAL MSG and MSGN drivers,

Re: [gdal-dev] corrupt block on AIG dataset

2010-02-14 Thread Even Rouault
Ă–mer, Is it really a new problem ? Looking at the history of the driver and the error message, I've the feeling it is not a new one. You'd better open a Trac ticket and attach the dataset that causes the error. You could also check if you get the same issue with the dataset used in the GDAL au