[Geocoding] [OpenStreetMap] #4504: Suburb should be shown only if the element is inside the city of which the suburb belong
OpenStreetMap
trac at openstreetmap.org
Thu Aug 2 22:03:09 BST 2012
#4504: Suburb should be shown only if the element is inside the city of which the
suburb belong
-----------------------+----------------------------------------------------
Reporter: AnyFile | Owner: geocoding@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: nominatim | Version:
Keywords: |
-----------------------+----------------------------------------------------
If I made a search for
Via Archimede, Bresso, Italia
In the response I get ( place_id="37659795" osm_type="way"
osm_id="27393925")
as well as <city>Bresso</city>
I also get
<suburb>Niguarda</suburb>
Now the suburb Niguarda (place_id=10578283 osm_node=957188590), is a
suburb of the city Milano, not of the city Bresso.
Now it is clear from the documentation of suburb the a suburb is: "[...] a
major sub-division of a place=town or place=city"
So I should assume that a suburb should not extend outside the city.
In this case the suburb is just a point and there is no a relation with is
boundary, so it is not clear where the suburb ends, but surely it should
not extend beyond the boundary of the city.
Looking from a different prospective (this may be easier to understand and
implement), a suburb should be attached to an element only if the
corresponding city or town is attached.
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4504>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Geocoding
mailing list