Re: [gdal-dev] 2 geometries share function
On 15 October 2012 10:46, Nikhil Sai Parupalli wrote: > Hi all, > > What is the function to find two geometries shares common boundary. > Is that geometry.touches(geometry) PostGIS docs provide a fantastic visual aid: http://postgis.refractions.net/documentation/manual-2.0/ST_Touches.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] 2 geometries share function
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 Thanks and Regards Nikhil Sai Parupalli Note: Do not print this email until and unless it is really required. Save paper , stay Green From: Mateusz Loskot [mate...@loskot.net] Sent: Monday, October 15, 2012 3:44 PM To: Nikhil Sai Parupalli Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] 2 geometries share function On 15 October 2012 10:46, Nikhil Sai Parupalli wrote: > Hi all, > > What is the function to find two geometries shares common boundary. > Is that geometry.touches(geometry) PostGIS docs provide a fantastic visual aid: http://postgis.refractions.net/documentation/manual-2.0/ST_Touches.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] 2 geometries share function
Nikhil Sai Parupalli 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, That document is excellent reading and it should have shown that touches is not the function that you thought you need. It is PostGIS document but don't care about that, the knowledge is universal. Instead, be curious and start reading from the previous level http://postgis.refractions.net/documentation/manual-2.0/PostGIS_Special_Functions_Index.html PostGIS is using GEOS and GDAL can be compiled with GEOS, thus the functions can be used in both, even perhaps not exactly the same set. -Jukka Rahkonen- ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] 2 geometries share function
Nikhil Sai Parupalli 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 Looking at the *beautiful* pictures displayed in the PostGIS documentation is what I actually suggested. IMO, PostGIS documentation is a mandatory reference while learning GDAL/OGR (geometry). Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev