<div>Urging editors and converters to maintain direction constraints breaks almost all implementations and makes it harder to implement.</div>
<div>There are simple ways like the encoding I proposed.</div>
<div> </div>
<div>Think about what reading OSM areas currently means to validators/converters/editors/renderers because of the node-ways-relationships-and-fancy-tags-stucture: </div>
<div>First they have to read in all(!) nodes into memory befor he can assemble them to ways. </div>
<div>Second, they have to check (hopefully closed) way tags in order to find out, if there is a tag which claims to be an area tag, which is eventually(!?) documented in the wiki. </div>
<div>Third, they have to read in the whole(!) relationship section in order to find out if there are eventually relationships which refer to areas.</div>
<div> </div>
<div>I don't have a silver bullet for all way (= linestring) and area (= complex and/or mult-polygon) encodings. But I get the impression that the current encoding of OSM constatnly tries to avoid a simpler solution, may it be on purpose or not</div>

<div> </div>
<div>-- Stefan<br></div>
<div class="gmail_quote">2008/5/6 Iván Sánchez Ortega <<a href="mailto:ivan@sanchezortega.es">ivan@sanchezortega.es</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">El Martes, 6 de Mayo de 2008, Martijn van Oosterhout escribió:<br>
<div class="Ih2E3d">> 2008/5/6 Karl Newman <<a href="mailto:siliconfiend@gmail.com">siliconfiend@gmail.com</a>>:<br></div>> > [...] but we already have problems with mappers understanding the<br>
<div class="Ih2E3d">> > clockwise/counterclockwise rules;<br>><br>> What clockwise/counterclockwise rules?<br><br></div>Namely, that the inner hulls (rings) of a multipolygon must have the inverse<br>direction of the outer hull (ring), or else some renderers will bork up the<br>
result. See:<br><a href="http://wiki.openstreetmap.org/index.php/Relations/Multipolygon" target="_blank">http://wiki.openstreetmap.org/index.php/Relations/Multipolygon</a><br><br>Validators and automated tools can take care of that, though.<br>
<br>--<br>----------------------------------<br>
<div class="Ih2E3d">Iván Sánchez Ortega <<a href="mailto:ivan@sanchezortega.es">ivan@sanchezortega.es</a>><br><br></div>Now listening to: Hevia - Tierra de Nadie (No Man's Land) (1999) - [7] La<br>Línea Trazada (3:29) (85.363602%)<br>
<br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br>
<br></blockquote></div><br>