[gdal-dev] Unable to compile OCI driver

2011-02-07 Thread Alexandre Gacon
Hi all, I am trying to build GDAL/OGR with the OCI driver with Visual Studio 2005 and with the OCI coming from the version 11g version of ORACLE. I am stuck with errors during linking : the linker cannot find the symbols defined in the OCI headers. I have put all the libraries I have in the lib

[gdal-dev] Reprojecting with gdalwarp takes too much time

2011-02-07 Thread Emilio de Torres Fernández
Hello, I am developing an application that works as a kind of Google Maps for ships. Boats can't connect to internet so they have satellite images stored in a DB and a GPS. When the captain wants to see a part of the coast, he fixes a point on the map (or use the actual position of the boat) and

Re: [gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-07 Thread Maciej Sieczka
W dniu 05.02.2011 14:47, Hermann Peifer pisze: On 05/02/2011 13:12, Even Rouault wrote: I've just had a look, but not being neither Dutch nor a specialist of (stereographic) projections, I don't feel competent enough to do any action on it. Those tickets plus the reading of

[gdal-dev] Re: GDALAllRegister()

2011-02-07 Thread alejandra rodriguez
Hello, I am starting using GDAL, I have downloaded the libraries and I'm trying to use them in my code, but when I try with the GDALAllRegister() function an error appears. I only have written this code: #include iostream using namespace std; #include gdal_priv.h #include cpl_conv.h

Re: [gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-07 Thread Jan Hartmann
For the Dutch case: in 2005 the PROJ-definition for the Dutch national system (which uses Double Stereographic) was changed from stere to sterea. See the thread starting at: http://lists.osgeo.org/pipermail/gdal-dev/2005-November/007045.html. The thread refers to a bug ticket at

Re: [gdal-dev] Re: GDALAllRegister()

2011-02-07 Thread Jorge Arévalo
On Mon, Feb 7, 2011 at 12:18 PM, alejandra rodriguez alex...@gmail.com wrote: Hello, I am starting using GDAL, I have downloaded the libraries and I'm trying to use them in my code, but when I try with the GDALAllRegister() function an error appears. I only have written this code: #include

Re: [gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-07 Thread Peter J Halls
I've kept out of this debate so far - partly waiting until I had my copy of Snyder's 'Working Manual' (USGS Professional Paper 1395) in front of me. I've also got ESRI's 'Understanding Map Projections' by Kennedy and Kopp (my copy is dated 2000; ESRI Press) to hand. I had a hazy memory that

[gdal-dev] MSSQL2008 Driver and OGR/Python

2011-02-07 Thread geographika
Hi, When working with the SQL Server 2008 OGR driver I presume it is necessary to create the following metadata tables? geometry_columns spatial_ref_sys There appears to be no way to do this automatically in Python, but if I import a single dataset into the database it is created

Re: [gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-07 Thread Jan Hartmann
As far as the Dutch projection is concerned (EPSG:28992), Peter's summary is correct: it first projects the ellipsoid to the sphere and then projects the sphere stereographically to the plane. I don't know if that is the way PROJ4 computes the transformation, but I can garantee that using

Re: [gdal-dev] MSSQL2008 Driver and OGR/Python

2011-02-07 Thread Tamas Szekeres
2011/2/7 geographika geograph...@gmail.com Hi, When working with the SQL Server 2008 OGR driver I presume it is necessary to create the following metadata tables? geometry_columns spatial_ref_sys There appears to be no way to do this automatically in Python, but if I import a single

Re: [gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-07 Thread Frank Warmerdam
On 11-02-07 06:25 AM, Jan Hartmann wrote: Is there a place to put al the links on the stere-sterea subject together? In my experience, discussions about projection parameters tend to get fragmented, and even if a solution has been found, old errors tend to show up time and again. Sometimes, I

Re: [gdal-dev] Unable to compile OCI driver

2011-02-07 Thread Frank Warmerdam
On 11-02-07 04:08 AM, Alexandre Gacon wrote: Hi all, I am trying to build GDAL/OGR with the OCI driver with Visual Studio 2005 and with the OCI coming from the version 11g version of ORACLE. I am stuck with errors during linking : the linker cannot find the symbols defined in the OCI headers.

[gdal-dev] Read and Write ArcGIS Bynary GRID

2011-02-07 Thread Jorge Martin
Hello, Using GDAL library is posible to read and write ArcGIS binary GRID files? Best Regards, Jorge ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Read and Write ArcGIS Bynary GRID

2011-02-07 Thread Jorge Arévalo
On Mon, Feb 7, 2011 at 3:51 PM, Jorge Martin jorma...@gmail.com wrote: Hello,         Using GDAL library is posible to read and write ArcGIS binary GRID files? Best Regards, Jorge ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] Read and Write ArcGIS Bynary GRID

2011-02-07 Thread Frank Warmerdam
On 11-02-07 09:51 AM, Jorge Martin wrote: Hello, Using GDAL library is posible to read and write ArcGIS binary GRID files? Jorge, The support for this format is briefly described at: http://www.gdal.org/frmt_various.html#AIG It is read-only. At one time there was a grid writer

[gdal-dev] OGR Shapefile SQL with date in where clause

2011-02-07 Thread Nicolas Simon
Hello, I would like to extract feature from a shapefile layer based on a Date field. But I don't know how to format date value Here is a defect command ogr2ogr -f ESRI Shapefile extrait.shp fulldataset.shp -sql select * from fulldataset where

Re: [gdal-dev] Re: gdal_rasterize 1.8.0 options

2011-02-07 Thread Jan Hartmann
On 2011-02-07 15:45, Frank Warmerdam wrote: On 11-02-07 06:25 AM, Jan Hartmann wrote: Is there a place to put al the links on the stere-sterea subject together? In my experience, discussions about projection parameters tend to get fragmented, and even if a solution has been found, old

Re: [gdal-dev] OGR Shapefile SQL with date in where clause

2011-02-07 Thread Paolo Corti
On Mon, Feb 7, 2011 at 4:08 PM, Nicolas Simon nicolas.si...@spw.wallonie.be wrote: Hello,     I would like to extract feature from a shapefile layer based on a Date field.     But I don't know how to format date value     Here is a defect command ogr2ogr -f ESRI Shapefile

RE: [gdal-dev] OGR Shapefile SQL with date in where clause

2011-02-07 Thread Nicolas Simon
Paolo, I have no error on the command line... and an empty result in the destination file. I'm using GDAL 1.6.1, could it be the reason ? Thk Nicolas -Message d'origine- De : Paolo Corti [mailto:pco...@gmail.com] Envoyé : lundi 7 février 2011 16:26 À : Nicolas Simon Cc :

Re: [gdal-dev] Unable to compile OCI driver

2011-02-07 Thread Alexandre Gacon
Hi, I found the problem : my colleague send me a 64bits version of the OCI. When compiling a 32 bits version of GDAL, it logically fails. Regards, Alexandre On Mon, Feb 7, 2011 at 3:48 PM, Frank Warmerdam warmer...@pobox.com wrote: On 11-02-07 04:08 AM, Alexandre Gacon wrote: Hi all, I

Re: [gdal-dev] MSSQL2008 Driver and OGR/Python

2011-02-07 Thread Tamas Szekeres
I think the second one should also work, so this problem may however be fixed. Best regards, Tamas 2011/2/7 geographika geograph...@gmail.com Thanks Tamas for the quick reply. I've been trying a few more combinations, and I now have it working. In the geometry_columns table the first

Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-07 Thread Matt Wilkie
Perhaps try setting the environment variable GDAL_DRIVER_PATH to /usr/lib/gdal17plugins Ok, that finally did the trick. Thanks for your help. $ export GDAL_DRIVER_PATH=/usr/lib/gdal17plugins Is this normally set as part of the install? (e.g. should I report a packaging bug?) -- -matt

Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-07 Thread Frank Warmerdam
On 11-02-07 11:18 AM, Matt Wilkie wrote: Perhaps try setting the environment variable GDAL_DRIVER_PATH to /usr/lib/gdal17plugins Ok, that finally did the trick. Thanks for your help. $ export GDAL_DRIVER_PATH=/usr/lib/gdal17plugins Is this normally set as part of the install? (e.g. should I

Re: [gdal-dev] Read and Write ArcGIS Bynary GRID

2011-02-07 Thread Doug_Newcomb
Jorge, Hello, Using GDAL library is posible to read and write ArcGIS binary GRID files? I generally work with GRID files in GRASS. As mentioned before, gdal ( r.in.gdal in this case) imports the GRID layers fine. To export back to ArcGIS, I use the r.out.arc command,

Re: [gdal-dev] OGR Shapefile SQL with date in where clause

2011-02-07 Thread Even Rouault
Le lundi 07 février 2011 16:35:21, Nicolas Simon a écrit : Paolo, I have no error on the command line... and an empty result in the destination file. I'm using GDAL 1.6.1, could it be the reason ? Yes, you likely need to upgrade to latest version as there have been a number of fixes related

[gdal-dev] Get z-value of pixel from 3band raster using GDAL

2011-02-07 Thread Alen Huskic
Hi, i was wondering is it possible to get z-values from 3 band raster? I am using GDAL 1.7 c# bindings and I am unable to get z-values? any ideas? any1? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal_grid - very slow

2011-02-07 Thread Even Rouault
Le lundi 07 février 2011 19:57:28, Werner Reiche a écrit : I'm using gdal_grid to create a 1200x796 pixel out from an input data set of approximately 250,000 points. This takes about 90 minutes (30 minutes for each r/g/b band). This seems to be unreasonably slow. Any ideas on speeding it

[gdal-dev] Re: PHP bindings

2011-02-07 Thread Mike Leahy
Hi again, I recognize this perhaps isn't a popular topic. However, I thought I'd give the PHP bingings a try with the latest 1.8.0 release. It's somewhat promising to see that enabling the php bindings in the ./configure options and compiling will succesfully produce a php_gdal.so library.