[OSM-talk] zones for motorway/in town/outof town?
marcus.wolschon at googlemail.com
marcus.wolschon at googlemail.com
Wed May 20 14:24:22 BST 2009
On Wed, 20 May 2009 14:16:05 +0200, MP <singularita at gmail.com> wrote:
> I wonder, can we have at some place (wiki?) some definition file that
> will specify these per-country default limits in some machine-readable
> way?
I already empoly such a schema in Traveling Salesman:
https://apps.sourceforge.net/mediawiki/travelingsales/index.php?title=TrafficRuleManager
http://travelingsales.svn.sourceforge.net/viewvc/travelingsales/trunk/osmnavigation/src/org/openstreetmap/travelingsalesman/navigation/traffic/
>
> This could look like this:
>
> country(cz) {
>
> maxspeed=90
>
> (highway=motorway|trunk) {
> maxspeed=130
> foot=no
> bicycle=no
> }
>
> is_in_polygon(place=city|hamlet|village|town) {
> maxspeed=50
> }
>
> is_in_polygon(place=city|hamlet|village|town) &&
(highway=motorway|trunk)
> {
> maxspeed=80
> }
>
> }
More information about the talk
mailing list