Hi Gert,

yes, I am sure these problems were partly solved in each company to deduplicate
adresses, but we probably cannot code that in Java for the whole world. Besides that I think
now that mkgmap is not the right place to do it, or at least not the housenumber2 branch ;-)

Gerd





From: thesurveyor@wolke7.net
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Sat, 18 Apr 2015 14:40:48 +0200
Subject: Re: [mkgmap-dev] address search and case significance of street name

Hi,
 
oooh, comparing street names, thats a never ending story :-(
 
I assume you will find every typographical error you can think of. And I'm sure you/we won't find a rule to correct those errors. So from my point of view the only thing we can do is to simplify the name to eliminate the typical typos.
 
I've done this for a database of street names, just for Germany a long time ago. The data haven't been from OSM, it was long before OSM started.
 
In that system we
- we replaced all special chars like, ".,;-<>!§$%&/()=?#*+:" with nothing
- we replaced more than one blank with one blank
- we replaced other white characters, like TAB with a blank
- we replaced the German "ß" (scharfes s) with "s", "ä" with "ae" and so on
- we replaced all double chars e.g. "aa", "bb", "cc", ... with the single char "a", "b", "c", ...
- compared all street names case-insensitiv (in fact we did this by replacing all upper chars with the lower char)
 
and then we used that string for all comparisons of the street names. But we displayed the original string.
 
Maybe that helps you a little bit.
 
Regards,
Gert
 
 
Gesendet: Samstag, 18. April 2015 um 13:53 Uhr
Von: "Thorsten Kukuk" <kukuk@suse.de>
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] address search and case significance of street name

Hi Andrzej,

On Sat, Apr 18, Andrzej Popowski wrote:

> > If any element processed later has a name like "ABC street" or "abc
> > Street" which we consider as a street name, we will use "Abc Street"
> > again.
>
> I'm not sure what for are used names from this table. I don't think
> that case could be important for comparison of street names. But I
> would prefer to see street name on a map with the original spelling.

But what is the original spelling? And more important, what's the
right one?
name of highway?
name of route=street?
addr:street?

Yes, some people add addr:street to highways ...

During the last days I looked at the warnings from mkgmap in
regards to mismatch of street names, and I can only say, that
typos are everywhere.

Thorsten

--
Thorsten Kukuk, Senior Architect SLES & Common Code Base
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 
 

_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev