On 01/04/2013 03:47 PM, David Prime wrote:
Construct a polygon from the two lines and calculate the area inside? Have some magic number denoting an acceptable length/area ratio that scales the limit appropriately. There's a few nasty edge cases, though.
Those linestrings can be polygons themselves already - they can be closed (buildings), self-intersecting and lots of other cool stuff.
Paweł _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev