<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">2020-12-15 23:38 skrev Martin Koppenhoefer:<br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Take a look back what I mentioned 3 days ago in my first answer: "...If we want to map all those "meta areas" with names we would do well to think about additional ways of delimiting space (i.e. different kind of geometry objects), e.g. a fuzzy border could be represented by providing different points for which it seems undisputed that they are in or out of the area in question. This would be very lightweight for all mappers, because it avoids clear lines which are confusing when they do not correspond with something observable."</blockquote>
</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">This reminds me of my friend's somewhat tongue-in-cheek suggestion, which I mentioned in another thread, that a fuzzy area should be mapped as a function that takes a point as input and returns a number in [0, 1]; 0 for "definitely outside", 1 for "definitely inside".</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Here's an off-the-charts complicated idea for doing that, just to get us started:</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">A fuzzy area is mapped as a relation, type=fuzzy_area. Some tag on that relation ('code', perhaps) contains a program written in a small stack-based language offering geometric operators, such as distance, intersects, touches, etc. The program will get a point as input on the top of the stack, and should consume it and leave a number on top of the stack. Geometric constants needed by the program (points, lines, areas) are supplied as members (nodes, ways, multipolygon relations) of the relation. If the 'code' tag is missing, all members should be nodes, and the result will be computed using a default algorithm (which remains to be defined) using those points.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">1/2 :-)</div>
</body></html>