Re: [gdal-dev] Using a MapQuest TMS via GDAL

2013-10-22 Thread Andre Vautour
Is the DataWindow just ignored here? I am pretty sure the data window is actually interpreted as the tile extents of the service for the TMS mini driver. You'll notice that nothing else in the parameters could be used to georeference the tiles. I agree that "window" in this case is misleading a

Re: [gdal-dev] Using a MapQuest TMS via GDAL

2013-10-22 Thread Jukka Rahkonen
Chris Hanson alphapixel.com> writes: > What is the proper process for requesting a DataWindow region > and getting a proper reoreferenced raster subset back? I am not sure about how changing the DataWindow size in the XML configuration file should work but anyway, it is not so good place to pl

[gdal-dev] Using a MapQuest TMS via GDAL

2013-10-22 Thread Chris Hanson
I'm trying to access a web mapping service (MapQuest in this case) using the GDAL WMS driver. Inspired by this page: http://www.3liz.com/blog/rldhont/index.php?post/2012/07/17/OpenStreetMap-Tiles-in-QGIS and this http://developer.mapquest.com/web/products/open/map I formulate an XML strin

Re: [gdal-dev] Building HDF5 driver against the binary distribution

2013-10-22 Thread Joaquim Luis
Hi Ivan I build HDF with zlib only (no szip) and dynamically but I don't understand your question about zlib and GDAL. I don't link GDAL with zlib Joaquim Hi Joaquim, Here it says: "The SZIP and ZLIB external libraries are optional for use with HDF5. The HDF5 pre-compiled binary distribut

Re: [gdal-dev] Open BIL, BIP, and BSQ raster files without header

2013-10-22 Thread Gabriel Fusca
I will try first the EHdr driver option. Thanks a lot Even and Kyle, 2013/10/22 Even Rouault > Le mardi 22 octobre 2013 19:43:50, Gabriel Fusca a écrit : > > I'm thinking to configure the header file (.hdr) following the > > especification of the header ( > > > http://webhelp.esri.com/arcgis

Re: [gdal-dev] Open BIL, BIP, and BSQ raster files without header

2013-10-22 Thread Even Rouault
Le mardi 22 octobre 2013 19:43:50, Gabriel Fusca a écrit : > I'm thinking to configure the header file (.hdr) following the > especification of the header ( > http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=BIL,_BIP,_and > _BSQ_raster_files ) > > skipbytes: file offset > bandrowbytes

Re: [gdal-dev] Support of filemapping for fast rendering in QGIS...

2013-10-22 Thread Even Rouault
> On the other hand, this provider may also accelerate with some small > changes that are pending of review in the ticket > (http://trac.osgeo.org/gdal/ticket/5272) that I hope will be evaluated. Actually when thinking about the atof() optimization, a far better idea would be to make sure that Q

Re: [gdal-dev] Postgis Raster issue

2013-10-22 Thread Even Rouault
Le mardi 22 octobre 2013 17:53:27, Yves Jacolin (Free) a écrit : > Hello, > > I am playing with QGIS and raster date in postgis. I get somme error which > get me going to frmts/postgisraster/postgisrasterrasterband.cpp:469. > > From QGIS I get "Warning: RasterIO error: Error retrieving raster dat

Re: [gdal-dev] Open BIL, BIP, and BSQ raster files without header

2013-10-22 Thread Gabriel Fusca
I'm thinking to configure the header file (.hdr) following the especification of the header ( http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=BIL,_BIP,_and_BSQ_raster_files ) skipbytes: file offset bandrowbytes: band offset totalrowbytes: row offset I don't know if GDAL can handle t

Re: [gdal-dev] Building HDF5 driver against the binary distribution

2013-10-22 Thread Ivan Lucena
Hi Joaquim, Here it says: "The SZIP and ZLIB external libraries are optional for use with HDF5. The HDF5 pre-compiled binary distributions include the SZIP (Encoder Enabled) and ZLIB libraries that they are compiled with. " [http://www.hdfgroup.org/HDF5/release/obtain5.html] When they say "i

[gdal-dev] Postgis Raster issue

2013-10-22 Thread Yves Jacolin (Free)
Hello, I am playing with QGIS and raster date in postgis. I get somme error which get me going to frmts/postgisraster/postgisrasterrasterband.cpp:469. >From QGIS I get "Warning: RasterIO error: Error retrieving raster data from database" error message which come from GDAL. If I read the postgr

Re: [gdal-dev] Open BIL, BIP, and BSQ raster files without header

2013-10-22 Thread Kyle Shannon
Gabriel, Did you look at the VRT dataset? http://www.gdal.org/gdal_vrttut.html I suspect that is what you are looking for. kss On Tue, Oct 22, 2013 at 7:27 AM, Gabriel Fusca wrote: > Dear all, > > I'm using GDAL 1.9.1 and I would like to load binary raster files > especifying manually header i

[gdal-dev] Open BIL, BIP, and BSQ raster files without header

2013-10-22 Thread Gabriel Fusca
Dear all, I'm using GDAL 1.9.1 and I would like to load binary raster files especifying manually header information such number of lines, number of pixels, pixel data type, byte order, bits per pixel. Also I would like to specify file offset, band offset and line offset for the file. Can someone

Re: [gdal-dev] Support of filemapping for fast rendering in QGIS...

2013-10-22 Thread A Huarte
Hi, I am testing in Windows XP compiling with Visual Studio 2010. I have a console test application using directly the "shapefil" library. I will use test_ogrsf utility for a complete benchmark I this environment and my test application, using OGRFastAtof(), the full read of a huge shape aroun

[gdal-dev] Rv: Support of filemapping for fast rendering in QGIS...

2013-10-22 Thread A Huarte
Hi, I am testing in Windows XP compiling with Visual Studio 2010. I have a console test application using directly the "shapefil" library. I will use test_ogrsf utility for a complete benchmark I this environment and my test application, using OGRFastAtof(), the full read of a huge shape aroun

Re: [gdal-dev] Support of filemapping for fast rendering in QGIS...

2013-10-22 Thread Even Rouault
Selon A Huarte : > Hi, I want improve the rendering of vector features in QGIS.  > > I have opened a new branch of code in the repository of > QGIS(https://github.com/qgis/QGIS/pull/927 //  https://github.com/ahuarte47/QGIS/tree/Issue_8725-OGR) and > the drawing tests give me ~3x faster that origi

[gdal-dev] Support of filemapping for fast rendering in QGIS...

2013-10-22 Thread A Huarte
Hi, I want improve the rendering of vector features in QGIS.  I have opened a new branch of code in the repository of QGIS(https://github.com/qgis/QGIS/pull/927 //  https://github.com/ahuarte47/QGIS/tree/Issue_8725-OGR) and the drawing tests give me ~3x faster that original code :-) I am testin