[OSM-talk] Connected Polygons and Lines
petermooney78 at gmail.com
Fri Oct 9 11:57:10 BST 2009
Wasn't sure which list to post this message to - please redirect me if
My research group is looking to use OSM data to test out some algorithms we
are working on for (1) map generalisation and (2) more general shape
We need to extract all polygons, lines, and points in a bounding rectangle.
Of particular interest are the "connections" between the features - rivers
flowing into lakes, picnic area or car parks with forest parks, lake within
a forest, etc
I have written some PHP (both accessing the OSM in PostGIS and OSM XML)
which pulls out all the polygons in a bounding rectangle. The PHP is a
rather messy collection of XML parsing and the like. It works but is rather
Is there a tool to do this or a more established approach?
Any hints or tips greatly welcomed.
Thanks in advance,
Dept of Computer Science , NUI Maynooth, Ireland.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk