[gdal-dev] Configuration for UINT16 data

2016-10-26 Thread Jidnyasa Nilange
Hi, I am trying to read band pixels using RasterIO method. However It seems that when my data is in UINT16 format void pointer is returning 0.00 values for all pixels. How do I make sure that irrespective of datatype pixels are read by gdal? Thanks & regards, Jidnyasa ___

[gdal-dev] Gdal.Dataset C# class is not complete

2016-10-26 Thread Hugo Maurício
Most of the deprecated Ogr.DataSource methods that where moved to Gdal.Datasource are not present in the Gdal.Dataset class. Methods like GetLayerByName() or GetLayerCount(). Why is this? Are they in another place? Thank you. Hugo Maurício ___ gdal-de

Re: [gdal-dev] "dialect SQLITE" isn't working as expected in ogr2ogr

2016-10-26 Thread Nelson A. de Oliveira
On Wed, Oct 26, 2016 at 8:51 AM, Even Rouault wrote: > Yes, you didn't explicitly select the geometry field, hence a geometry-less > DBF > is produced. This is indeed a difference in behaviour between OGR SQL (where > geometry selection is implicit) and the SQLite dialect (where it must be > expl

Re: [gdal-dev] "dialect SQLITE" isn't working as expected in ogr2ogr

2016-10-26 Thread Even Rouault
Le mercredi 26 octobre 2016 12:47:28, Nelson A. de Oliveira a écrit : > Hi! > > I can't get a proper output when using "-dialect SQLITE" with ogr2ogr > > For example, this properly works: > > = > ogr2ogr -update -append -f "ESRI Shapefile" -sql "SELECT NM_TIPO_LO, > NM_TITULO_, NM_NOME_LO FR

[gdal-dev] "dialect SQLITE" isn't working as expected in ogr2ogr

2016-10-26 Thread Nelson A. de Oliveira
Hi! I can't get a proper output when using "-dialect SQLITE" with ogr2ogr For example, this properly works: = ogr2ogr -update -append -f "ESRI Shapefile" -sql "SELECT NM_TIPO_LO, NM_TITULO_, NM_NOME_LO FROM \"35032080500_face\"" -t_srs EPSG:4326 merged.shp 35032080500_face.shp = I can s