Re: [gdal-dev] Row count limit in OGR SQL with -dialect=SQLITE

2012-09-27 Thread Jukka Rahkonen
Jukka Rahkonen jukka.rahkonen at mmmtike.fi writes: Hi, The following SQL works fine when using Spatialite as source osm_dataogrinfo osm.sqlite -dialect SQLITE -sql select * from lines where highway is not null limit 20 With native OSM data it fails OSM_dataogrinfo -dialect SQLITE

Re: [gdal-dev] GDAL Python bindings disables setting a non-zero exit code

2012-09-27 Thread Stefano Iacovella
2012/9/27 Luke Pinner pinner.l...@gmail.com Thanks Jason, it's definitely GDAL. The order doesn't matter and I've checked ERRORLEVEL v. %ERRORLEVEL% (see below). I don't think it's related to the batch file which is just a minimal test script. The issue occurs with every Windows python

[gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Jukka Rahkonen
Hi, I had a try with gdaltindex and the new -t_srs option that is discussed in http://trac.osgeo.org/gdal/ticket/4773. It seems to be as Even was thinking in the very beginning and Mapserver does not work with tileindex which is containing reprojected bounding boxes. Images with BBOX in the

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Even Rouault
Selon Jukka Rahkonen jukka.rahko...@mmmtike.fi: Hi, I had a try with gdaltindex and the new -t_srs option that is discussed in http://trac.osgeo.org/gdal/ticket/4773. It seems to be as Even was thinking in the very beginning and Mapserver does not work with tileindex which is containing

[gdal-dev] geotiff

2012-09-27 Thread Neelima Emmani
Hi Can anyone tell me how to display geotiff image in a dotspatial map using c#. With Regards, Neelima Emmani ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Etienne Tourigny
Jukka, nice that you noticed this new feature I added - was about to advertise it here! The goal of adding this feature was not to make it available in mapserver, but for using in desktop applications as a reference for multiple files with different projections (e.g. landsat archives). cheers

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Rahkonen Jukka
Hi, I did not meant to underestimate this little but extremely useful improvement. However, you made me hungry: if you can see so simply the image footprints, why not also the images? I am already publishing in our WMS also the tileindex shapefiles so people can see the image boundaries and

Re: [gdal-dev] Gdaltindex with -t_srs and Mapserver

2012-09-27 Thread Etienne Tourigny
Forwarding this email to qgis-dev list - Regarding tileindex usage with preview image inside qgis. On Thu, Sep 27, 2012 at 10:30 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I did not meant to underestimate this little but extremely useful improvement. However, you made me hungry:

[gdal-dev] SetColorTable() issues on GTiff with python bindings

2012-09-27 Thread Ingmar N
Hello, I would like to add a Colortable to a GeoTiff. Running the SetColorTable() function, python returns 3. GetColorTable() returns empty, no colortable is attached. After browsing the internet for a solution, I tried to run the procedure on a newly created GTiff (which was often suggested).

Re: [gdal-dev] SetColorTable() issues on GTiff with python bindings

2012-09-27 Thread Even Rouault
Selon Ingmar N ini...@ucc.ie: Hello, I would like to add a Colortable to a GeoTiff. Running the SetColorTable() function, python returns 3. GetColorTable() returns empty, no colortable is attached. After browsing the internet for a solution, I tried to run the procedure on a newly created

Re: [gdal-dev] SetColorTable() issues on GTiff with python bindings

2012-09-27 Thread Ingmar N
Unfortunately, the only output I received was 3, which did not help me a lot. It seems to work now with GDT_Byte, although I thought I used it before. Nonetheless, Thanks for your help -- View this message in context:

Re: [gdal-dev] geotiff

2012-09-27 Thread Chaitanya kumar CH
Neelima, Please refer to the DotSpatial docs at http://dotspatial.codeplex.com/documentation On Thu, Sep 27, 2012 at 5:26 PM, Neelima Emmani neelima.emm...@iictechnologies.com wrote: Hi Can anyone tell me how to display geotiff image in a dotspatial map using c#. With Regards, Neelima

Re: [gdal-dev] geotiff

2012-09-27 Thread Neelima Emmani
Hi We tried to open raster file as in suggested document . But unfortunately our application is not accepting any file path in the raster.open() method. Can you please tell me if I am missing any dlls. In addition to gdal_csharp , we also added a reference to