Re: [gdal-dev] compile error on windows

2016-05-02 Thread Ryan Grout
Thanks, again Christoph. You're a lifesaver. For the benefit of the gdal-dev list. Applying the below patch to GDAL fixed my build issues with HDF5 1.8.16 - diff --git frmts/hdf5/makefile.vc frmts/hdf5/makefile.vc index

Re: [gdal-dev] GDAL 2.0.2 & gpkg woes

2016-05-02 Thread Alan Stewart
Unfortunately, makes no difference, with my application code or ogr2ogr. I also tested the new libspatialite-4.2.0a DLL against my old GDAL build. Works fine. Alan Stewart Senior Software Engineer TerraGo Technologies 3200 Windy Hill Road, Suite 1550W Atlanta, GA 30339 USA O. +1 678.391.9615  

[gdal-dev] GDALDatasetRasterIO

2016-05-02 Thread Gane R
Looking for function to do fast IO across the two datasets Is GDALDatasetRasterIO already best or any other available. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Thanks. I have just opened this ticket keeping track of that: https://trac.osgeo.org/gdal/ticket/6495#ticket Cheers, Daniele On Mon, May 2, 2016 at 3:58 PM, Even Rouault wrote: > Le lundi 02 mai 2016 15:43:42, Daniele Romagnoli a écrit : > > Cool! > > Do you think

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 15:43:42, Daniele Romagnoli a écrit : > Cool! > Do you think this capability will be backported to 1.11 series too? Possibly if you file a ticket about that. > > Thanks for your assistance. > Cheers, > Daniele > > On Mon, May 2, 2016 at 3:42 PM, Even Rouault

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Cool! Do you think this capability will be backported to 1.11 series too? Thanks for your assistance. Cheers, Daniele On Mon, May 2, 2016 at 3:42 PM, Even Rouault wrote: > Le lundi 02 mai 2016 15:37:58, Daniele Romagnoli a écrit : > > On Mon, May 2, 2016 at 3:27 PM,

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 15:37:58, Daniele Romagnoli a écrit : > On Mon, May 2, 2016 at 3:27 PM, Even Rouault > > wrote: > > Le lundi 02 mai 2016 15:16:30, Daniele Romagnoli a écrit : > > > Hi Even, > > > The produced GeoTIFF doesn't contain any nodata metadata/flag/TAG.

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
On Mon, May 2, 2016 at 3:27 PM, Even Rouault wrote: > Le lundi 02 mai 2016 15:16:30, Daniele Romagnoli a écrit : > > Hi Even, > > The produced GeoTIFF doesn't contain any nodata metadata/flag/TAG. > > It simply has "NaN" pixels. QuantumGIS report those pixels as "nan"

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 15:11:54, gunnarblom a écrit : > Even Rouault-2 wrote > > > Ah ok, you can generate overviews/zoom layers with gdaladdo / > > GDALBuildOverviews(). > > I tried using GDALBuildOverviews() but it generates a separate .ovr file > and does not include it in the MBTiles file,

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 15:16:30, Daniele Romagnoli a écrit : > Hi Even, > The produced GeoTIFF doesn't contain any nodata metadata/flag/TAG. > It simply has "NaN" pixels. QuantumGIS report those pixels as "nan" and > OpenEV report them as 1.#QNAN so I think they are properly "recognized" as > NaN. >

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread gunnarblom
Even Rouault-2 wrote > Ah ok, you can generate overviews/zoom layers with gdaladdo / > GDALBuildOverviews(). I tried using GDALBuildOverviews() but it generates a separate .ovr file and does not include it in the MBTiles file, right? If I'm looking at the code, it seems like it is checking that

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Hi Even, The produced GeoTIFF doesn't contain any nodata metadata/flag/TAG. It simply has "NaN" pixels. QuantumGIS report those pixels as "nan" and OpenEV report them as 1.#QNAN so I think they are properly "recognized" as NaN. I'm wondering if the GDAL utilities explicitly look for some

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Hi Even. Thanks for the feedback. Sorry... I'm using GDAL 1.11.3. I'm going to double check to make sure I didn't make any mistake. I'll let you know. Cheers, Daniele On Mon, May 2, 2016 at 2:49 PM, Even Rouault wrote: > Le lundi 02 mai 2016 14:37:39, Daniele

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 14:37:39, Daniele Romagnoli a écrit : > Hi List, > > I have a reprojectiion tool which creates GeoTIFFs with NoData = NaN. > I'm creating couple of GeoTIFFs with partially overlapping areas where > GeoTIFF1 has NaNs in a region and GeoTIFF2 has proper values in the same >

[gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Hi List, I have a reprojectiion tool which creates GeoTIFFs with NoData = NaN. I'm creating couple of GeoTIFFs with partially overlapping areas where GeoTIFF1 has NaNs in a region and GeoTIFF2 has proper values in the same overlapping region and viceversa (GeoTIFF2 has some NaN area while

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread Brad Hards
> I'm talking about zoom layers. E.g. when using gdal2tiles.py you choose what > zoom layers you want to create. Now with the API when only one layer is > created, many MBTiles readers will not show anything until you zoom in to > the exact zoom layer that was decided to include. So the output

Re: [gdal-dev] IReadBlock fails on alpha band, GDAL 2

2016-05-02 Thread Even Rouault
> > Are there any other problems that you anticipate with using this > configuration? I see RGBA JPEG-in-TIFF quite often... I'd expect libtiff based software to generally work fine with that (with the exception of this bug of course, which is a rather convoluted way of using libtiff and the

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 13:03:34, gunnarblom a écrit : > Even Rouault-2 wrote > > >> 1) When creating a MBTiles file, only one layer is written. Can you use > >> GDAL to populate other layers? > > > > I'm not sure what you call "layer". AFAIK MBTiles files do not have a > > concept > > of storing

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread gunnarblom
Even Rouault-2 wrote >> 1) When creating a MBTiles file, only one layer is written. Can you use >> GDAL to populate other layers? > > I'm not sure what you call "layer". AFAIK MBTiles files do not have a > concept > of storing tiles for different layers. (you could use GeoPackage for that) I'm

Re: [gdal-dev] Progress and cancel of gdalwarp program

2016-05-02 Thread Gane R
I got it and saw the progress and cancel working, thanks Gane On Tue, Apr 26, 2016 at 3:33 PM, Even Rouault wrote: > Le mardi 26 avril 2016 11:58:22, Gane R a écrit : > > [1] Is is possible to get the progress 10...20... into a variable and [2] > > is it possible to

[gdal-dev] Multi threaded Data access from a Dataset

2016-05-02 Thread Gane R
Is is possible to access a dataset from different threads with GDALDatasetRasterIO is it thread safe. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDAL/OGR 2.1.0 released

2016-05-02 Thread Even Rouault
> The release can be downloaded from: > * http://download.osgeo.org/gdal/2.1.0/gdal210.zip - source as a zip > * http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0.tar.gz - source as > .tar.gz > * http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0.tar.xz - source as > .tar.xz > *

Re: [gdal-dev] Creation of pages on Trac wiki disabled

2016-05-02 Thread Even Rouault
Le mercredi 27 avril 2016 21:59:01, Even Rouault a écrit : > Folks, > > I've removed the right to create new pages on the wiki for the > 'authenticated' group due to spammers abusting it recently (as well as > other projects wiki). OSGeo System Administration Committee is looking at > that, so we

Re: [gdal-dev] Possible bug in GDAL 2.1 RC4 with MBTiles creation

2016-05-02 Thread Even Rouault
Le samedi 30 avril 2016 22:52:00, Gunnar Blom a écrit : > Hi, > > I've found a possible bug in GDAL 2.1 RC4 and the MBTiles driver. > > I have the following image that I'm geo > referencing: http://imgbox.com/tLFn3Auq > If I'm using the follwing code to warp the image based on a >

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread Even Rouault
Le samedi 30 avril 2016 22:23:19, Gunnar Blom a écrit : > Hi. > > Awesome work with GDAL 2.1 RC4 and the MBTiles write support. I've ran into > some questions using this feature with the C/C++ API. > 1) When creating a MBTiles file, only one layer is written. Can you use > GDAL to populate

[gdal-dev] GDAL/OGR 2.1.0 released

2016-05-02 Thread Even Rouault
Hi, On behalf of the GDAL/OGR development team and community, I am pleased to announce the release of GDAL/OGR 2.1.0. GDAL/OGR is a C++ geospatial data access library for raster and vector file formats, databases and web services. It includes bindings for several languages, and a variety of

Re: [gdal-dev] How to add more than one column to a shapefile using ogrinfo

2016-05-02 Thread aborruso
On 2 May 2016 at 09:32, Rahkonen Jukka (MML) [via OSGeo.org] < ml-node+s1560n5263838...@n6.nabble.com> wrote: > It seems to me that adding a general support for adding multiple columns > with a single request into OGR SQL dialect would require to go through > every driver: With PostgreSQL, build

Re: [gdal-dev] Motion: Promote 2.1.0RC4 for release

2016-05-02 Thread Even Rouault
Le mercredi 27 avril 2016 10:18:42, Even Rouault a écrit : > Motion: GDAL/OGR 2.1.0RC4 is promoted to be the official 2.1.0 final > release. > > --- I declare this motion passed with +1 from PSC members JukkaR, HowardB, DanielM, TamasS, KurtS and me. As well as support from Jeff McKenna and

Re: [gdal-dev] How to add more than one column to a shapefile using ogrinfo

2016-05-02 Thread Rahkonen Jukka (MML)
Andrea wrote: >Hi Jukka, >Rahkonen Jukka (MML) wrote >> Do you know some database that accepts SQL "ALTER TABLE foo ADD COLUMN >> bar1, bar2"? At least SQLite and PostgreSQL don't. That kind of usage is >> not mentioned in a bunch of documents about SQL language which I browsed >>

Re: [gdal-dev] How to add more than one column to a shapefile using ogrinfo

2016-05-02 Thread aborruso
Hi Jukka, Rahkonen Jukka (MML) wrote > Do you know some database that accepts SQL "ALTER TABLE foo ADD COLUMN > bar1, bar2"? At least SQLite and PostgreSQL don't. That kind of usage is > not mentioned in a bunch of documents about SQL language which I browsed > through, for example