auto detection of closed ways / areas #1576
Comments
Author: bob[at]cakebox.net It wouldn't be a replacement for area=yes. The point of that is just to differentiate between for example highway=residential for a road that goes in a ring vs. highway=residential + area=yes where the entire area of the ring is paved. |
Author: bob[at]cakebox.net Perhaps the test should be something like area!='no' and count(nd) > 2 and nd[0] == nd[last]. |
Author: bob[at]cakebox.net I'm taking a look at implementing this in XSLT |
Author: bob[at]cakebox.net Dilemma: The way it's implemented in 1576_alpha1 e=way only matches if e=area wouldn't match, which means things like a highway going in a circle wouldn't render. So what do we do?
|
Author: bob[at]cakebox.net Note to self: Update docs when committing. |
Author: bob[at]cakebox.net Committed in r13647 |
Author: bob[at]cakebox.net Docs updated too. |
Reporter: osm[at]petschge.de
[Submitted to the original trac issue database at 10.57am, Monday, 9th February 2009]
It would be really handy to have an autoselecting thingy detecting if a way is closed to handle that case seperatly in the stylesheets without the need for K=area, v=yes. Possible handle for the stylesheets would be e=polygon.
The text was updated successfully, but these errors were encountered: