[Talk-at] Irreführendes Nominatim-Ergebnis

scubbx scubbx at openstreetmap.at
Thu Jun 18 20:27:00 UTC 2020


Hallo!

Spannende Beobachtung!

Ohne es mir jetzt im Detail durchdacht zu haben, kann an Andreas
Vermutung oder einem ähnlichen Prozess was dran sein, denn auf der
Beschreibungsseite vom Nominatim
(https://wiki.openstreetmap.org/wiki/Nominatim/Development_overview)
steht über dessen Indizierprozess:

    /"All indexed features are converted to a simple hierarchy (rank) of
    importance with points scored between 0 and 30 (where 0 is most
    important)."/

Street und Road haben einen Index von 26 und House oder building einen
von 28 und postcodes 11-25.

Danach passiert:

    /"For each feature down to level 26 (street level) a list of parents
    is calculated using the following algorithm: /

    //

     1. /All polygon/multi-polygon areas which contain this feature (in
        order of size)./
     2. /All items by name listed in the is_in are searched for within
        the current country (in no particular order)./
     3. /The nearest feature for each higher rank, and all others within
        1.5 times the distance to the nearest (in order of distance)./

    //

    /and a list of keywords is generated from those features. /

    /During the indexing process, an address is also calculated using
    the first feature found for each level. Where an is_in value is
    provided it is used to filter the address."/

Und dann, die konkrete Gebäudeprozessierung mit Adressen:

    /"Building indexing/
    //

    /Buildings, houses and other lower than street level features (i.e.,
    bus stops, phone boxes, etc.) are indexed by relating them to their
    most appropriate nearby street. /

    /The street is calculated as: /

    //

     1. /The street member of an associatedStreet relation/
     2. /If the node is part of a way: /
         1. /If this way is street level than that street/
         2. /The street member of an associatedStreet relation that this
            way is in/
         3. /A street way with 50/100 meters and parallel with the way
            we are in/
     3. /A nearby street with the name given in addr:street of the
        feature we are in or the feature we are part of/
     4. /The nearest street (up to 3 miles)/
     5. /Not linked/

    //

    /All address information is then obtained from the street. As a
    result addr:* tags on low-level features are not processed (except
    as above). /

    /For interpolated ways simple numerical sequences are extrapolated
    (alphanumerical sequences are not currently handled) and additional
    building nodes are inserted into the way by duplicating the first
    (lowest) house number in the sequence."/


Möglicherweise wird das Gebäude der Schelleingasse zugewiesen, da diese
die nächste Straße ist. Der darin liegende Adresspunkt wird dann dem
Gebäude zugeteilt, weil er ein von Nominatim berechnetes "is_in"
Attribut für dieses Gebäude enthält.

Der Schritt "3" von oben greift nicht, weil es keine Straße mit dem Tag
"Alois-Drasche-Park" gibt, die der Adresspunkt zugeornet werden würde.

Es wäre interessant, sich das in der Nominatim Datenbank einmal direkt
anzusehen, was dort für Werte und Zuordnungen hinterlegt sind.

lg, Markus (ScubbX)


Am 18.06.20 um 14:17 schrieb andreas wecer:
> Hallo,
>
> spontane Vermutung, ohne es mir im Detail angesehen zu haben:
>
> Nominatim braucht für street/place ein konkretes OSM-Objekt mit diesem
> Namen. Wenn kein Straßenname angegeben ist, wird die Hausnummer der
> nächstgelegenen Straße zugewiesen. Möglicherweise passiert das auch,
> wenn der angegebene Straßenname nicht gefunden wird, was vermutlich
> hier der Fall ist. 
>
> LG Andreas
>
> _______________________________________________
> Talk-at mailing list
> Talk-at at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-at/attachments/20200618/fec976ae/attachment.htm>


More information about the Talk-at mailing list