[gdal-dev] driver pages

2014-05-28 Thread Martin Landa
Hi, after RFC-46, the original location of OGR driver pages is broken, eg. http://www.gdal.org/ogr/drv_shapefile.html Would be nice to add redirection... Thanks, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa ___ gdal-dev mailing list

Re: [gdal-dev] driver pages

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 10:36:12, Martin Landa a écrit : Hi, after RFC-46, the original location of OGR driver pages is broken, eg. http://www.gdal.org/ogr/drv_shapefile.html Would be nice to add redirection... Thanks, Martin Yes, I agree. Anyone know how to do that ? I did a manual

Re: [gdal-dev] driver pages

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 10:47:13, Even Rouault a écrit : Le mercredi 28 mai 2014 10:36:12, Martin Landa a écrit : Hi, after RFC-46, the original location of OGR driver pages is broken, eg. http://www.gdal.org/ogr/drv_shapefile.html Would be nice to add redirection... Thanks,

Re: [gdal-dev] problems with merging ecw files

2014-05-28 Thread Jean-Claude Repetto
Le 27/05/2014 08:28, Chrishelring a écrit : I´m trying to merge about 40 ecw files into one, using gdal_merge.py. it seems to work (no error), but when I´m trying to open the file, it says, Unable to read header information: Cannot open file c:\temp\ortofoto2007\ortofoto2007.ecw. Hi, Does the

Re: [gdal-dev] driver pages

2014-05-28 Thread Martin Landa
Hi, 2014-05-28 13:01 GMT+02:00 Even Rouault even.roua...@mines-paris.org: ok, I finally figured that out by myself. It was just a matter of putting a .htaccess file at the root of gdal.org with the following content : RewriteEngine On Redirect permanent /ogr http://www.gdal.org thanks!

[gdal-dev] GDAL 1.11: SQLite tables

2014-05-28 Thread David Tran
Hi Is there a something similiar to tables=table1,table2 from pg for sqlite? pg: http://www.gdal.org/drv_pg_advanced.html sqlite: http://www.gdal.org/drv_sqlite.html thanks in advance. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] GDAL 1.11: SQLite tables

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 13:46:47, David Tran a écrit : Hi Is there a something similiar to tables=table1,table2 from pg for sqlite? No, that doesn't exist in the SQLite driver. Why would you need it : do you have performance problems when opening a sqlite DB with a lot of tables ? Even --

Re: [gdal-dev] GDAL 1.11: SQLite tables

2014-05-28 Thread Chaitanya kumar CH
David, This feature is not available in SQLite driver. It just avoids getting a long list of tables and views with potentially no spatial data. On Wed, May 28, 2014 at 5:16 PM, David Tran david.t...@hsr.ch wrote: Hi Is there a something similiar to tables=table1,table2 from pg for sqlite?

Re: [gdal-dev] Gdalwarp is unable to output a geotiff with units = seconds correctly

2014-05-28 Thread Even Rouault
Le mardi 27 mai 2014 13:10:05, Marcel Korn a écrit : We use geotif with units=seconds quite a lot. I found that running : gdalwarp -t_srs srs-def input path output path 1. If target srs_def is a prj file with EPSG code for GCS WGS84 and units= degree and my input file is a geotiff with

Re: [gdal-dev] problems with merging ecw files

2014-05-28 Thread Even Rouault
Le mardi 27 mai 2014 08:28:41, Chrishelring a écrit : hi, I´m trying to merge about 40 ecw files into one, using gdal_merge.py. it seems to work (no error), but when I´m trying to open the file, it says, Unable to read header information: Cannot open file

[gdal-dev] OGR-trunk plugin fails to load

2014-05-28 Thread Ivan Lucena
Hi Even, I svn updated trunk and I build the OGR/OCI driver as a plugin and it fail to load. $ gdalinfo --version ERROR 1: dlsym(0x7fac63d051f0, _GDALRegisterMe): symbol not found ERROR 1: dlsym(0x7fac63d051f0, _GDALRegister_CI): symbol not found GDAL 2.0.0dev, released 2014/04/16 That is OSX

Re: [gdal-dev] OGR-trunk plugin fails to load

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 14:32:19, Ivan Lucena a écrit : Hi Even, I svn updated trunk and I build the OGR/OCI driver as a plugin and it fail to load. $ gdalinfo --version ERROR 1: dlsym(0x7fac63d051f0, _GDALRegisterMe): symbol not found ERROR 1: dlsym(0x7fac63d051f0, _GDALRegister_CI):

[gdal-dev] Questions about processing four band (RGBI) imagery

2014-05-28 Thread Jonathan Moules
Hi List, I have four band (RGB plus Infrared) imagery from some aerial photography we've had flown. I've already used GDAL to create suitable optimised RGB GeoTIFFs using this data and now want to do it with the Infrared band too. The RGBI data is about 1TB uncompressed, currently stored as

[gdal-dev] [Gdal 1.11]gdal_merge.py issue for merging tif

2014-05-28 Thread Rémy GOURRAT
Hi, I try to use gdal_merge.py on a windows server 2008 r2 intel. So i installed Python 3.3.3 and gdal and gdal-111-1600-x64-core.msihttp://www.gisinternals.com/sdk/Download.aspx?file=release-1600-x64-gdal-1-11-mapserver-6-4\gdal-111-1600-x64-core.msi GDAL_DATA et GDAL_DRIVER_PATH are Ok, I

Re: [gdal-dev] [Gdal 1.11]gdal_merge.py issue for merging tif

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 19:48:18, Rémy GOURRAT a écrit : Hi, I try to use gdal_merge.py on a windows server 2008 r2 intel. So i installed Python 3.3.3 and gdal and gdal-111-1600-x64-core.msihttp://www.gisinternals.com/sdk/Download.aspx?f

Re: [gdal-dev] Questions about processing four band (RGBI) imagery

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 16:35:39, Jonathan Moules a écrit : Hi List, I have four band (RGB plus Infrared) imagery from some aerial photography we've had flown. I've already used GDAL to create suitable optimised RGB GeoTIFFs using this data and now want to do it with the Infrared band too.

[gdal-dev] VRTBuilder class

2014-05-28 Thread Gordon Farquharson
The VRTBuilder class in the gdalbuildvrt utility source code is very useful. Is there any intention to make it part of the GDAL API? Gordon -- Gordon Farquharson GnuPG Key ID: 32D6D676 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] VRTBuilder class

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 21:03:40, Gordon Farquharson a écrit : The VRTBuilder class in the gdalbuildvrt utility source code is very useful. Is there any intention to make it part of the GDAL API? Gordon Gordon, the idea of turning the code of GDAL utilities as library code reusable by user

Re: [gdal-dev] VRTBuilder class

2014-05-28 Thread Gordon Farquharson
Thanks for the quick answer. Would the approach of turning GDAL utility code into libraries be as simple as putting the code into .h and .cpp files, or would you want to do it in a more globally organized way, e.g.., to develop a sensible class hierarchy and a consistent naming scheme? Gordon

Re: [gdal-dev] VRTBuilder class

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 21:27:54, Gordon Farquharson a écrit : Thanks for the quick answer. Would the approach of turning GDAL utility code into libraries be as simple as putting the code into .h and .cpp files, or would you want to do it in a more globally organized way, e.g.., to develop a

Re: [gdal-dev] problems with merging ecw files

2014-05-28 Thread Simon Shak
Depending on how large an output file there are limitations in the file formats to consider. The older ecw library allows writing a file no larger than 500mb.the newer one you need a special license to write at all. The geotiff will by default not write as big tiff which will also limit output

Re: [gdal-dev] VRTBuilder class

2014-05-28 Thread Siebe Bosch
Dear Gordon, If you want to use the VRTBuilder inside your own programming environment (on Windows) you could also start using the MapWinGIS ActiveX control. Version 4.9 and later supports GDAL, including the VRTBuilder function. The activeX control can be downloaded here:

[gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread klo uo
Hi, I have vector data in PDF format, which I tried to georeference with org2ogr -gcp feature and output basic Shapefile, but program complains that it's unable to read the PDF file, which I confirm as valid by processing it with ghostscript. I then converted PDF to SVG and confirmed that SVG is

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 22:10:51, klo uo a écrit : Hi, I have vector data in PDF format, which I tried to georeference with org2ogr -gcp feature and output basic Shapefile, but program complains that it's unable to read the PDF file, which I confirm as valid by processing it with

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread Even Rouault
Le mercredi 28 mai 2014 23:06:38, vous avez écrit : Hi Even, thanks for your prompt reply. Could you please tell more about the PDF limitation. For example a way to transform my PDF to the one that ogr2ogr would understand? I attached the test files. The PDF driver would require some

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread klo uo
Ok, thanks for your confirmation. I'll go DXF route. In the meantime I found that by using pstoedit for conversion from PDF to DXF is the right choice. On Wed, May 28, 2014 at 11:34 PM, Even Rouault even.roua...@mines-paris.org wrote: Le mercredi 28 mai 2014 23:06:38, vous avez écrit : Hi

[gdal-dev] Store GDAL Result Raster in PostGIS Directly

2014-05-28 Thread zlzhao1104
Hi I'm a new GDAL/PostGIS user. This question might be simple to you: I need to use gdal_translate to clip a raster, which is already stored in PostGIS. I could do it by using PG to link to my PostGIS database and I could store the result as a tiff file on my disk: gdal_translate -projwin

Re: [gdal-dev] Store GDAL Result Raster in PostGIS Directly

2014-05-28 Thread Chaitanya kumar CH
zlzhao1104, Two things: You need to specify the output data format using the -of option. PostGIS raster driver doesn't support writing yet. It's being implemented now. It is more efficient to do that directly using an SQL command. Refer to PostGIS docs. -- Best regards, Chaitanya Kumar CH On

Re: [gdal-dev] Store GDAL Result Raster in PostGIS Directly

2014-05-28 Thread zlzhao1104
Thanks a lot, chaitanya_ch. I'll use SQL instead. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Store-GDAL-Result-Raster-in-PostGIS-Directly-tp5143022p5143036.html Sent from the GDAL - Dev mailing list archive at Nabble.com.