Re: [gdal-dev] C++ interface to lists of coordinate systems in data dir ?

2010-09-08 Thread Lucena, Ivan
Hi Alexandre, Yes, that is an interesting idea. You can actually read the CSV files as OGR data source: % ogrinfo gcs.csv -al | more INFO: Open of `gcs.csv' using driver `CSV' successful. Layer name: gcs Geometry: None Feature Count: 438 Layer SRS WKT: (unknown) COORD_REF_SYS_CODE:

Re: [gdal-dev] GDAL driver for rasdaman: license acceptance

2010-08-17 Thread Lucena, Ivan
Peter, It is all going smoothly so far. I will keep you posted. Regards, Ivan Peter Baumann wrote: Dear GDAL maintainers, this is to confirm that we (Constantin Jucovschi, as cc'ed and me) agree to the GDAL commiter guidelines as set forth in

Re: [gdal-dev] How does GDAL's NetCDF driver determine the spatial reference system

2010-08-09 Thread Lucena, Ivan
James, Could do file a ticked and upload a sample file on http://trac.osgeo.org/gdal/ ? Regards, Ivan James Hiebert wrote: Hi All, I'm trying to use GDAL (version 1.7.2 on Gentoo built with hdf5 and netcdf support) to read NetCDF files, but I'm a little unclear on how the NetCDF driver

Re: [gdal-dev] gdal_translate: PLS-00201: identifier must be declared

2010-07-24 Thread Lucena, Ivan
Sebastian, It should work. You are talking about the create-option INSERT, right? You would need to add double quotes around the whole options entry therefore you would need to use single quotes around the RDT name. I just found a wrong example at [gdal.org/frmt_georaster.html] and I am going

Re: [gdal-dev] Oracle GeoRaster loading problem

2010-07-08 Thread Lucena, Ivan
Yes, if you see on ticket #3673 there is an example of sdo_geor.addNodata() with arrays of value ranges as nodata but you can do it with just one value as nodata too. That fix will be available shortly on GDAL trunk. Pasta Bolognese wrote: ooo... is there any workaround ? Even any query to

Re: [gdal-dev] How to represent multi-dimensional array

2010-06-17 Thread Lucena, Ivan
Chris, Christopher Barker wrote: Hi folks, I have a dataset that is a 4-dimensional array of values: time,x,y,z We're currently using netcdf to store it, which is well suited to this kind of data. However, we also need to get it into a GIS (Arc in this case), and I'm trying to find a good

Re: [gdal-dev] Compiling GDAL --with-oci

2010-06-04 Thread Lucena, Ivan
Iván Sánchez Ortega wrote: El 04/06/2010 10:46, Mateusz Loskot escribió: open config.log and locate bits related to Oracle OCI configure:25057: checking for Oracle OCI headers in /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/ configure:25100: g++ -c

Re: [gdal-dev] Compiling GDAL --with-oci

2010-06-04 Thread Lucena, Ivan
Smith, Michael D ERDC-CRREL-NH wrote: Ivan, Oracle express edition does support SDO_GEOMETRY. Mike Hi Mike, Thanks for your correction. I always thought that the express edition was not capable to support Simple Feature therefore it would not be useful with GDAL/OGR/OCI. That would

Re: [gdal-dev] Re: Java wrapper of GDAL/OGR application

2010-05-04 Thread Lucena, Ivan
Even, Miguel, Even Rouault wrote: Miguel, I took the liberty to CC the gdal-dev mailing list as other may have the same questions/interests or ideas to help you. The migration of applications to Java was mainly an easy way to test the GDAL/OGR Java API, but not an aim per se. So I've no

Re: [gdal-dev] how to submit modified drivers for GDAL

2010-04-29 Thread Lucena, Ivan
Hi Shawn/Adam, My suggestion is that you should file a ticket for each problem you solved describing the reasons for the changes maid. You should attach the changed source code to the ticket and some sample data too (or the path to where I get download it from) so that we can test your

Re: [gdal-dev] how to use docs?

2010-04-27 Thread Lucena, Ivan
Hi Randy, The GDAL docs that you created with make docs is basically a copy of what you have on gdal.org in html format generated by Doxygen. You can also run make man and make install-man if that helps. Regards, Ivan Randy wrote: Hi list, This maybe a bad question. I make docs and make

Re: [gdal-dev] how to use docs?

2010-04-27 Thread Lucena, Ivan
Randy, Randy wrote: Hi Ivan, The GDAL docs that you created with make docs is basically a copy of what you have on gdal.org in html format generated by Doxygen. You can also run make man and make install-man if that helps. Then how do I use this docs file,can I use it in Devhelp or man

Re: [gdal-dev] GDAL/OGR 1.7.2RC2 Release Candidate

2010-04-22 Thread Lucena, Ivan
Lucena, Ivan wrote: Frank, I am trying the RC2 on OpenSUSE and I found a problem. Here is my configure command: ./configure \ --with-libtool \ --with-libtiff=internal \ --with-geotiff=internal \ --with-jpeg=internal \ --with-gif=internal After having

Re: [gdal-dev] install gdal documentation

2010-04-17 Thread Lucena, Ivan
William McCoy wrote: I have recently built and installed gdal 1.7.1 on a couple of my Linux computers. I have noticed that 'make' and 'make install' don't seem to build or install any documentation as man pages or anything else. I don't see any target in the makefile that I should use to

Re: [gdal-dev] Re: rgdal source code

2010-03-31 Thread Lucena, Ivan
Hi Jason/Roger, I started that thread based on the wrong impression that I would be the one in change of helping some folks to get up and running with R and the RGDAL library. I thought that I would need to compile RGDAL against the GDAL just like I usually do for GDAL/Python and GDAL/Java in

Re: [gdal-dev] reprojection HDF / GCP extraction

2009-08-10 Thread Lucena, Ivan
Becker, Please take a look at RFC#4: http://trac.osgeo.org/gdal/wiki/rfc4_geolocate Regards, Ivan ---Original Message--- From: Becker, Thomas t...@dmu.dk Subject: [gdal-dev] reprojection HDF / GCP extraction Sent: Aug 10 '09 07:00 Hi all, I have a couple NOAA-15

Re: [gdal-dev] non-fully conform output of gdalwarp

2009-05-29 Thread Lucena, Ivan
If you use DATUM[GRS_1980 instead of DATUM[D_GRS_1980 it might work. See http://spatialreference.org for more info. ---Original Message--- From: Matthieu Rigal ri...@rapideye.de Subject: [gdal-dev] non-fully conform output of gdalwarp Sent: May 29 '09 05:11 Hi guys,

Re: [gdal-dev] how to access Image palette in HDF files

2009-05-07 Thread Lucena, Ivan
Hi JoSn, If you can't get it from GetColorTable() I believe that the problem is that the HDF driver doesn't recognize the internal schema of the files you have. If it was one of the well know formats it should work, like if you download MODIS Vegetation product for example. So I can foresee

Re: [gdal-dev] Converting big Intergraph cit files

2009-05-06 Thread Lucena, Ivan
Andreas, If that issue is related to http://trac.osgeo.org/gdal/ticket/1959 check the version you are using. Ivan ---Original Message--- From: Andreas Neumann a.neum...@carto.net Subject: [gdal-dev] Converting big Intergraph cit files Sent: May 06 '09 01:58 Hi all, I

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] translate many ascii file in a folder to another folder

2009-04-08 Thread Lucena, Ivan
What OS are you in? What output format is that, JDEM, USGSDEM, an elevation model in any other raster format? Check the for help (type for help on Windows, man for on UNIX). Example in Windows with Geotiff output: C:\ for %I in (E:\asci\*.asc) do gdal_translate -of gtiff %I

[gdal-dev] VRT Pixel Functions in Python (?)

2009-04-01 Thread Lucena, Ivan
Hi there, Would be possible to write a 'VRT Pixel Function' [1] in Python? Probably not. But wouldn't that be nice? Ivan [1] - http://www.gdal.org/gdal_vrttut.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] python-gdal ComputStatistics return just two values

2009-03-27 Thread Lucena, Ivan
, the python API is consistant with it. So it is expected that bd1.SetStatistics(bd2.ComputeBandStats()) will fail as it is provided with 2 values instead of the expected 4. Best regards, Even Le Friday 27 March 2009 19:02:14 Lucena, Ivan, vous avez écrit : Hi there, I believe

Re: [gdal-dev] python-gdal ComputStatistics return just two values

2009-03-27 Thread Lucena, Ivan
Actually... GetStatistics dows the same as ComputeRasterStatistcs() That is confusing... ---Original Message--- From: Lucena, Ivan ivan.luc...@pmldnet.com Subject: Re: [gdal-dev] python-gdal ComputStatistics return just two values Sent: Mar 27 '09 19:05 Even, I see

Re: [gdal-dev] Bigtiff question

2009-03-06 Thread Lucena, Ivan
Python script anyway. Thanks a lot. My best regards, Ivan ---Original Message--- From: Frank Warmerdam warmer...@pobox.com Subject: Re: [gdal-dev] Bigtiff question Sent: Mar 05 '09 17:07 Lucena, Ivan wrote: Yes, that runs a lot of seek's to writes just few bytes here

Re: [gdal-dev] GDAL in Netbeans IDE

2009-01-31 Thread Lucena, Ivan
Mateusz. I don't mind at all. That is great. Ivan ---Original Message--- From: Mateusz Loskot mate...@loskot.net Subject: Re: [gdal-dev] GDAL in Netbeans IDE Sent: Jan 31 '09 19:17 Iva, I've taken the liberty to post your notes on the Wiki:

[gdal-dev] GDAL JAVA problem

2009-01-12 Thread Lucena, Ivan
Hi there, I was able to run the gdalinfo.java demo source both in Linux and Windows by setting up a NetBeans Java App. I just needed to add gdal.jar to the projects libraries and add the gdaljni.dll folder path to the VM Options like that: -Djava.library.path=E:\path. Now I am trying to

Re: [gdal-dev] GDAL JAVA problem

2009-01-12 Thread Lucena, Ivan
Never mind. I just copied osrjni.dll, gdalsontjni.dll, gdaljni.dll and ogrjni.dll to ../Java/jre/bin and it worked just fine. There must be another way to keep those dll in another place. :( Regards, Ivan ---Original Message--- From: Lucena, Ivan ivan.luc...@pmldnet.com

Re: [gdal-dev] HDF4 reading MISR Level 3 with incorrect dimension

2008-12-29 Thread Lucena, Ivan
...@pobox.com Subject: Re: [gdal-dev] HDF4 reading MISR Level 3 with incorrect dimension Sent: Dec 29 '08 18:08 Lucena, Ivan wrote: Hi there, I don't know if that is a case for a ticket or if I missed the latest discussion on HDF dimensions. I've got this HDF4 file, a MISR

Re: [gdal-dev] Debugging on Windows Using Visual Studio

2008-12-20 Thread Lucena, Ivan
Hi Joel, If you use of the .vcproj files provided by the GDAL distribution you should be able to create breakpoints and run in debugging mode. It is not perfect, some times I have problems with that too. I like the way that Netbeans C++ handle makefiles on Linux better than VS but I never

Re: [gdal-dev] Intructions to build GDAL for Java

2008-12-11 Thread Lucena, Ivan
Hi Daniele, I guess some definitions previously contained on java.opt have been actually moved on NMAKE.opt in the main gdal folder. That was all I need to know. Grazie! {{{ compile: [mkdir] Created dir: C:\Dev\gdal\swig\java\build\classes [javac] Compiling 49 source files to

[gdal-dev] Intructions to build GDAL for Java

2008-12-10 Thread Lucena, Ivan
Hi there, I build the Java wrapper a couple of days ago following the instructions on [1] but now I need to help someone to build for Windows based on [2] but it looks like there was some changes that are not reflected on neither one of those instructions. For example, there is no more

Re: [gdal-dev] How do I select 3 of 5 bands for output?

2008-11-08 Thread Lucena, Ivan
, Ivan [1]: http://www.gdal.org/gdal_vrttut.html ---Original Message--- From: Stephen Woodbridge [EMAIL PROTECTED] Subject: Re: [gdal-dev] How do I select 3 of 5 bands for output? Sent: Nov 08 '08 03:36 Stephen Woodbridge wrote: Lucena, Ivan wrote: Hi Steve,   I have

Re: [gdal-dev] How do I select 3 of 5 bands for output?

2008-11-08 Thread Lucena, Ivan
thoughts on the cause(s) and workarounds? Thanks again for all the help. -Steve Lucena, Ivan wrote: Hi Steve, No, VRT files are not Geotiff, see [1], and they should not take more than a bunch of Kbytes. The problem is that in *our* gdal_translate command line *we* forgot

Re: [gdal-dev] How do I select 3 of 5 bands for output?

2008-11-07 Thread Lucena, Ivan
Hi Steve, I have a script that was processing MrSID files and need to convert it to support jp2 files also. It seems pretty straight forward except the jp2 files have bands R,G,B,IR and I need to chop these into GeoTif tiles with only R,G,B bands. The script was iterating over the

Re: [gdal-dev] Custom GDAL Driver with ArcGIS 9.3

2008-10-30 Thread Lucena, Ivan
Kile, I did the same thing years a go. I wrote a RDO then I it converted it to a GDAL 1.3 driver and latter I set it up as a GDAL plugin to be seem by ArcGIS 9.2. One thing that helped me a lot was to load everything in a VC2003 project and run ArcMAP in debug mode. But you probably know

Re: [gdal-dev] Installing test databases/servers online for the GDAL project

2008-10-28 Thread Lucena, Ivan
Tamas, Very good point! Another benefit of such an addition would be that the developers could track down and fix issues related to these drivers without having to wait for the component owner to take the required action. Most of the developers (like me) cannot afford spending such

Re: [gdal-dev] visual leak detector support

2008-10-17 Thread Lucena, Ivan
Hi Norman, I think that Mateusz would be the person to answer it better and I am not doing much use of MSVC this days, but I remember seen a message from VLD coming up at the end of the execution, on the output window, even using those makefile projects (makgdal71.vcproj). Basically all the

Re: [gdal-dev] GDAL block cache question

2008-10-10 Thread Lucena, Ivan
Chris, I doubt it -- at least not with raster data. A while back wx's vector drawing was pretty limited (no alpha support), but it now has a better drawing API, or you can use it with Agg or Cairo, or?? There may well be other reasons to choose QT, but I doubt they are specific to

Re: [gdal-dev] Fastest way to add the GeoTransform to a raster file with Python

2008-09-18 Thread Lucena, Ivan
Frank, ---Original Message--- From: Frank Warmerdam [EMAIL PROTECTED] Subject: Re: [gdal-dev] Fastest way to add the GeoTransform to a raster file with Python Sent: Sep 18 '08 16:09 On 9/18/08, Matthieu Rigal [EMAIL PROTECTED] wrote: Hi all,   Since the method of

Re: [Gdal-dev] Algorithm Development

2008-09-08 Thread Lucena, Ivan
Frank, Fodder, There is a nice open source implementation of interpolation on TerraLib.org [1] that takes any vector and produces a raster based on nearest neighbor, average nearest neighbor, distance weigh average nearest neighbor, box interpolation and average box interpolation. Best

Re: [gdal-dev] OCI driver not adding data to Oracle Table

2008-09-03 Thread Lucena, Ivan
Bruce, I have seem this error message before and I think is it exactly what you though but just for troubleshooting, could you try to re-create the columns as NUMERIC without (precision,scale) and run it again. That will point out where the error occurs. Maybe. Ivan Clay, Bruce wrote: I

Re: [gdal-dev] Reading image

2008-09-02 Thread Lucena, Ivan
Silvia, As far as I know, the GDAL API doesn't have a function to read direct from a multi-band to 3D matrix. The GDALRasterBand::RasterIO()[1] and GDALRasterBand::ReadBlock()[2] reads from one band at the time. The GDALDataset::RasterIO()[3] does support multi-band reading but I believe

Re: [gdal-dev] Injecting Projection information in CreateCopy

2008-08-29 Thread Lucena, Ivan
I would take a look on how gdal_translate process the -a_srs parameter: http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/gdal_translate.cpp#L311 Christiaan Janssen wrote: My problem with this is that I'm not actually trying to reproject the data. The best example of what I'm doing is

Re: [gdal-dev] Support for reading GDAL datasets in compressed archives (.gz and .zip)

2008-08-27 Thread Lucena, Ivan
---Original Message--- From: Even Rouault [EMAIL PROTECTED] Subject: Re: [gdal-dev] Support for reading GDAL datasets in compressed archives (.gz and .zip) Sent: Aug 27 '08 18:34 Le Wednesday 27 August 2008 15:58:54 Lucena, Ivan, vous avez écrit : Rouault, Nice job

Re: [gdal-dev] GRIB2 file produces None on opening

2008-08-15 Thread Lucena, Ivan
Just a comment: There are some grib files generated by SPRING that are not compatible with the GRIB driver. It might be a version issue GRIB1, GRIB2 or something. Ex.: C:\Data\SpringDB\SP\SPaulogdalinfo I000355.grb ERROR 4: `I000355.grb' not recognised as a supported file format. gdalinfo

Re: [gdal-dev] orginfo and prj files

2008-08-14 Thread Lucena, Ivan
Frank, The shapefile driver does run morphFromESRI() and we can confirm that takes place because the D_ has been stripped from the datum name. However, morphFromESRI() will *not* add in authority nodes or otherwise fill in missing information. It just changes a few known patterns from

[gdal-dev] Limit on CPLSerializeXMLTree?

2008-08-11 Thread Lucena, Ivan
Hi all, Is there any limitation on the size of the string produced by CPLSerializeXMLTree()? Best regards, Ivan ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev