Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-23 Thread Jukka Rahkonen
ChiefDan gmail.com> writes: > > I am trying to create a pathfinding graph from a shapefile with a line layer > and point layer. Hi, Have you already studied http://trac.osgeo.org/gdal/wiki/rfc48_geographical_networks_support? -Jukka Rahkonen- ___

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-23 Thread ChiefDan
Would GEOS be a more appropriate library to use? GDAL was my goto due to familiarity. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GDAL-C-Api-create-new-line-segments-from-point-layer-tp5195061p5195070.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___

[gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-23 Thread ChiefDan
I am trying to create a pathfinding graph from a shapefile with a line layer and point layer. Using the C++ API, for each point in the points layer, I need to find the next N points that are connected to that point along one or more OGRLineStrings. I've been able to determine which OGRLineString

Re: [gdal-dev] Pg Table Listing

2015-03-23 Thread Sandro Santilli
On Mon, Mar 23, 2015 at 04:25:30PM +0100, Even Rouault wrote: > Le mercredi 18 mars 2015 18:59:28, Paul Ramsey a écrit : > > With 1000 tables, the disparity is 300ms for the join on geometry_columns > > and 30ms for the straight system table query. > > On my system, just "select * from geometry_co

Re: [gdal-dev] Pg Table Listing

2015-03-23 Thread Even Rouault
Le mercredi 18 mars 2015 18:59:28, Paul Ramsey a écrit : > With 1000 tables, the disparity is 300ms for the join on geometry_columns > and 30ms for the straight system table query. On my system, just "select * from geometry_columns" with 1000 tables takes ~ 800 ms. Digging more into the definitio

Re: [gdal-dev] SD file format

2015-03-23 Thread Jukka Rahkonen
Nick Ves gmail.com> writes: > > From gis SE site [0] : > > "I downliaded a SD file from here: > http://portal.emodnet-hydrography.eu/geographic-grid How can I open it > in QGIS?" > > gdalinfo fails to open the file. Anyone has seen the the format before? > > [0] http://gis.stackexchange.com/q

[gdal-dev] SD file format

2015-03-23 Thread Nick Ves
>From gis SE site [0] : "I downliaded a SD file from here: http://portal.emodnet-hydrography.eu/geographic-grid How can I open it in QGIS?" gdalinfo fails to open the file. Anyone has seen the the format before? [0] http://gis.stackexchange.com/questions/139936/can-a-sd-file-format-be-opened-in

[gdal-dev] No VSIGetMemFileBuffer Method in java gdal

2015-03-23 Thread bingoyinha...@163.com
Hi devs, In C++ gdal,VSIGetMemFileBuffer can convert /vsimem/** file to byte[], but I can not find corresponding method in java gdal. What can I do to use it in java? thanks bing bingoyinha...@163.com ___ gdal-dev mailing list gdal-dev@lists.os

Re: [gdal-dev] Hillshade | Raster Band Rendering

2015-03-23 Thread Gareth Grewcock
Hi - I really appreciate all of your help so far. I am still looking into this though but will get back to you as soon as I have a solution. Cheers - Gareth On Wed, Mar 18, 2015 at 6:17 PM, Joaquim Luis wrote: > My objective is to create a hillshaded color-relief image of a DEM using > command