[Geocoding] Housenumber 0 - special handling?

Sarah Hoffmann lonvia at denofr.de
Fri May 22 18:56:25 UTC 2015


On Fri, May 22, 2015 at 08:30:45PM +0200, Florian Lohoff wrote:
> Hi Sarah,
> 
> On Fri, May 22, 2015 at 07:13:44PM +0100, Sarah Hoffmann wrote:
> > On Fri, May 22, 2015 at 07:36:16PM +0200, Florian Lohoff wrote:
> > > 
> > > Hi,
> > > can it be that there is special handling for Housenumber 0 in place in
> > > nominatim?
> > 
> > Not special handling as such but there are quite a few places
> > that take a shortcut and check for if($housenumber) instead of
> > checking if($housenumber === null). That is a bug.
> > 
> > > I have a node:
> > > 
> > > https://www.openstreetmap.org/node/3535973748
> > > 
> > > Which is 
> > > 
> > > 54558 Winkel, Reimelshof 0, DE
> > 
> > Are you sure that this the official address or are you just trying to
> > model that this house has no house number? In the latter case
> > addr:housename might be the better solution.
> 
> I verified with the Germany Bundesamt e.g. Webatlas and yes - they say
> its "0".
> 
> http://sg.geodatenzentrum.de/web_bkg_webmap/applications/webatlasde/webatlasde.html

I wouldn't be surprised if that is simply because their software
wasn't specified for addresses without house number. (But I would
be even less surprised if some local authority gave out 0 house numbers
just because the address doesn't fit into their forms otherwise.) What do
the locals say, is the house number signed?

Sarah



More information about the Geocoding mailing list