[gdal-dev] Re: GDAL GML driver and .xsd schema mapping

2011-11-14 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > > > Jukka, > Hopefully the following should be enough : > > r23378 /trunk/gdal/ogr/ogrsf_frmts/gml/ogrgmldatasource.cpp: GML: add debug information to know if we use/generate .gfs file while there's a .xsd we ignore > > I'm not sure it is a good

Re: [gdal-dev] autotests for specific formats in autotest/gcore folder???

2011-11-14 Thread Frank Warmerdam
Etienne, This is partly a historical artifact, but it never seemed worth the disruption to move things around. Note that some of these test scripts are primarily intended to test core capabilities and they just happen to do it with particular formats. I think that applies to some of the hfa and

[gdal-dev] autotests for specific formats in autotest/gcore folder???

2011-11-14 Thread Etienne Tourigny
Hi devs, I have noticed today that there are a few format-specific tests in the autotest/gcore folder: aaigrid_read.py bmp_read.py envi_read.py hdf4_read.py hfa_read.py pnm_read.py tiff_read.py aaigrid_write.py bmp_write.py gtiff_write.py hdf4_write.py hfa_write.py netcdf_write.py pnm_w

Re: [gdal-dev] access attribute (non-spatial) data in .mdb with PGeo Driver

2011-11-14 Thread Eli Adam
Thanks Even. > I'm confused because if you get to the point of having the trace " PGEO: > SELECT on GDB_GeomColumns fails, perhaps not a personal geodatabase?" it means > that you got after the test of r21550 (which should have discared this mdb as > having no GDB_GeomColumns table), so I highly s

Re: [gdal-dev] access attribute (non-spatial) data in .mdb with PGeo Driver

2011-11-14 Thread Even Rouault
Le lundi 14 novembre 2011 20:44:35, Eli Adam a écrit : > Hi all, > > On Windows, I'm trying to access non-spatial tables in an .mdb file. > With --debug on I see that the absence of a 'GDB_GeomColumns' table is > the problem. > > >ogrinfo --debug on Surveys.mdb > > PGeo: EstablishSession(DRIVER=

[gdal-dev] access attribute (non-spatial) data in .mdb with PGeo Driver

2011-11-14 Thread Eli Adam
Hi all, On Windows, I'm trying to access non-spatial tables in an .mdb file. With --debug on I see that the absence of a 'GDB_GeomColumns' table is the problem. >ogrinfo --debug on Surveys.mdb PGeo: EstablishSession(DRIVER=Microsoft Access Driver (*.mdb);DBQ=Surveys.mdb) ODBC: SQLDriverConnect(DR

Re: [gdal-dev] GDAL GML driver and .xsd schema mapping

2011-11-14 Thread Even Rouault
Jukka, > > It is not totally clear for me to what extent GDAL GML driver is utilising > the .xsd schema if it is present. I have an example where the schema > obviously in not utilised or respected. In the schema the nationalCode > element is defined as > > >

Re: [gdal-dev] Reading SRTM30 grids 'at distance'

2011-11-14 Thread Joaquim Luis
Evan, Frank Thanks very much. I keep insisting on the esri .hdr because I have a function to do all the work but it's definitively time to write one to do the same for .vrt (and learn more about it a same time). Joaquim Le lundi 14 novembre 2011 18:23:23, Joaquim Luis a écrit : Hi, I made

Re: [gdal-dev] Reading SRTM30 grids 'at distance'

2011-11-14 Thread Even Rouault
Le lundi 14 novembre 2011 18:23:23, Joaquim Luis a écrit : > Hi, > > I made a nice little tool for Mirone where one can very easily mosaic > either several flavors of SRTM grids or satellite images from Bing servers. > My question is about the SRTM30 grids (30 arc minutes) that are > available her

Re: [gdal-dev] Reading SRTM30 grids 'at distance'

2011-11-14 Thread Frank Warmerdam
Joaquim, I can't think of a way to do this with an ESRI .hdr and raw file. However, you could create a VRT file for each tile with the .VRT file living locally, having the georeferencing and raw data layout and referring to the actual raw data via a /vsicurl filename. The VRT docs cover how to de

Re: [gdal-dev] Spatial Indexes for Memory Layers?

2011-11-14 Thread Even Rouault
Le lundi 14 novembre 2011 18:10:51, Ethan Alpert a écrit : > Curious if there's any way to create spatial indexes for in memory > layers? > Ethan No, they are not supported by the OGR Memory driver. But... if you use the very latest trunk with spatialite support, the OGR SQLite driver now supp

Re: [gdal-dev] Does SetSpatialFilter use spatial indexes (.qix) for shapefiles

2011-11-14 Thread Even Rouault
Le lundi 14 novembre 2011 18:17:38, Ethan Alpert a écrit : > Curious if the Shapefile driver uses .qix files if they're available > when performing SetSpatialFitler. Ethan, Quoting http://gdal.org/ogr/drv_shapefile.html : """ The spatial indexing uses the same .qix quadtree spatial index files t

[gdal-dev] Reading SRTM30 grids 'at distance'

2011-11-14 Thread Joaquim Luis
Hi, I made a nice little tool for Mirone where one can very easily mosaic either several flavors of SRTM grids or satellite images from Bing servers. My question is about the SRTM30 grids (30 arc minutes) that are available here (SRTM plus) ftp://topex.ucsd.edu/pub/srtm30_plus/srtm30/data/ whi

[gdal-dev] Does SetSpatialFilter use spatial indexes (.qix) for shapefiles

2011-11-14 Thread Ethan Alpert
Curious if the Shapefile driver uses .qix files if they're available when performing SetSpatialFitler. Thanks, -e This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient,

[gdal-dev] Spatial Indexes for Memory Layers?

2011-11-14 Thread Ethan Alpert
Curious if there's any way to create spatial indexes for in memory layers? This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering thi

Re: [gdal-dev] VSIF and Python

2011-11-14 Thread Ari Jolma
On 11/14/2011 02:44 PM, Frank Broniewski wrote: I want to do: read geodata with ogr, do some work with it and dump the result, in case of a text file format, to string instead to file. Right now I am doing the same with an extra step (save the result to file and read it again with python). Th

Re: [gdal-dev] VSIF and Python

2011-11-14 Thread Etienne Tourigny
Yes, VSI* has been implemented in gdal 1.8.0, you should use the latest stable 1.8.1. You have this in debian experimental, but I don't use debian so can't comment on how "experimental" the debian gdal 1.8 builds are. You can also build gdal yourself from source. Provided you upgrade to 1.8.1, yo

[gdal-dev] VSIF and Python

2011-11-14 Thread Frank Broniewski
Hi, I wanted to try the VSIF* functions that are mentioned in the docs [1]. I am using gdal (and python-gdal) from debian testing, which is version 1.7.?. The VSIF* functions are "not found", so I presume they are available with gdal >= 1.8 only? I found [2], which is pretty much what I want

[gdal-dev] about the license

2011-11-14 Thread dennis
Hi everyone, I am developing a free software that works with the awesome java bindings of gdal and I have a question about the license and how to use it correctly. This is the first time that I develop a software which is available for download and I want to do this correctly. This is what I

[gdal-dev] GDAL GML driver and .xsd schema mapping

2011-11-14 Thread Rahkonen Jukka
Hi, It is not totally clear for me to what extent GDAL GML driver is utilising the .xsd schema if it is present. I have an example where the schema obviously in not utilised or respected. In the schema the nationalCode element is defined as -- De