[OSM-talk] zones for motorway/in town/outof town?

Jacek Konieczny jajcus at jajcus.net
Wed May 20 14:09:20 BST 2009


On Wed, May 20, 2009 at 02:16:05PM +0200, MP 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?
> 
> 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
>  }
> 
> }

I like this idea. This is much better that trying to force adding extra
tagging to OSM, when the information can be derived from existing tags.

Greets,
        Jacek




More information about the talk mailing list