<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 Brian,<br><br>I fear the patch doesn't solve the problem, because the problem is somewhere else.<br><br>Here is what I found:<br>1) The way 265329468 is a polygon, the rule that matches is <br>(building=* | amenity=*) & area!=no & amenity!=grave_yard [0x13 resolution 24] <br>in the polygons file.<br>The finalize section of the polygons file doesn't contain the <br>inc/address<br>because we think that polygons don't need address info. On the other hand,<br>the --housenumber option requires the info.<br><br>I think we also have to add <br>include 'inc/address'; <br>to the polygon rules.<br><br>Gerd<br><br><div><hr id="stopSpelling">From: brianegge@gmail.com<br>Date: Sat, 25 Oct 2014 00:29:18 +0000<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: Re: [mkgmap-dev] FW: mkgmap in NYC<br><br>Thanks Ben. I'll try it out next week. <br><div class="ecxgmail_quote">On Fri, Oct 24, 2014 at 4:52 PM Ben Konrath <<a href="mailto:ben@bagu.org">ben@bagu.org</a>> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><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"><<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>></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 & mkgmap:city!=* & </span></span><span>mkgmap:admin_level5=New York City & </span><br><span><span>mkgmap:admin_level6=New York County { set mkgmap:city=Manhattan } </span><br></span><span><span><span>mkgmap:country=USA & mkgmap:city!=* & </span></span><span>mkgmap:admin_level5=New York City & </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 & mkgmap:city!=* & </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>> From: <a href="mailto:gdt@ir.bbn.com" target="_blank">gdt@ir.bbn.com</a><br>> To: <a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a><br>> CC: <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><span><br>> Subject: Re: [mkgmap-dev] mkgmap in NYC<br></span>> Date: Mon, 20 Oct 2014 08:37:36 -0400<div><div><br>> <br>> <br>> Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>> writes:<br>> <br>> > [1] This is because we use so called "precompiled boundaries", and changing them like that would<br>> > require hard coded rules in the source.<br>> <br>> That might be the right place to fix this. Unfortunately New York<br>> really is a weird case (I don't know of any other such case in the US),<br>> 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" target="_blank">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>
______________________________<u></u>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">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/<u></u>mailman/listinfo/mkgmap-dev</a></blockquote></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>