[Openstreetmap-dev] REST

Schuyler Erle schuyler at nocat.net
Fri Jul 22 16:59:21 BST 2005


* On 20-Jul-2005 at  3:19AM PDT, Nick Whitelegg said:
> 
> My schema involves an int value for each permission, rather than a boolean,
> to account for different classes of road, e.g.
> 
> regular footpath: foot 1, horse 0, bike 0, car 0
> bridleway: foot 1, horse 1, bike 1, car 0
> byway: foot 1, horse 1, bike 1, car 1
> minor road: foot 1, horse 1, bike 1, car 2
> B road (Secondary road, D road, county road): foot 1, horse 1, bike 1, car
> 3
> A road (Primary road, N road, state road) : foot 1, horse 1, bike 1, car 4
> Motorway (Autobahn, Autoroute, Interstate, etc) : foot 1, horse 1, bike 1,
> car 5

I like this, but one nit to pick: There are circumstances (what we
call interstates, or limited access roads, or freeways here in the US,
and I believe they are referred to as motorways elsewhere) where a
road would be:

Freeway/Motorway: foot 0, horse 0, bike 0, car 5

This is important! of course, because, in much the same way that there
are places it's reasonable to route a pedestrian but not a car, there
are lots of places that are reasonable to route cars but NOT
pedestrians.

SDE




More information about the dev mailing list