[mkgmap-dev] mkgmap in NYC
From Ben Konrath ben at bagu.org on Tue Oct 21 10:23:58 BST 2014
Hi everybody, Thanks for helping out with this issue. @Brian you can also just send me a message direct about issues related to the maps I make. I have some changes in the style file so the people on this list won't always be able to help out. But now that we're talking on this list, I hope other don't mind if we continue. I do actually have some changes for the US and NYC that I have been meaning to contribute to mkgmap. Now's probably a good time to see if this it makes sense. Here are my rules for the US: # United States mkgmap:country=USA & mkgmap:region!=* & mkgmap:admin_level4=* { set mkgmap:region='${mkgmap:admin_level4}' } # New York City has different admin levels than the rest of the US. # https://wiki.openstreetmap.org/wiki/United_States_admin_level mkgmap:country=USA & mkgmap:city!=* & mkgmap:admin_level6=* & (name='Manhattan' | alt_name='Manhattan') { set mkgmap:city='New York' } mkgmap:country=USA & mkgmap:city!=* & mkgmap:admin_level6=* & (name='The Bronx' | alt_name='The Bronx') { set mkgmap:city='The Bronx' } mkgmap:country=USA & mkgmap:city!=* & mkgmap:admin_level6=* & (name='Brooklyn'| alt_name='Brooklyn') { set mkgmap:city='Brooklyn' } mkgmap:country=USA & mkgmap:city!=* & mkgmap:admin_level6=* & (name='Queens' | alt_name='Queens') { set mkgmap:city='Queens' } mkgmap:country=USA & mkgmap:city!=* & mkgmap:admin_level6=* & (name='Staten Island' | alt_name='Staten Island') { set mkgmap:city='Staten Island' } mkgmap:country=USA & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8|subst:City of }' } I just tried to find 311 W 51 St. in New York but it didn't work as Brian pointed out. Can anybody see an obvious problem with my rules? Do I need to compile the bounds myself for this rule to work? Once I get this working properly, I can make a proper patch. Thanks, Ben On Mon, Oct 20, 2014 at 2:37 PM, Greg Troxel <gdt at ir.bbn.com> wrote: > > Gerd Petermann <gpetermann_muenchen at hotmail.com> writes: > > > [1] This is because we use so called "precompiled boundaries", and > changing them like that would > > require hard coded rules in the source. > > That might be the right place to fix this. Unfortunately New York > really is a weird case (I don't know of any other such case in the US), > but arguably it's important because a lot of people live there :-) > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20141021/cce7d85d/attachment.html>
- Previous message: [mkgmap-dev] mkgmap in NYC
- Next message: [mkgmap-dev] mkgmap in NYC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list