<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Gerd, WanMil,</p>
<p>Did this patch make it into the "base product"?</p>
<p>Colin</p>
<div> </div>
<p>On 2014-06-03 13:34, GerdP wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Hi Colin,
see <a href="http://files.mkgmap.org.uk/download/214/mkgmap.jar">http://files.mkgmap.org.uk/download/214/mkgmap.jar</a>
Gerd
Colin Smale wrote</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">This is excellent news! Now I will be able to manipulate abbreviations and suffixes in street names. At the moment I don't have the setup to build the program myself... Could someone provide a jar-file so I can give it a test? Thanks again, Colin On 2014-06-01 13:26, WanMil wrote:
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">Hi Gerd, of course! mkgmap:streetname of roads must match exactly to addr:street of nodes/polygons after style processing. WanMil Hi WanMil, if I got that right, the user has to make sure that a name change is applied to nodes and ways. Correct? Gerd Date: Sun, 1 Jun 2014 12:47:33 +0200 From:</blockquote>
</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">wmgcnfg@</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">To:</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">Subject: [mkgmap-dev] [PATCH v1] Fix handling of housenumbers for street names changed by style The patch changes the house number processing in such a way that it uses OSM elements how they are returned from the style processing. The important thing is that street names of house number nodes are evaluated after style processing and not before. WanMil Hi Gerd, maybe I find some time on the weekend to have a look on it. WanMil Hi Colin, I think you found a bug in the housenumber processing. The current implementation uses the streetnames which exist before style processing to produce a map of existing streets and nodes with addr info. After style processing, It tries to find the nodes and ways with the same name as that of a road. With your changes, this will prob! ably fail. If I got that right, we have to create another map that maps old and new streetnames. @WanMil: Do you have time to look at this? Gerd ------------------------------------------------------------------------ Date: Sun, 25 May 2014 22:18:35 +0200 From:</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">colin.smale@</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">To:</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">Subject: [mkgmap-dev] House numbers and styles I have some rules which modify name, addr:street and mkgmap:street in "lines" and "points" which apply some transformations to the street names. The idea is to normalise the names by removing punctuation and standardising abbreviations. The resulting map is missing the house numbers for streets whose name I have modified. In the style rules, I apply identical transformations to the way (looking for highway=* & name=*) and points (looking for addr:street and mkgmap:street, separately of course). I expect that mkgmap can match up the address nodes with the street because the street names are still identical, but something ! is not working right. The modified street name is working fine - that is displayed and is in the index (i.e. I can search for it as a destination). However for these streets only, there don't seem to be any house numbers present. A search for a specific (existing) number on the road finds the road with no numbers, at the centroid of the street. Other streets whose names don't get changed, will allow me to find a specific house number and get the location right as well. Does anyone have any ideas what might be going wrong here? Am I trying to do something that can never work? Is it possible that something in the address handling in mkgmap is using the original street name, before the style has been applied? Is it possible that the styles don't get applied to address-only nodes? I have the following in "lines": # CS: normalise by getting rid of . in abbreviations highway=* & name ~ '.*[.].*' {set name='${name|subst:.-=>-|subst:.~> |subst: +~> }'} ... and the following in "points": # ! CS: normalise by getting rid of . in abbreviations #mkgmap:street ~ '.*[.].*' {set mkgmap:street='${mkgmap:street|subst:.-=>-|subst:.~> |subst: +~> }'; echo "fixed mkgmap:street ${mkgmap:street}"} mkgmap:street ~ '.*[.].*' {set mkgmap:street='${mkgmap:street|subst:.-=>-|subst:.~> |subst: +~> }'} #addr:street ~ '.*[.].*' {set addr:street='${addr:street|subst:.-=>-|subst:.~> |subst: +~> }'; echo "fixed addr:street ${addr:street}"} addr:street ~ '.*[.].*' {set addr:street='${addr:street|subst:.-=>-|subst:.~> |subst: +~> }'} Thanks in advance for any pointers! Colin _______________________________________________ mkgmap-dev mailing list</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a> [<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">1</a>] _______________________________________________ mkgmap-dev mailing list</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a> [<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">1</a>] _______________________________________________ mkgmap-dev mailing list</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a> [<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">1</a>] _______________________________________________ mkgmap-dev mailing list</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a> [<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">1</a>] _______________________________________________ mkgmap-dev mailing list</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a> [<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">1</a>] _______________________________________________ mkgmap-dev mailing list</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a> [<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">1</a>] Links: ------ [1] <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a> _______________________________________________ mkgmap-dev mailing list</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="mailto:mkgmap-dev@.org">mkgmap-dev@.org</a></blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote>
<pre>
--
View this message in context: <a href="http://gis.19327.n5.nabble.com/House-numbers-and-styles-tp5807267p5807826.html">http://gis.19327.n5.nabble.com/House-numbers-and-styles-tp5807267p5807826.html</a>
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
</pre>
</blockquote>
</body></html>