Hi experts,

I am not happy with the current code regarding address data.

My understanding so far:
- we have the --bounds option to specify precompiled bounds
- we have the LocationHook that is used to assign tags
mkgmap:admin_level2 to. mkgmap:admin_level10 and
mkgmap:postcode.
- we have inc/address to which
uses either the data from the LocationHook or that from the
OSM element to set mkgmap:city, mkgmap:region etc.
The file inc/address in the default style doesn't care about
any other tags, means, the result doesn't depend on
the exstence of a highway tag or whether the element is
a node, way, or polygon.

I think we should change that.
My proposal:
Instead of inc/address  we have a file address (on the same level
like points, lines, etc)
this file is evaluated before the rules in points/lines/polygons
when it exists. Probably the class RuleFileReader should make sure that
the files points/lines/polygons do not include another
inc/address.

Gerd