<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>okay, got it. Did not think about mkgmap:street<br>and even the default style has to use this trick.<br><br>Sorry for the noise.<br><br>I think what I was looking for is a set of rules<br>which depend only on the tags created by the LocationHook.<br><br>After the latest news regarding the img format <br>I try to change the --housenumber code to group<br>roads and houses by city/region/country (and maybe also<br>zip code), so I was looking for an efficient way to <br>calculate these values based on the coords of a road point,<br>but probably the only relavant data is in the houses near <br>the road, so we just have to make sure that each element<br>with addr:housenumber has the relavent tags.<br><br>Gerd<br><br><br><br><div>> Date: Thu, 16 Apr 2015 09:28:52 +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>> On Thu, Apr 16, Gerd Petermann wrote:<br>> <br>> > Hi Thorsten,<br>> > <br>> > okay, I think I understand now. You don't use<br>> > any of the possible tricks in your style, but<br>> > you don't want to loose the possibility to do it. <br>> > Right?<br>> <br>> No, I already use some of the tricks to prevent that<br>> inc/address set mkgmap:street is set wrongly due to bad<br>> tagging.<br>> I can workaround them, but yes, I don't want to loose<br>> the possibility to fix them.<br>> <br>> Thorsten<br>> <br>> > I think that is a good point against my proposal.<br>> > <br>> > Gerd<br>> > <br>> > <br>> > > Date: Thu, 16 Apr 2015 09:08:22 +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>> > > On Thu, Apr 16, Gerd Petermann wrote:<br>> > > <br>> > > > 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>> > > This were only examples, the result is used by me to set mkgmap:street<br>> > > in some cases to prevent inc/address from setting it (workaround for some<br>> > > bad tagging, where people add addr:street to a highway, e.g.).<br>> > > <br>> > > So in this special case I could add:<br>> > > highway=* & name=* & addr:street=* {delete addr:street} <br>> > > to address, but I'm afraid that we loose a lot of flexible to<br>> > > "fix" wrong data by rules. And I'm not sure if adding the workarounds<br>> > > from points/lines/polygons to address is really always a good thing<br>> > > or can work.<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>> >                                            <br>> <br>> > _______________________________________________<br>> > mkgmap-dev mailing list<br>> > mkgmap-dev@lists.mkgmap.org.uk<br>> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>> <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>