Re: [gdal-dev] Ogr: ExecuteSQL with MSSQL and geometry column

2012-07-17 Thread Chaitanya kumar CH
Benjamin, The name 'SELECT' is intentional. We can't set it to the table's name. The select command could be a complex one involving multiple tables. The result layer has the native OGR format. The geometry is separate from the attributes/fields. So, there will be no geometry column in it. You ca

Re: [gdal-dev] output of geotiff from numPy array

2012-07-17 Thread Travis Kirstine
It appears that you are creating a 8-bit unsigned integer as the output (GDT_Byte). Try switch it to GDT_Float32 http://www.gdal.org/gdal_8h.html#a22e22ce0a55036a96f652765793fb7a4 Regards On 16 July 2012 17:23, William Hudspeth wrote: > Hello, > > I am trying to write a two-dimensional numPy f

[gdal-dev] output of geotiff from numPy array

2012-07-17 Thread William Hudspeth
Hello, I am trying to write a two-dimensional numPy float array to a Geotiff using the Python GDAL bindings. I use code similar to format="GTiff" dst_driver=GetDriverByName(format) srs=osr.SpatialReference() srs.ImportFromEPSG(4326) dust_abs=dst_driver.Create(dst_filename,pream_array_columns,pre

[gdal-dev] Ogr: ExecuteSQL with MSSQL and geometry column

2012-07-17 Thread Benjamin
Hi, I code an application with a warper C# of Ogr. I have a MSSQL data base which work fine with Ogr (except this issue). I have a table dbo.MY_TABLE with 3 fields (D, CHART_ID, WKB_GEOMETRY). To minimise my acces to SQL Serveur (Driver MSSQLSpatial) I want to copy a request SQL into a Spatial La

Re: [gdal-dev] How to compile gdal 1.9.1 from GDAL'S SVN ?

2012-07-17 Thread Etienne Tourigny
Looking at the osgeo4w current package page[1], it looks like gdal 1.9.1-RC2-2 is available, which I think is identical to gdal-1.9.1 Did you try qgis with the osgeo4w installer or the standalone installer? [1] http://download.osgeo.org/osgeo4w/versions.html Etienne On Tue, Jul 17, 2012 at 4:3

Re: [gdal-dev] bigtiff support maybe not working

2012-07-17 Thread Even Rouault
Selon Margherita Di Leo : > On Mon, Jul 16, 2012 at 6:01 PM, Margherita Di Leo wrote: > > > > > now I'm trying with: > > > > CACHE="--config GDAL_CACHEMAX 8000 -wm 2000" > > gdalwarp $CACHE -srcnodata - -dstnodata - -r bilinear -tr $RES > > $RES $LIST mosaik_$RES.tif -co TILED=YES > > > >

Re: [gdal-dev] bigtiff support maybe not working

2012-07-17 Thread Jukka Rahkonen
Margherita Di Leo gmail.com> writes: > > now I'm trying with:CACHE="--config GDAL_CACHEMAX 8000 -wm 2000"gdalwarp $CACHE -srcnodata - -dstnodata - -r bilinear -tr $RES $RES $LIST mosaik_$RES.tif -co TILED=YES > > It is taking long, of course, but somehow it is working and I don't get e

Re: [gdal-dev] How to compile gdal 1.9.1 from GDAL'S SVN ?

2012-07-17 Thread Mateusz Loskot
On 17 July 2012 08:39, laurent celati wrote: > I would like compile gdal 1.9.1 from GDAL'S SVN then compile Qgis 1.8 from > source using Gdal SVN version because i 'm working on displaying postgis > raster data with qgis. And i noticed a bug with gdal 1.9 regarding overviews > (bug fixed on gdal 1

Re: [gdal-dev] How to compile gdal 1.9.1 from GDAL'S SVN ?

2012-07-17 Thread Jean-Claude Repetto
Le 17/07/2012 09:39, laurent celati a écrit : Dear Mr. Loskot, I would like compile gdal 1.9.1 from GDAL'S SVN then compile Qgis 1.8 from source using Gdal SVN version because i 'm working on displaying postgis raster data with qgis. And i noticed a bug with gdal 1.9 regarding overviews (bug fix

Re: [gdal-dev] How to compile gdal 1.9.1 from GDAL'S SVN ?

2012-07-17 Thread laurent celati
Dear Mr. Loskot, I would like compile gdal 1.9.1 from GDAL'S SVN then compile Qgis 1.8 from source using Gdal SVN version because i 'm working on displaying postgis raster data with qgis. And i noticed a bug with gdal 1.9 regarding overviews (bug fixed on gdal 1.9.1 according to Mauricio de paulo_