[OSM-talk-be] How to tag highway only emergency
Marc Gemis
marc.gemis at gmail.com
Tue Jun 23 14:23:23 UTC 2015
The problem is that emergency is used for both access rules (a permission)
and for features, see http://taginfo.openstreetmap.org/keys/emergency#values
This means that you can never restrict/allow access to a feature in the
"emergency"-tag group (fire stations, fire hydrants, etc.) for
"emergency"-vehicles, in case you ever need this.
You can't have
emergency=<some feature fire_station, water_tank, etc.>
vehicle=no
emergency=yes
on 1 object.
don't know if someone want to do something like this, or whether it is
useful at all. Still I think the two uses should use different keys. (e.g.
use emergency_vehicle for permissions).
regards
m
On Tue, Jun 23, 2015 at 4:13 PM, André Pirard <A.Pirard at ulg.ac.be> wrote:
> On 2015-06-23 11:54, Marc Gemis wrote :
>
>
> On Tue, Jun 23, 2015 at 11:11 AM, Ruben Maes <ruben at janmaes.com> wrote:
>
>> It is currently tagged vehicle=no + emergency=yes.
>> I would go even further and say access=no + emergency=yes.
>>
>>
>>
>
> The problem with this way of tagging access rights for emergency vehicles
> is that you cannot combine it with the other emergency tags.
> Suppose there is a water tank with only permission for emergency, you are
> stuck.
>
> while
>
> emergency=water_tank
> access= emergency
>
> works.
>
> That might be a reason to stop using emergency=yes for access and leave
> the emergency tag for features. IMHO, we should not combine a tag used for
> access rights and for features.
>
>
> p.s. the example above might not be the best.
>
> emergency=* is a permission.
> Stating a permission without a restriction is like doing nothing.
> GPS (routing) software will forbid nothing.
> As Rubin writes, a *=no is needed first to disallow something.
> vehicle=no
> emergency=yes
> Will disallow vehicles except emergency ones.
>
> Suppose there is a water tank with only permission for emergency, you are
> stuck.
> ...
> emergency=water_tank
> access= emergency
>
> What do you mean exactly?
> emergency=* and access=* can only used with yes or no.
> Else, GPS (routing) software will not understand.
> It means that the emergency category of vehicles is allowed,
> not that anything is allowed in case of emergency.
>
> GPS software uses strict logic to apply strict wiki rules.
>
> André.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-be/attachments/20150623/d0c41680/attachment.htm>
More information about the Talk-be
mailing list