[gdal-dev] Bathymetry data for US reservoirs.

2013-05-06 Thread Manoj Bist
Hi, I have been using gdal since past few months (without any issue). I am running into a non gdal related issue pertaining to getting depth/bathy data for reservoirs that I am interested in. I am looking for bathymetry data for some USACE reservoirs. I am told this data used to be available in

Re: [gdal-dev] [mbsystem] [GMT4] Messy little problem between GMT4, GDAL 1.9.2 and ArcGIS 10

2013-05-06 Thread John Helly
Hi Kurt. Thanks for the reply. You are correct that mbgrid outputs a GMT netCDF file. I was running gdal_translate to overcome a weirdness that may no longer exist but previously caused the output to be reflected when displayed in GIS tools. This was due to a difference between GDAL utilitie

Re: [gdal-dev] Spatialite geometry format

2013-05-06 Thread Simon Lyngby Kokkendorff
Yes, it was after a call to: OGR_G_SetPoint that the geometry type was altered. Should really test if it's a 2.5D or 2D geometry and use OGR_G_SetPoint_2D in the latter case! Thanks, SImon On Mon, May 6, 2013 at 7:29 PM, Simon Lyngby Kokkendorff wrote: > Hi Even, > > I think you're right. The

Re: [gdal-dev] Spatialite geometry format

2013-05-06 Thread Simon Lyngby Kokkendorff
Hi Even, I think you're right. The transformation seems to alter the geometry type somehow - need to debug a little more to see exactly what's going on. Thanks, Simon On Mon, May 6, 2013 at 3:50 PM, Even Rouault wrote: > Selon Simon Lyngby Kokkendorff : > > > Hi List, > > > >I am program

Re: [gdal-dev] Unable to access GDAL_DATA directory on Android

2013-05-06 Thread Chris Lawrence
Following up as I found the (obvious) issue in case anyone else encouters it: I was statically linking libgdal as per the examples for android. Linking against the libgdal.so library resolved the issue. As an aside, be aware that Android does not support versioned .so libraries. -chris

Re: [gdal-dev] Othogonal projcetion

2013-05-06 Thread MARION VIOLOT
Dear everyone, I found sometehing a way more easy that I could use. It's the method Distance(). Apparently, " if OGR is built without the GEOS library, this method will always fail, issuing a CPLE_NotSupported error ". I guess if it returns me -1 means that it was built with GEOS, but an error occ

Re: [gdal-dev] Spatialite geometry format

2013-05-06 Thread Even Rouault
Selon Simon Lyngby Kokkendorff : > Hi List, > >I am programming an application which can transform ogr-datasources > (using our own transformation library). In that process I use ogr (version > 1.10) via the c-api to read and write datasources - usually it works like > a charm. However, when

[gdal-dev] Spatialite geometry format

2013-05-06 Thread Simon Lyngby Kokkendorff
Hi List, I am programming an application which can transform ogr-datasources (using our own transformation library). In that process I use ogr (version 1.10) via the c-api to read and write datasources - usually it works like a charm. However, when I try to write an output spatialite datasourc

[gdal-dev] Creating .ovr files with gdalwarp/lanczos

2013-05-06 Thread Robb K. Wright
For my data/data type (8-bit indexed images), the lanczos resampling method provides by far the best visual look for overviews – but gdaladdo doesn’t support this type. Does anybody have a way to use gdalwarp to create .ovr files? Robb ___ gdal-de

[gdal-dev] Othogonal projcetion

2013-05-06 Thread MARION VIOLOT
Dear everyone, I am new with GDAL-OGR and only need to orthogonally project points on polyline and then calculate the distance from the projections and the start point of the polyline (in C++, in a Windows Form Application with Visual Studio 2008). I didn't find yet a developed method in GDAL-OGR