<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2017-04-27 00:48, Warin wrote:<br>
</div>
<blockquote
cite="mid:d2c6bbf8-0045-d4fc-02d2-8d784d0c9038@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<pre><tt>Hi,</tt></pre>
<pre><tt>
</tt></pre>
<pre><tt>I have come up with some detail tagging for rest areas but want to get some oversight on it and help with one aspect.
</tt></pre>
<pre><tt><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Tag:highway%3Drest_area">http://wiki.openstreetmap.org/wiki/Tag:highway%3Drest_area</a>
</tt></pre>
<pre><tt>
</tt></pre>
<pre><tt>Easy(?) Details</tt></pre>
<pre><tt>Some of these have time limits - easy enough to use a conditional max stay tag
</tt></pre>
<pre> rest_area:condition:maxstay=20
</pre>
<pre>Stops people 'camping' over a long period.
</pre>
<pre>Restricted to HGV use only, use access tags
</pre>
<pre> <tt style="background:#EEF" dir="ltr" class="mw-content-ltr"><bdi style="white-space:nowrap"><a moz-do-not-send="true" href="http://wiki.openstreetmap.org/wiki/Key:access" title="Key:access">access</a></bdi>=<a moz-do-not-send="true" href="http://wiki.openstreetmap.org/wiki/Tag:access%3Dno" title="Tag:access=no"><bdi>no</bdi></a></tt> with <tt style="background:#EEF" dir="ltr" class="mw-content-ltr"><bdi style="white-space:nowrap"><a moz-do-not-send="true" href="http://wiki.openstreetmap.org/wiki/Key:hgv" title="Key:hgv">hgv</a></bdi>=<a moz-do-not-send="true" href="http://wiki.openstreetmap.org/wiki/Tag:hgv%3Dyes" class="mw-redirect" title="Tag:hgv=yes"><bdi>yes</bdi></a></tt></pre>
<pre>
More difficult detail
</pre>
<pre>One I am having problems with, where they can be used for 'camping' with a caravan/camper-van (but probably not a tent).</pre>
<pre>rest_area:camping=caravan
or
rest_area:camping:caravan=yes
</pre>
<pre>would convey the meaning .. but is it a 'good' tag that would allow for other things and follow other tagging methods?
</pre>
<p><tt>caravan=yes could simply mean access and not convey the
camping aspect? Note the max stay would still apply (if
there). <br>
</tt></p>
<p><tt><br>
</tt></p>
<p><tt>Any thoughts on tagging these features for rest areas?<br>
</tt></p>
<br>
</blockquote>
Hi,<br>
<br>
Your questions show that there is no OSM formal definition of the
usage of name space.<br>
I once sketched one, a key of which is rules to make a canonical
representation of the tags.<br>
It says that for the main tag (the one representing the object (vs
attributes))<br>
highway=rest_area canonically means highway:rest_area=yes<br>
and that attribute tags append to that.<br>
So, your examples become<br>
highway:rest_area:rest_area:camping=caravan
<br>
which in its canonical form is
highway:rest_area:rest_area:camping:caravan=yes<br>
obviously, one rest_area is too much and it must be:<br>
camping=caravan ==> highway:rest_area:camping:caravan=yes<br>
camping:caravan=yes ==> highway:rest_area:camping:caravan=yes<br>
same canonical representation but allowing other attributes of
camping than caravan.<br>
camping=yes (attribute of rest_area) would mean that camping is
allowed<br>
caravan=yes (attribute of rest_area) would mean that the area can be
used by caravans<br>
(but an access=* would be the normal way to do it)<br>
camping=caravan=yes would mean that the caravans can be used for
camping<br>
<br>
I hope I made no mistake.<br>
<br>
Well, it's risky writing this.<br>
Someone may come down on me again to scold me and say : "we" do not
do that.<br>
Very logically not saying who is "we".<br>
That's apparently not you.<br>
<br>
BTW, a rest_area can be just some space beside a road.<br>
It is not a parking but it can be used to momentarily stop out of
the traffic.<br>
Right?<br>
<br>
Cheers,<br>
<br>
<table>
<tbody>
<tr>
<td>André.</td>
</tr>
</tbody>
</table>
<br>
<br>
</body>
</html>