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_levelmkgmap: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?