<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2014-03-13 15:17, Jo wrote :<br>
</div>
<blockquote
cite="mid:CAJ6DwMCbNKoOvbGDwq17n1BQsu+a=zSVNSxuuOGJUwQmLZN+BA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>What do you mean by 'factorize'?<br>
</div>
</div>
</blockquote>
The same as Sylvain Letuffe and Albert Einstein ;-)<br>
ab+ac=a×(b+c)<br>
a is a multiple common factor that is expressed only once.<br>
It is the street name that can be alongside each number or only once
in the relation.<br>
Понимаешь? ;-)<br>
<br>
Cheers,<br>
<br>
<table>
<tbody>
<tr>
<td>André.</td>
</tr>
</tbody>
</table>
<br>
<blockquote
cite="mid:CAJ6DwMCbNKoOvbGDwq17n1BQsu+a=zSVNSxuuOGJUwQmLZN+BA@mail.gmail.com"
type="cite">
<div dir="ltr">Jo<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-03-13 15:00 GMT+01:00 André Pirard
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:A.Pirard.Papou@gmail.com" target="_blank">A.Pirard.Papou@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi,<br>
<br>
How great to <a moz-do-not-send="true"
href="https://wiki.openstreetmap.org/wiki/Relation:associatedStreet"
target="_blank">finally more than an empty page</a> !!!<br>
But now, if that relation factorizes (2) "street name"
shouldn't it factorize addr: city, country, postcode too?<br>
Shouldn't those keys be allowed in the relation?<br>
Shouldn't those who know the deep secrets of that relation
write that down in this page instead of various messages I
see?<br>
<br>
But I have <a moz-do-not-send="true"
href="http://www.openstreetmap.org/way/176885423"
target="_blank">a little problem here</a>.<br>
addr:housenumber is on a node.<br>
If the relation contains<br>
<ul>
<li>Way <a moz-do-not-send="true"
href="http://www.openstreetmap.org/way/176885423"
title="amenity=theatre and building=house"
target="_blank">Le Théâtre à Denis (176885423)</a>
as house</li>
<li>Node <a moz-do-not-send="true"
href="http://www.openstreetmap.org/node/1873693518"
title="" target="_blank">1873693518</a> as house</li>
</ul>
JOSM diagnoses<br>
"Member for role house of wrong type" - Role verification
problem<br>
2 objects: Rue Sainte-Marguerite, Le Théâtre à Denis<br>
<br>
Now if I remove the second member (1), JOSM diagnoses <b>2
problems</b>:<br>
House number without street<br>
"Member for role house of wrong type" - Role verification
problem<br>
2 objects: Rue Sainte-Marguerite, Le Théâtre à Denis<br>
<br>
(1) the role is "house" but the descriptive comment very
vaguely, tersely and strangely describes it as "one or
more house numbers" which is logical.<br>
Should I assume that "house" is a misnomer, that it means
"address" and that I need only the node?<br>
<br>
(2) After having received the message below, quoting the
worst written article of all the wiki, always invoked
without justifications, saying that "I have not
understood" that relations are not made to factorize tags
of all members, I am surprised to see associatedStreet
factorize the "street" tag of all of its "house" members.<br>
Who did not understand?<br>
A relation, whatever its type but probably not
associatedStreet, could as well factorize a speed limit or
any zone.<br>
<br>
Cheers,<br>
<br>
<table>
<tbody>
<tr>
<td>André.</td>
</tr>
</tbody>
</table>
<br>
<div>On 2012-11-22 01:34, sly (sylvain letuffe) wrote :<br>
</div>
<blockquote type="cite">
<pre>Hi,
Le mercredi 21 novembre 2012 22:53:53, A.Pirard.Papou a écrit :
</pre>
<blockquote type="cite">
<pre>Look at multilinestring, which I see as a swiss-knife way assembly.
In my mind, such a relation is the way to assign the same tags to a
collection of objects making a whole with regard to those tags. If we
add recursion (nesting), which is very easy to do, that's powerful.
</pre>
</blockquote>
<pre>You misunderstood the idea/goal behind the multilinestring proposal. It wasn't
created to factorize tags of all members. It was used to record one real life
feature made of 2 or more OSM way objects. (like a long river, a boundary
between two countries all made of hundreds of ways)
A key sentence has been added to avoid using it badly :
"Do not use it to group loose ways : Relations/Relations_are_not_Categories
(like all path in a forest) Example : if the name is not the same for all
those ways, then you'd better not use this relation"
What you are looking for is a category thing to group "loose ways" sharing a
common property but relation weren't made for that :
<a moz-do-not-send="true" href="http://wiki.openstreetmap.org/wiki/Relations/Relations_are_not_Categories" target="_blank">http://wiki.openstreetmap.org/wiki/Relations/Relations_are_not_Categories</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>