Re: [gdal-dev] ORA-01406 error when reading many attributes from Oracle

2012-10-17 Thread Jukka Rahkonen
Eli Adam eadam at co.lincoln.or.us writes: Jukka, Could it be possible that OCI driver reserves too little of some resoursesand fails because of that with large records? I am now running a query with minimum set of columns in my query and ogr2ogr is running well and I believe it

Re: [gdal-dev] New OGR driver to read OpenStreetMap .osm / .pbf files

2012-10-17 Thread Frank Broniewski
Hi Even, I need to reinstall my OSM database due to the license change to ODBL. Usually I use osm2pgsql for that, but I am willing to sacrifice a little downtime of my DB in order to test the GDAL implementation. Before storming ahead I wanted to know how far you are with the driver

[gdal-dev] Map control in dotspatial

2012-10-17 Thread Nikhil Sai Parupalli
Hi , Here in my application I have a dotspatial map control , when user clicks particular place on map how to get information of that particular point. Thanks and Regards Nikhil Sai Parupalli Note: Do not print this email until and unless it is really required. Save paper , stay Green

Re: [gdal-dev] Map control in dotspatial

2012-10-17 Thread Mateusz Loskot
On 17 October 2012 10:34, Nikhil Sai Parupalli nikhil.parupa...@iictechnologies.com wrote: Here in my application I have a dotspatial map control , when user clicks particular place on map how to get information of that particular point. FYI, it's off-topic here. Best regards, -- Mateusz

Re: [gdal-dev] 2 geometries share function

2012-10-17 Thread Jukka Rahkonen
Nikhil Sai Parupalli nikhil.parupalli at iictechnologies.com writes: Hey Loskot This code deals with lot of sql stmts. but here in our development we never worked with databases. We are using gdal libraries , is there any function in gdal or any other libraries that serves the purpose Hi,

Re: [gdal-dev] 2 geometries share function

2012-10-17 Thread Mateusz Loskot
Nikhil Sai Parupalli nikhil.parupalli at iictechnologies.com writes: Hey Loskot This code deals with lot of sql stmts. but here in our development we never worked with databases. We are using gdal libraries , is there any function in gdal or any other libraries that serves the purpose

Re: [gdal-dev] ORA-01406 error when reading many attributes from Oracle

2012-10-17 Thread Smith, Michael ERDC-RDE-CRREL-NH
Jukka, If the field is 17 char wide (rather than 17 bytes wide) then that is your problem. A varchar2 column can use either char or byte specifications. http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements001.htm#i 45694 If neither char or byte is specified, it defaults to your

Re: [gdal-dev] ORA-01406 error when reading many attributes from Oracle

2012-10-17 Thread Jukka Rahkonen
Jukka Rahkonen jukka.rahkonen at mmmtike.fi writes: I suspect that the reason for the trouble is that this field is a 17 character wide VARCHAR2 and I have in the data values like ÖVRE SÖDERGÄRDAN . Database is using UTF-8 and Ö,Ö and Ä are taking more than one byte each. Perhaps OCI driver

[gdal-dev] Orthorectification iN GDAL

2012-10-17 Thread Luis Lisboa
Greetings I want to orthorectify a few SPOT images and at QGIS mailing list someone indicated me that this feature is available in GDAL. I have checked but I didn't find anything. Can anyone confirm me this? Regards Luis ___ gdal-dev mailing list

Re: [gdal-dev] Orthorectification iN GDAL

2012-10-17 Thread Brent Fraser
As far as I know, GDAL will orthorectify images supplied with RPC data (e.g. Digital Globe's Worldview/Quickbird, GeoEye's Iknonoe, GeoEye1, etc) but not Spot imagery. You could use OSSIM to orthorectify Spot. Best Regards, Brent Fraser On 10/17/2012 5:22 AM, Luis Lisboa wrote: Greetings I

[gdal-dev] Implementing overview support apart from the default support

2012-10-17 Thread Jorge Arevalo
Hello, I'm working with Mapserver, trying to serve images stored in PostGIS Raster via WMS using the new version of GDAL PostGIS Raster driver (I'm working to improve it). The images appears misplaced when overview tables are used. The overviews were correctly created, but the driver doesn't

Re: [gdal-dev] Implementing overview support apart from the default support

2012-10-17 Thread Even Rouault
Selon Jorge Arevalo jorgearev...@libregis.org: Hello, I'm working with Mapserver, trying to serve images stored in PostGIS Raster via WMS using the new version of GDAL PostGIS Raster driver (I'm working to improve it). The images appears misplaced when overview tables are used. The

Re: [gdal-dev] Orthorectification iN GDAL

2012-10-17 Thread Mateusz Loskot
That's a nice QA for the GDAL FAQ, seriously. Mateusz Łoskot (sent from mobile, apology for top-post or broken quotes) On 17 Oct 2012 14:45, Brent Fraser bfra...@geoanalytic.com wrote: As far as I know, GDAL will orthorectify images supplied with RPC data (e.g. Digital Globe's

Re: [gdal-dev] Orthorectification iN GDAL

2012-10-17 Thread Dmitry Baryshnikov
17.10.2012 15:22, Luis Lisboa ?: Greetings I want to orthorectify a few SPOT images and at QGIS mailing list someone indicated me that this feature is available in GDAL. I have checked but I didn't find anything. Can anyone confirm me this? Regards Luis

[gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI SHP format Vector

2012-10-17 Thread Peter Willis
Hello, Is it possible to use ESRI SHP polygon file to mask ENVI BSQ img format files with more than 1 band? I can mask a GTiff file using the SHP but ENVI file does not appear to work. Gdal version is 1.6.3 . The documentation appears unclear for any raster that is not specifically GTiff.

Re: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI SHP format Vector

2012-10-17 Thread Frank Warmerdam
Peter, I'm guessing you are using the gdal_polygonize.py script for masking. Is that right? I am not aware of any particular reason this shouldn't work for any update in place format (ie. shows rw+ in the gdalinfo --formats list). ENVI is in this list. BTW, before we do a lot of work to

Re: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI SHP format Vector

2012-10-17 Thread Peter Willis
Hello, I was using gdal_rasterize directly rather than gdal_polygonize.py . .No gdal_poygonize.py found for my revision.. I was forgetful of -formats via gdalinfo. This shows rw+ for ENVI format which is what I need. Upon looking I find that I have already installed revision 1.9 in

Re: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI SHP format Vector [SEC=UNCLASSIFIED]

2012-10-17 Thread Pinner, Luke
Try gdalwarp (http://www.gdal.org/gdalwarp.html) with the -cutline argument. gdalwarp -of envi -cutline shapefile.shp multibandenvi.dat croppedoutput.dat Luke -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Peter Willis

Re: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI SHP format Vector

2012-10-17 Thread Peter Willis
Hello, On second thoughts, this is not really what I want. I have a SHP format polygon vector file already. I want to use that existing vector file to mask the ENVI format BSQ file through all (49) channels. (ie: 'mask' meaning set any values inside vector polygons to a specific value

Re: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI SHP format Vector [SEC=UNCLASSIFIED]

2012-10-17 Thread Pinner, Luke
Perhaps something like for i in {1..49}; do gdal_rasterize -burn -999 -b $i mask.shp 49bandenvi.dat; done Luke From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Peter Willis Sent: Thursday, 18 October 2012 9:43 AM To: gdal-dev@lists.osgeo.org

Re: [gdal-dev] Using gdal_rasterize to mask ENVI file Using ESRI SHP format Vector

2012-10-17 Thread Frank Warmerdam
On Wed, Oct 17, 2012 at 3:42 PM, Peter Willis pwil...@aslenv.com wrote: Hello, ** ** On second thoughts, this is not really what I want. ** ** I have a SHP format polygon vector file already. I want to use that existing vector file to mask the ENVI format BSQ file through