[gdal-dev] OGR and Sel by Attributes

2015-07-08 Thread user gdal
Dear friends, Can you please give me an example of Selection by Attributes using OGR library. In other words, I need an example of OGRDataSource::ExecuteSQL(...). With thanks, Yours sincerely, B. Ramesh ___

Re: [gdal-dev] Transparency mask (alpha band) in ECW

2015-07-08 Thread Tomaka, Jacek
Jukka, Even, Here is an example of ECW v2 with opacity. https://trac.osgeo.org/gdal/ticket/6028 Regards. Jacek Tomaka -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Even Rouault Sent: Wednesday, 8 July 2015 8:08 PM To: gd

Re: [gdal-dev] Accelerate Raster Calculation

2015-07-08 Thread Nicolas Cadieux
Hi, I have been using gdal raster Calculator because it is much faster (but less flexible) then QGIS internal calculator. I know that R has a raster package but I have seen reports of this being slow also. Look for R Raster package. Of course, hopefully there may be a answer found here. If so,

[gdal-dev] Accelerate Raster Calculation

2015-07-08 Thread Yuta Sato
Dear GDAL Developers: I am doing raster calculation by reading the bands as numpy array, doing numpy calculation, and writing back the numpy array. But seems pretty slower, what is the faster way to do it? ___ gdal-dev mailing list gdal-dev@lists.osgeo.o

Re: [gdal-dev] Transparency mask (alpha band) in ECW

2015-07-08 Thread Even Rouault
Le mercredi 08 juillet 2015 14:01:47, Jukka Rahkonen a écrit : > Even Rouault spatialys.com> writes: > > > GDAL ECW driver does not have support for this. I wonder if it could be > > > doable and if I should make a feature request. I also wonder if GDAL > > > can decode ECW files which have transp

Re: [gdal-dev] Transparency mask (alpha band) in ECW

2015-07-08 Thread Jukka Rahkonen
Even Rouault spatialys.com> writes: > > > > GDAL ECW driver does not have support for this. I wonder if it could be > > doable and if I should make a feature request. I also wonder if GDAL can > > decode ECW files which have transparency mask correctly. > > Jukka, > > I'm a bit confused by the

Re: [gdal-dev] Attempting to access an ArcGIS REST API through a WMS format minidriver

2015-07-08 Thread Dmitry Baryshnikov
Hi James, As the server didn't provide information about levels, some help needed to calculate this values. Also the all layers switched off, so we need to tell which layers should be shown. I create such xml file based on information from here: https://map.bgs.ac.uk/arcgis/rest/services/UKSO/

Re: [gdal-dev] Transparency mask (alpha band) in ECW

2015-07-08 Thread Even Rouault
Le mercredi 08 juillet 2015 12:46:27, Jukka Rahkonen a écrit : > Hi, > > Nodata values with lossy compression like JPEG, ECW, or JPEG2000 do not > really work. I noticed that newest ECW SDK versions (>= 4) have support for > using a transparency mask: > > http://blog.hexagongeospatial.com/help-ec

[gdal-dev] Transparency mask (alpha band) in ECW

2015-07-08 Thread Jukka Rahkonen
Hi, Nodata values with lossy compression like JPEG, ECW, or JPEG2000 do not really work. I noticed that newest ECW SDK versions (>= 4) have support for using a transparency mask: http://blog.hexagongeospatial.com/help-ecw-speckled-edges/ "Using the ECWJP2 SDK terminology, a transparency mask is