
On Sun, Mar 8, 2009 at 4:26 PM, Bernhard Heibler <bernhard@heibler.de> wrote:
Hi Paul,
this order is controlled by the poi display flag in the TRE header. The possible values are:
0x0 -> Housenumber Streetname, City Zip 0x4 -> Streetname Housenumber, City Zip 0x8 -> Housenumber Streetname, Zip City 0xc -> Streetname Housenumber, Zip City
You should be able to control this flag per country in resources/LocatorConfig.xml with the poiDispFlag tag. Default is 0x0. For Germany, Austria and Switzerland I have set the poi display flag to 0xc. I just checked with with my Nuvi the order looks ok for Germany.
That would explain everything. I have not set the country code in my last tests. I wonder, why not to use addr:country for that? and in case it is not present look up is_in field in neighbouring City of addr:city name... Yeah... much more easily said (written) than done, but still worth thinking about. I am relatively often traveling across country boundaries, so setting one country code for the whole Europe seems not appropriate to me. In the case of address presentation I have seen only "Street_name House_number, Zip City" in my life... so for now I can go with 0xc. In any case I would go strongly against setting anything country-dependend on a global or tile basis, unless the tiles may be cut exactly at the borders, which is not the case at the moment (splitter/routing). Thanks for the explanation, Paul -- Don't take life too seriously; you will never get out of it alive. -- Elbert Hubbard