[gdal-dev] Removing GCPs from tiff

2011-04-12 Thread Goo Creations
Hi all I've got a tiff file with a number of stored GCPs. How can I remove these GCPs from the file? I've tried: SetGCPshttp://www.gdal.org/classGDALDataset.html#3c812b05467213f05055c1f18438d874(int nGCPCount, const GDAL_GCP http://www.gdal.org/structGDAL__GCP.html*pasGCPList, const char

[gdal-dev] About the legality of import - export

2011-04-12 Thread Antonio P.
What are your experience about this topic? For example, we have dwg, shp, pdf files : Can I distribute a program that import an export data in these formats ? And what about writing data into an existing files ? What legal implications we have to be in mind? Thanks

[gdal-dev] Re: Removing GCPs from tiff

2011-04-12 Thread Jukka Rahkonen
Goo Creations goocreations at gmail.com writes: Hi allI've got a tiff file with a number of stored GCPs. How can I remove these GCPs from the file?I've tried: SetGCPs(int nGCPCount, const GDAL_GCP *pasGCPList, const char *pszGCPProjection)with the first parameter of 0, but without luck. Seems

[gdal-dev] Problems in building java bindings

2011-04-12 Thread natasha chatterjee
Hello I need to build GDAL in java. I already followed the steps mentioned in http://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructions I am successful till compiling GDAL but I am stuck from the next step --Build java bindings

Re: [gdal-dev] About the legality of import - export

2011-04-12 Thread Frank Warmerdam
On 11-04-12 03:26 AM, Antonio P. wrote: What are your experience about this topic? For example, we have dwg, shp, pdf files : Can I distribute a program that import an export data in these formats ? And what about writing data into an existing files ? What legal implications we have to be in

Re: [gdal-dev] Removing GCPs from tiff

2011-04-12 Thread Frank Warmerdam
On 11-04-12 03:17 AM, Goo Creations wrote: Hi all I've got a tiff file with a number of stored GCPs. How can I remove these GCPs from the file? I've tried: SetGCPs http://www.gdal.org/classGDALDataset.html#3c812b05467213f05055c1f18438d874(int nGCPCount, const GDAL_GCP

[gdal-dev] Re: OGR/Spatialite patches

2011-04-12 Thread Even Rouault
Hi Alessandro, (CC'ing gdal-dev) Impressive work ! My remarks and questions: 1) Could you confirm that all this work might be included under the usual GDAL X/MIT

Re: Fwd: [gdal-dev] problem with decimal precision (SAGA driver)

2011-04-12 Thread Even Rouault
Selon Volker Wichmann wichm...@laserdata.at: Well, is this really a problem... ? I mean 12181.2999 = 12181.3 for most purposes. Sometimes you can have different decimal representations for the same IEEE number... I'm not sure this is really something adressed in GDAL drivers. But if you

[gdal-dev] OGR and spatialite View

2011-04-12 Thread iomeneandrei
Dear all, I have created a spatialite View and ogrinfo does not see any spatialite View. Is there some error in my data? Is it OGR able to read spatialite View? Thank you, a - Andrea Borruso email: aborr...@tin.it website:

[gdal-dev] gdalinfo doesn't show GEOS projection info

2011-04-12 Thread kingkastle
Greetings, I'm working with hdf5 file with the following attributes: (obtained with hdfview) http://osgeo-org.1803224.n2.nabble.com/file/n6265339/hdf5view.bmp However, when I gdalinfo the file, I get the following information: Driver: HDF5Image/HDF5 Dataset Files: none associated Size is

[gdal-dev] ArcSDE: connection times too long

2011-04-12 Thread Duarte Carreira
Hi listers. I'm seing a very long delay while connecting to ArcSDE. Even if I just do ogrinfo on a single layer I still have to wait a few minutes before I get anything back. Any parameter I can use? Thanks, Duarte ___ gdal-dev mailing list

Re: [gdal-dev] gdalinfo doesn't show GEOS projection info

2011-04-12 Thread Frank Warmerdam
On 11-04-12 10:24 AM, kingkastle wrote: Greetings, I'm working with hdf5 file with the following attributes: (obtained with hdfview) http://osgeo-org.1803224.n2.nabble.com/file/n6265339/hdf5view.bmp However, when I gdalinfo the file, I get the following information: Driver: HDF5Image/HDF5

Re: [gdal-dev] gdalinfo doesn't show GEOS projection info

2011-04-12 Thread Ricardo Filipe Soares Garcia da
Hi Rafa According to my research on this matter, these HDF5 files (from LANDSAF, I presume) are not georeferenced in a way that GDAL can recognize. There is in fact some information regarding the coordinate system in the HDF5 file, but it is stored on the metadata of the root of the HDF5 file,

Re: [gdal-dev] ArcSDE: connection times too long

2011-04-12 Thread Frank Warmerdam
On 11-04-12 10:33 AM, Duarte Carreira wrote: Hi listers. I’m seing a very long delay while connecting to ArcSDE. Even if I just do ogrinfo on a single layer I still have to wait a few minutes before I get anything back. Any parameter I can use? Duarte, The SDE driver docs at

Re: [gdal-dev] OGR and spatialite View

2011-04-12 Thread Chaitanya kumar CH
Andrea, Try to explicitly ask for the view as a layer with ogrinfo. You can also try to set the SQLITE_LIST_ALL_TABLES environment variable to TRUE. On Tue, Apr 12, 2011 at 7:46 PM, iomeneandrei aborr...@tin.it wrote: Dear all, I have created a spatialite View and ogrinfo does not see any

[gdal-dev] ftp user and password with vsizip/vsicurl

2011-04-12 Thread Eli Adam
Is it possible to use vsizip and vsicurl on a password protected ftp site? Something like this command with user and password passed somehow: ogrinfo -ro -al -so /vsizip/vsicurl/ftp://example.com/foldername/file.zip/example.shp I rather hopefully tried some switches, -user:user

[gdal-dev] Connection to SQL Server 2008

2011-04-12 Thread Christophe B
Hello List, We have encountered a problem on version 1.7 of QGIS (dev) can support the connection to SQL Server 2008. When it connects to the base layer does not contain any vector object and the attribute table contains the correct columns and many rows, but they all contain ERROR ... Same

RE: [gdal-dev] ArcSDE: connection times too long

2011-04-12 Thread Duarte Carreira
Hi Frank. I do that already: ogrinfo -so -ro SDE:server,5151,,user,pdw user.featureclass Notice that I separate the layer name with a blank space. Using a comma does not work for me (wonder if the docs are right on that??). I still wait quite a bit. This is a mid-sized db, with some 1200

Re: [gdal-dev] ArcSDE: connection times too long

2011-04-12 Thread Frank Warmerdam
On 11-04-12 12:12 PM, Duarte Carreira wrote: Hi Frank. I do that already: ogrinfo -so -ro SDE:server,5151,,user,pdw user.featureclass Notice that I separate the layer name with a blank space. Using a comma does not work for me (wonder if the docs are right on that??). I still wait quite a

RE: [gdal-dev] ArcSDE: connection times too long

2011-04-12 Thread Duarte Carreira
That never occurred to me! Ok, so I measured 48secs sharp to get ogrinfo results, by including the featureclass name in the connection and after that too (like you pointed out). Then got 45secs with just the name in the connection, and got all layers listed. Don't know what to make of this...

[gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Hermann Peifer
On 04/04/2011 05:05, Ragi Burhum wrote: Hello list, I am trying to test a new version of the FileGDB driver for OGR, but I lack enough FileGDBs to test :) Is the lack of FileGDBs still an issue? At work, we have several hundreds of them and I could check if I can make some available. If

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Smith, Michael ERDC-CRREL-NH
Hermann, You can use the FileGDB driver with Linux. The FileGDB api has been available on Linux since Beta 2. I plan to do some testing in the next couple of days. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 4/12/11 1:08 PM, Hermann Peifer pei...@gmx.eu

[gdal-dev] Re: OGR and spatialite View

2011-04-12 Thread iomeneandrei
Chaitanya, Chaitanya kumar CH wrote: Try to explicitly ask for the view as a layer with ogrinfo. You can also try to set the SQLITE_LIST_ALL_TABLES environment variable to TRUE. I have set the SQLITE_LIST_ALL_TABLES environment variable to TRUE, and now it works. Thank you very much,

Re: [gdal-dev] Re: OGR/Spatialite patches

2011-04-12 Thread Ivan Lucena
Hi there. Since Berkeley DB is SQLite API compatible, does anybody has experience with using Berkeley DB + Spatialite ? Would that be possible to work? Thanks, Ivan ---Original Message--- From: Even Rouault even.roua...@mines-paris.org To: Alessandro Furieri a.furi...@lqt.it,

[gdal-dev] Reading of MSG Native Data

2011-04-12 Thread Simon R. Proud
Hi, I've been testing GDAL with Native (.nat) format data from the MSG satellite, and have a slight problem. gdal_translate fails to process the high resolution channel (Band 12, image size is variable but for my data 5568x4176). The .nat files I'm working with only contain the HRV data, not

Re: [gdal-dev] ftp user and password with vsizip/vsicurl

2011-04-12 Thread Even Rouault
Le mardi 12 avril 2011 17:26:02, Eli Adam a écrit : Is it possible to use vsizip and vsicurl on a password protected ftp site? Something like this command with user and password passed somehow: ogrinfo -ro -al -so /vsizip/vsicurl/ftp://example.com/foldername/file.zip/example.shp I

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Even Rouault
Le mardi 12 avril 2011 19:08:24, Hermann Peifer a écrit : On 04/04/2011 05:05, Ragi Burhum wrote: Hello list, I am trying to test a new version of the FileGDB driver for OGR, but I lack enough FileGDBs to test :) Is the lack of FileGDBs still an issue? At work, we have several

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Smith, Michael ERDC-CRREL-NH
Even, How do you configure gdal/ogr to build with the linux api? I'm working on getting some example datasets together. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 4/12/11 2:28 PM, Even Rouault even.roua...@mines-paris.org wrote: Le mardi 12 avril 2011

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Matt Wilkie
ArcGIS 10 FileGDB's right ? If the api allows for using gdb's from different versions then the test suite should have different versions too. In any case I can make v10 gdb's. Current GDAL trunk builds against FileGDB API beta3 under Linux 32bit. Too bad ESRI doesn't provide any 64bit build

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Even Rouault
Le mardi 12 avril 2011 20:37:06, Smith, Michael ERDC-CRREL-NH a écrit : Even, How do you configure gdal/ogr to build with the linux api? This is a bit involved since there's no ./configure support yet, so I compile it at hand as a plugin Here's the line I use from GDAL root source directory

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Even Rouault
Le mardi 12 avril 2011 20:40:58, Matt Wilkie a écrit : ArcGIS 10 FileGDB's right ? If the api allows for using gdb's from different versions then the test suite should have different versions too. In any case I can make v10 gdb's. No, the FileGDB API only reads v10 gdb's. Current GDAL

Re: [gdal-dev] ftp user and password with vsizip/vsicurl

2011-04-12 Thread Eli Adam
Even, I've added most of this to the wiki. I've also corrected the urls that were incorrect. http://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip#vsicurl-toreadfromHTTPorFTPfilespartialdownloading Thanks, Eli On 4/12/2011 at 11:11 AM, in message

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Smith, Michael ERDC-CRREL-NH
I have a test v10 filegdb with points, lines, polygons (all with Z and M but I think the measures aren't populated). There are also some non geometry tables and some relationship classes. Its available at http://12.189.158.78:8081/downloads/test_fgdb.gdb.zip Mike -- Michael Smith Remote

[gdal-dev] Dateline gap

2011-04-12 Thread Jerl Simpson
Hello: I stopped by the #gdal channel on IRC to ask this question. Thank you for the help provided there. I thought it might be better if I asked a question here so I can better explain what's going on in one spot and not flood the channel. I understand this is a pixel center vs pixel edge

[gdal-dev] gdal datum shift

2011-04-12 Thread Brian Wilson
Trying to get a raster to go from NAD83 to NAD27 with gdalwarp. Can't see any way to tell how it is choosing to do it. Is this documented anywhere? Is there any way to make it verbose so I can tell if it's trying? I ran it through strace and watched it open a file called gdal_datum.csv but of

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Matt Wilkie
Hi Hermann, it's so good to hear there is active work on this! I am trying to test a new version of the FileGDB driver for OGR, but I lack enough FileGDBs to test :) Ho many do you need, what kind of contents should they have, and how big? e.g. feature classes, feature datasets, topologies,

Re: [gdal-dev] Dateline gap

2011-04-12 Thread Joaquim Luis
Jerl, I would do that with GMT. By using ps2raster you can convert any GMT figure (in geogs of course) into KML, and GMT has excellent care of date line transition issues. Joaquim Hello: I stopped by the #gdal channel on IRC to ask this question. Thank you for the help provided there. I

Re: [gdal-dev] Dateline gap

2011-04-12 Thread Jerl Simpson
Thanks for the GMT suggestions. I've never used it, I'll try it out. Thanks!! Typed with thumbs... On Apr 12, 2011 7:24 PM, Joaquim Luis jl...@ualg.pt wrote: Jerl, I would do that with GMT. By using ps2raster you can convert any GMT figure (in geogs of course) into KML, and GMT has excellent