Nominatim place/administrative boundary Was: Kann bzw. will das jemand ändern?

Florian Lohoff f at zz.de
Mo Jan 23 15:16:31 CET 2017


On Mon, Jan 23, 2017 at 03:03:59PM +0100, Sebastian Lisken wrote:
> On 2017-01-23 14:33, Florian Lohoff wrote:
> >Es wertet boundary=administrative admin_level= aus und nodes mit place=
> 
> Nicht mit allen Werten von place. Es gibt in Bielefeld viele nodes
> mit place=farm, einige mit locality, hamlet und ein neighbourhood
> und ein isolated_dwelling. Vor allem die farms sollten in
> Suchergebnissen vorkommen, tun sie aber nicht. So nennt z.B. die
> Suche nach „Müllverbrennungsanlage, Bielefeld“ den Knoten „Tieplatz”
> in Heepen (locality), aber nicht den viel näheren „Meyer zu
> Schelpmilse“ (farm).

> Nominatim: http://www.openstreetmap.org/geocoder/search_osm_nominatim?query=M%C3%BCllverbrennungsanlage%2C+Bielefeld

http://nominatim.openstreetmap.org/details.php?place_id=80833488

Das ist ein landuse=industrial - Find ich nicht so schlecht Lösung.

http://nominatim.openstreetmap.org/details.php?place_id=46903365

Meyer zu Schelpmilse findet nominatim - auch den place:farm ...
"Tieplatz" ist als "hamlet" eingetragen was sicherlich quatsch ist.
Damit ist da eine Hierarchie:

	place=farm -> place=suburb -> place=hamlet -> place=city

> Also: welche Werte von place sind relevant für nominatim und welche nicht?

Imho werden so gut wie alle ausgewertet ... Ich habe mal gerade den
Nominatim gecloned von gitgub und mal in den Source gesehen - lib/lib.php.

Die Hierarchie geht da irgendwie nicht so draus hervor:

egrep "administrative|place" lib/lib.php  | less

    'boundary:administrative:1' => array('label' => 'Continent', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'boundary:administrative:2' => array('label' => 'Country', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'place:country' => array('label' => 'Country', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defzoom' => 6, 'defdiameter' => 15),
    'boundary:administrative:3' => array('label' => 'State', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'boundary:administrative:4' => array('label' => 'State', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'place:state' => array('label' => 'State', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defzoom' => 8, 'defdiameter' => 5.12),
    'boundary:administrative:5' => array('label' => 'State District', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'boundary:administrative:6' => array('label' => 'County', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'boundary:administrative:7' => array('label' => 'County', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'place:county' => array('label' => 'County', 'frequency' => 108, 'icon' => 'poi_boundary_administrative', 'defzoom' => 10, 'defdiameter' => 1.28),
    'boundary:administrative:8' => array('label' => 'City', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'place:city' => array('label' => 'City', 'frequency' => 66, 'icon' => 'poi_place_city', 'defzoom' => 12, 'defdiameter' => 0.32),
    'boundary:administrative:9' => array('label' => 'City District', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'boundary:administrative:10' => array('label' => 'Suburb', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'boundary:administrative:11' => array('label' => 'Neighbourhood', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'place:region' => array('label' => 'Region', 'frequency' => 0, 'icon' => 'poi_boundary_administrative', 'defzoom' => 8, 'defdiameter' => 0.04),
    'place:island' => array('label' => 'Island', 'frequency' => 288, 'icon' => '', 'defzoom' => 11, 'defdiameter' => 0.64),
    'boundary:administrative' => array('label' => 'Administrative', 'frequency' => 413, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'boundary:postal_code' => array('label' => 'Postcode', 'frequency' => 413, 'icon' => 'poi_boundary_administrative', 'defdiameter' => 0.32),
    'place:town' => array('label' => 'Town', 'frequency' => 1497, 'icon' => 'poi_place_town', 'defzoom' => 14, 'defdiameter' => 0.08),
    'place:village' => array('label' => 'Village', 'frequency' => 11230, 'icon' => 'poi_place_village', 'defzoom' => 15, 'defdiameter' => 0.04),
    'place:hamlet' => array('label' => 'Hamlet', 'frequency' => 7075, 'icon' => 'poi_place_village', 'defzoom' => 15, 'defdiameter' => 0.04),
    'place:suburb' => array('label' => 'Suburb', 'frequency' => 2528, 'icon' => 'poi_place_village', 'defdiameter' => 0.04),
    'place:locality' => array('label' => 'Locality', 'frequency' => 4113, 'icon' => 'poi_place_village', 'defdiameter' => 0.02),
    'place:farm' => array('label' => 'Farm', 'frequency' => 1162, 'icon' => '', 'defdiameter' => 0.02),
    'place:airport' => array('label' => 'Airport', 'frequency' => 36, 'icon' => 'transport_airport2', 'defdiameter' => 0.03),
    'place:house' => array('label' => 'House', 'frequency' => 2086, 'icon' => '', 'defzoom' => 18),
    'place:house_name' => array('label' => 'House', 'frequency' => 2086, 'icon' => '', 'defzoom' => 18),
    'place:house_number' => array('label' => 'House Number', 'frequency' => 2086, 'icon' => '', 'defzoom' => 18),
    'place:country_code' => array('label' => 'Country Code', 'frequency' => 2086, 'icon' => '', 'defzoom' => 18),
    'place:moor' => array('label' => 'Moor', 'frequency' => 118, 'icon' => ''),
    'place:islet' => array('label' => 'Islet', 'frequency' => 44, 'icon' => ''),
    'place:postcode' => array('label' => 'Postcode', 'frequency' => 27267, 'icon' => ''),
    'place:houses' => array('label' => 'Houses', 'frequency' => 85, 'icon' => ''),


Flo
-- 
Florian Lohoff                                                 f at zz.de
             UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away


Mehr Informationen über die Mailingliste OSM