<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Ben,<br><br>thanks for the patch. I've committed it with r3338.<br><br>Gerd<br><br><div><hr id="stopSpelling">Date: Fri, 24 Oct 2014 22:52:27 +0200<br>From: ben@bagu.org<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: Re: [mkgmap-dev] FW: mkgmap in NYC<br><br><div dir="ltr"><div><div><div>Brian: Address search in the US map from 2014.10.23 should now works for New York. I've tested it in simulation mode but it would be great if you could test it out to confirm it's working as well. Thanks for pointing out the issue. <br><br></div>Gerd: I've attached a patch that I'm using to fix the New York address search. I've also included a small change in Canada and the US which removes the 'City of' in front of city names when it's there. Nobody uses the official 'City of' form of city names so it doesn't make sense to have it in the default style. Let me know if there are any issues.<br><br></div>Thanks, Ben<br></div><div><div><div><br><br></div></div></div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Tue, Oct 21, 2014 at 11:39 AM, Gerd Petermann <span dir="ltr">&lt;<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Just noticed that I sent this to Greg only...<br><br>Gerd<br><br><div><hr>From: <a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a><br>To: <a href="mailto:gdt@ir.bbn.com" target="_blank">gdt@ir.bbn.com</a><br>Subject: RE: [mkgmap-dev] mkgmap in NYC<br>Date: Tue, 21 Oct 2014 09:25:45 +0200<br><br>


<div dir="ltr">Hi Greg,<br><br>I thought about this. The precompiled bounds contain the needed info,<br>it is the LocationHook that fills the tags like <span>mkgmap:admin_level6.<br>The LocationHook uses the --name-tag-list option to decide which<br>value is used.<br>It would be possible to fill an additional set of tags like<br></span><span><span>mkgmap:admin_level-alt-2 .. </span></span><span><span><span><span>mkgmap:admin_level-alt-11</span></span>,<br></span>but I don't see much use in this.<br>If I got it right, all we need for New York are a five rules like this:<br></span><span><span>mkgmap:country=USA &amp; mkgmap:city!=* &amp; </span></span><span>mkgmap:admin_level5=New York City &amp; </span><br><span><span>mkgmap:admin_level6=New York County { set mkgmap:city=Manhattan } </span><br></span><span><span><span>mkgmap:country=USA &amp; mkgmap:city!=* &amp; </span></span><span>mkgmap:admin_level5=New York City &amp; </span><br><span><span>mkgmap:admin_level6=</span></span></span><span><span><span>Kings County { set mkgmap:city=Brooklyn } </span><br>...<br><br></span>With the additional alt_name values it would be one rule like this:<br></span><span><span><span>mkgmap:country=USA &amp; mkgmap:city!=* &amp; </span></span><span>mkgmap:admin_level5=New York City {set mkgmap:city='${mkgmap:admin_level-alt-6}' }</span></span><span><span><br>(note that the rule doesn't check if the alt-name is filled)<br><br>Are there more places where this could be used?<br><br></span>Gerd<br></span><br><div>&gt; From: <a href="mailto:gdt@ir.bbn.com" target="_blank">gdt@ir.bbn.com</a><br>&gt; To: <a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a><br>&gt; CC: <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><span><br>&gt; Subject: Re: [mkgmap-dev] mkgmap in NYC<br></span>&gt; Date: Mon, 20 Oct 2014 08:37:36 -0400<div><div class="h5"><br>&gt; <br>&gt; <br>&gt; Gerd Petermann &lt;<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>&gt; writes:<br>&gt; <br>&gt; &gt; [1] This is because we use so called "precompiled boundaries", and changing them like that would<br>&gt; &gt; require hard coded rules in the source.<br>&gt; <br>&gt; That might be the right place to fix this.  Unfortunately New York<br>&gt; really is a weird case (I don't know of any other such case in the US),<br>&gt; but arguably it's important because a lot of people live there :-)<br></div></div></div>                                               </div></div>                                               </div></div>
<br>_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br></blockquote></div><br></div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>