Re: [gdal-dev] What is the best strategy for handling multiple banded tiffs

2017-04-12 Thread Even Rouault
On mercredi 12 avril 2017 17:40:56 CEST Stephen Woodbridge wrote: > I'm working with: > > GDAL 1.10.1, released 2013/08/26 (native) > GDAL 2.1.0, released 2016/04/25 (in a docker container) > > All these results are from 2.1. > > I don't think I need the nearblack call as the NAIP imagery does

Re: [gdal-dev] What is the best strategy for handling multiple banded tiffs

2017-04-12 Thread Stephen Woodbridge
I'm working with: GDAL 1.10.1, released 2013/08/26 (native) GDAL 2.1.0, released 2016/04/25 (in a docker container) All these results are from 2.1. I don't think I need the nearblack call as the NAIP imagery does not appear to have collars. So I'm removing it from the workflow for now. The

Re: [gdal-dev] What is the best strategy for handling multiple banded tiffs

2017-04-12 Thread Even Rouault
On mercredi 12 avril 2017 13:23:06 CEST Stephen Woodbridge wrote: > Hi all, > > I'm reworking my code dealing with NAIP imagery that has R, G, B, IR > bands, and I generate a mask band when reprojecting it. I also have the > option to generate another computed band based on a sobel operator. > >

[gdal-dev] What is the best strategy for handling multiple banded tiffs

2017-04-12 Thread Stephen Woodbridge
Hi all, I'm reworking my code dealing with NAIP imagery that has R, G, B, IR bands, and I generate a mask band when reprojecting it. I also have the option to generate another computed band based on a sobel operator. In the past, I separated them R, G, B, mask into jpeg ycbcr compressed

Re: [gdal-dev] SQLite-SQL problem with some layer names

2017-04-12 Thread Rahkonen Jukka (MML)
Hi, Hi, I had a try with editing the .dox file that is used for generating http://www.gdal.org/ogr_sql_sqlite.html with changeset #37971. Could you check if the text makes sense and appears right? -Jukka-

Re: [gdal-dev] SQLite-SQL problem with some layer names

2017-04-12 Thread Even Rouault
Hi Jukka, > > I have problems in using the SQLite dialect if layer names contains numbers > or underscores. I am on Windows. This is just an issue with proper escaping of double quotes in the shell. Identifiers that start with a number (and possibly underscore I haven't checked) need to be

[gdal-dev] SQLite-SQL problem with some layer names

2017-04-12 Thread Rahkonen Jukka (MML)
Hi, I have problems in using the SQLite dialect if layer names contains numbers or underscores. I am on Windows. ogrinfo -dialect sqlite 3d.shp -sql "select * from 3d" INFO: Open of `3d.shp' using driver `ESRI Shapefile' successful. ERROR 1: In ExecuteSQL(): sqlite3_prepare(select * from