<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 Walter,<br><br>I see that mkgmap fills the address info, and it also seems to write it, <br>but MapSource seems to ignore it. I have no experience with this.<br>Maybe this happens because of the big number of POIs?<br><br>Gerd<br><br><div>> From: Walter.Schloegl-Resch@aon.at<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Date: Sun, 18 Jan 2015 15:21:35 +0100<br>> Subject: Re: [mkgmap-dev] difference between addlabel and poi-address<br>> <br>> Hi Gerd,<br>> <br>> I have tried with { set mkgmap:postal_code=... } but it's also not working.<br>> <br>> Since all POIs are getting the address automatically,<br>> I do not understand why the pure address POI is not getting it in the same <br>> way.<br>> <br>> With this code (and the option --poi-address):<br>> <br>> addr:housenumber=* { name '${addr:housenumber}' } [0x1e04 resolution <br>> 24]<br>> <br>> I would expect, that 0x1e04 is a POI with the name equal to housenumber <br>> (e.g. 19)<br>> and an address field filled with "Street 19, 1234 City"<br>> <br>> Setting some special mkgmap fields with the address manually would be just a <br>> workaround,<br>> if the address is not working for pure address POIs.<br>> <br>> Otherwise it would be better, if I could find the original error that I'm <br>> making.<br>> <br>> Walter<br>> <br>> -----Ursprüngliche Nachricht----- <br>> From: GerdP<br>> Sent: Sunday, January 18, 2015 1:05 PM<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] difference between addlabel and poi-address<br>> <br>> Hi Walter,<br>> <br>> setting addr:postcode has no effect on POIs as long as you don't<br>> use that info to set also mkgmap:postal_code.<br>> <br>> Gerd<br>> <br>> <br>> Walter Schlögl wrote<br>> > Hi Gerd,<br>> ><br>> > thanks for this hint, I have played around with it and was successfull in<br>> > most of the cases.<br>> ><br>> > Here my working solutions:<br>> ><br>> > ok 1) If there is opening_hours set, show this info before the phone<br>> > number.<br>> ><br>> > opening_hours=* { set mkgmap:phone=' (${opening_hours})<br>> > ${mkgmap:phone|def:}' }<br>> ><br>> > ok 2) If there is a website, show this info after the phone number.<br>> ><br>> > website=* { set mkgmap:phone='${mkgmap:phone|def:} ${website}' }<br>> ><br>> > In one example I was not successfull.<br>> > I am generating 1-point POIs for all points where only the addr tags are<br>> > set, but no other tags available.<br>> > This will show all the housenumbers in low resolution.<br>> > As addr info I would like to get the full addr incl. street, postcode and<br>> > so on.<br>> > I tried with different solutions but nothing worked, I am getting the<br>> > name-tag filled but not the addr-field.<br>> ><br>> > Here my code:<br>> ><br>> > addr:housenumber=* | addr:unit=* | addr:door=*<br>> > { name '${addr:unit}/${addr:door}' |<br>> > '${addr:housenumber}/${addr:unit}' |<br>> > '${addr:door}' |<br>> > '${addr:unit}' |<br>> > '${addr:housenumber}';<br>> > set addr:postcode='${addr:street|def:} ${addr:housenumber|def:}<br>> > ${addr:postcode|def:} ${addr:city|def:} ${addr:country|def:}'<br>> > } [0x1e04 resolution 24]<br>> ><br>> > The first part is working fine, I can see the housenumber or unit + door<br>> > on all buildings and also as point if there is no building.<br>> > The second part is not working, the postcode tag is not written into the<br>> > addr-field.<br>> ><br>> > Is there any restriction with the addr-field of the POI-info if no other<br>> > tags are available than the addr:xxx tags?<br>> ><br>> > Walter<br>> ><br>> ><br>> > From: Gerd Petermann<br>> > Sent: Saturday, January 17, 2015 7:40 AM<br>> > To:<br>> <br>> > mkgmap-dev@.org<br>> <br>> ><br>> > Subject: Re: [mkgmap-dev] difference between addlabel and poi-address<br>> ><br>> > Hi Walter,<br>> ><br>> > I think the POI info is filled in StyledConverter. This source snippet<br>> > shows the corresponding tags:<br>> > private static final short countryTagKey =<br>> > TagDict.getInstance().xlate("mkgmap:country");<br>> > private static final short regionTagKey =<br>> > TagDict.getInstance().xlate("mkgmap:region");<br>> > private static final short cityTagKey =<br>> > TagDict.getInstance().xlate("mkgmap:city");<br>> > private static final short postal_codeTagKey =<br>> > TagDict.getInstance().xlate("mkgmap:postal_code");<br>> > private static final short streetTagKey =<br>> > TagDict.getInstance().xlate("mkgmap:street");<br>> > private static final short housenumberTagKey =<br>> > TagDict.getInstance().xlate("mkgmap:housenumber");<br>> > private static final short phoneTagKey =<br>> > TagDict.getInstance().xlate("mkgmap:phone");<br>> ><br>> > Be aware that some values like mkgmap:street and mkgmap:housenumber are<br>> > used for the --housenumbers<br>> > option as well, and others are used for the indexes.<br>> > I think the only tag that can be used for other purposes is mkgmap:phone.<br>> ><br>> > Gerd<br>> ><br>> ><br>> >> From:<br>> <br>> > Walter.Schloegl-Resch@<br>> <br>> >> To:<br>> <br>> > mkgmap-dev@.org<br>> <br>> >> Date: Sat, 17 Jan 2015 00:24:11 +0100<br>> >> Subject: Re: [mkgmap-dev] difference between addlabel and poi-address<br>> >><br>> >> Hi WanMil,<br>> >><br>> >> thanks, so I know now that my device can show address info but no<br>> >> additional<br>> >> label info.<br>> >><br>> >> I am trying to add specific information to the field that is normaly used<br>> >> for address.<br>> >><br>> >> Is there any direct way via command or any indirect way via overrulement<br>> >> of<br>> >> special fields?<br>> >><br>> >> I found one exampe 4.5 on page 29 of the Style rules docu,<br>> >> but this is only showing how to overrule the postcode parameter.<br>> >><br>> >> Walter<br>> >><br>> >> -----Ursprüngliche Nachricht----- <br>> >> From: WanMil<br>> >> Sent: Friday, January 16, 2015 10:16 PM<br>> >> To: Development list for mkgmap<br>> >> Subject: Re: [mkgmap-dev] difference between addlabel and poi-address<br>> >><br>> >> Hi Walter,<br>> >><br>> >> you are right. POIs have address fields that are usually filled by<br>> >> mkgmap and that is what you see.<br>> >><br>> >> Each POI also have 4 label fields but usually only the first label is<br>> >> shown (but that might also differ between differnent devices).<br>> >><br>> >> WanMil<br>> >><br>> >> > I’m not sure but I think I am mixing 2 things up.<br>> >> > When I enable poi-address I can see the address field of the POI filled<br>> >> > with the address on my Oregon device.<br>> >> > When I set no-poi-address and try to fill the address field<br>> >> individually<br>> >> > by using addlabel,<br>> >> > and do not see these labels in the POI address field.<br>> >> > Maybe addlabel is filling total different fields not available on my<br>> >> > Oregon.<br>> >> > Can anybody approve my assumption?<br>> >> > Is it right, that the Oregan is not displaying the 4 addlabel fields?<br>> >> > Walter<br>> >> ><br>> >> ><br>> >> > _______________________________________________<br>> >> > mkgmap-dev mailing list<br>> >> ><br>> <br>> > mkgmap-dev@.org<br>> <br>> >> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>> >> ><br>> >><br>> >> _______________________________________________<br>> >> mkgmap-dev mailing list<br>> >><br>> <br>> > mkgmap-dev@.org<br>> <br>> >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>> >><br>> >> _______________________________________________<br>> >> mkgmap-dev mailing list<br>> >><br>> <br>> > mkgmap-dev@.org<br>> <br>> >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>> ><br>> ><br>> ><br>> > --------------------------------------------------------------------------------<br>> > _______________________________________________<br>> > mkgmap-dev mailing list<br>> <br>> > mkgmap-dev@.org<br>> <br>> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>> > _______________________________________________<br>> > mkgmap-dev mailing list<br>> <br>> > mkgmap-dev@.org<br>> <br>> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>> <br>> <br>> <br>> <br>> <br>> --<br>> View this message in context: <br>> http://gis.19327.n5.nabble.com/elevation-data-tp5828381p5830423.html<br>> Sent from the Mkgmap Development mailing list archive at Nabble.com.<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>> 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>