<div dir="ltr">The proposed system for traffic_enforcement has two premises:<br>1) The direction is pretty vague - it's defined as a 90 degree arc for traffic_enforcement<br>2) The node isn't necessarily on a way - therefore you can't use forward and backwards as suggested (mobile cams on bridges, for example, aren't on the way they're checking anyway)<br>
<br>This problem also chimes (with me at least!) with the speed datatype problem.<br><br>Perhaps a new structure for data_type ?<br>We could define a list of data_types in the wiki such as:<br><br>int (all numeric, no dots, commas or whitespace)<br>
float (numeric, with one optional dot)<br>speed (defined as int and a string one of ("","mph","kmh","knots") )<br>direction (defined as string one of ("N","NE","E","SE","S","SW","W","NW") )<br>
<br>This would:<br>1) be easy to check both on entry ("this doesn't match a datatype... are you sure you meant this?" dialog in JOSM, for example)<br>2) be a good machine-readable source for not-in-map-features to verify tag values (requested on the speed discussion)<br>
3) mean that renderers could be more easily coded to deal with the types specified (rather than having to work out what someone meant by "30 miles ph")<br>4) be easy sources for RegExp checking of entered/encountered/output tag values<br>
<br>Tristan<br><br><div class="gmail_quote">2008/10/17 Mike Collinson <span dir="ltr"><<a href="mailto:mike@ayeltd.biz">mike@ayeltd.biz</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">At 03:07 PM 17/10/2008, Xav wrote:<br>
>Hi<br>
><br>
><br>
>Some waypoints needs to be described with direction.<br>
><br>
>Some examples :<br>
>  - viewpoint<br>
>  - bus stop<br>
>  - surveillance<br>
>  - traffic enforcement<br>
><br>
>Is it possible to make it consistent ?<br>
<br>
</div>Add a tag degrees=xxx where xxx is approximate bearing in degrees true north?<br>
<font color="#888888"><br>
Mike<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tristan Scott BSc(Hons)<br>Yare Valley Technical Services<br><a href="http://www.yvts.co.uk">www.yvts.co.uk</a><br>07837 205829<br>
</div>