<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 Thorsten,<br><br>my thinking was that inc/address does not set any <br>tags which are not prefixed with mkgmap:<br>I see that your inc/address is a bit different to that in the default style,<br>but the only significant difference that I found is this rule:<br>mkgmap:country=DEU | mkgmap:country=AUT | mkgmap:country=CHE {set style:lang=german}<br><br>So, I see no problem as your inc/address also doesn't set name or place_name.<br><br>What do I miss?<br><br>Gerd<br><br><br><br><div>> Date: Thu, 16 Apr 2015 08:44:18 +0200<br>> From: kukuk@suse.de<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] change inc/address to be a standalone ?<br>> <br>> <br>> Hi,<br>> <br>> On Thu, Apr 16, Gerd Petermann wrote:<br>> <br>> > I think we should change that.<br>> > My proposal:<br>> > Instead of inc/address we have a file address (on the same level<br>> > like points, lines, etc)<br>> > this file is evaluated before the rules in points/lines/polygons<br>> > when it exists. Probably the class RuleFileReader should make sure that <br>> > the files points/lines/polygons do not include another<br>> > inc/address.<br>> <br>> Currently I include inc/address in the "middle" of a rules file,<br>> so that I can "fix" highway names and so on.<br>> Like:<br>> name!=* & place_name=* { name '${place_name}' }<br>> name!=* & loc_name=* { name '${loc_name}' }<br>> <br>> or:<br>> tiger:name_base=* & tiger:name_type=Rd & name!=*<br>> {name '${tiger:name_base} Road'}<br>> <br>> <br>> If address becomes a standalone file executed before, I have<br>> to put all rules from lines, points and polygons (yes, I use<br>> inc/address in polygons, too, for mkgmap:city and mkgmap:country<br>> specific rules) before inc/address into address. This does not <br>> make it easier to maintain the style. <br>> <br>> Thorsten<br>> <br>> -- <br>> Thorsten Kukuk, Senior Architect SLES & Common Code Base<br>> SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany<br>> GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)<br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>