<HTML><HEAD>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></STYLE>
</HEAD>
<BODY class=hmmessage dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR: #000000">
<DIV>Hi Gerd,</DIV>
<DIV> </DIV>
<DIV>thanks for this hint, I have played around with it and was successfull in
most of the cases.</DIV>
<DIV> </DIV>
<DIV>Here my working solutions:</DIV>
<DIV> </DIV>
<DIV>ok 1) If there is opening_hours set, show this info before the phone
number.</DIV>
<DIV> </DIV>
<DIV>opening_hours=* { set mkgmap:phone=' (${opening_hours})
${mkgmap:phone|def:}' }</DIV>
<DIV> </DIV>
<DIV>ok 2) If there is a website, show this info after the phone number.</DIV>
<DIV> </DIV>
<DIV>website=* { set mkgmap:phone='${mkgmap:phone|def:} ${website}'
}</DIV>
<DIV> </DIV>
<DIV>In one example I was not successfull.</DIV>
<DIV>I am generating 1-point POIs for all points where only the addr tags are
set, but no other tags available.</DIV>
<DIV>This will show all the housenumbers in low resolution.</DIV>
<DIV>As addr info I would like to get the full addr incl. street, postcode and
so on.</DIV>
<DIV>I tried with different solutions but nothing worked, I am getting the
name-tag filled but not the addr-field.</DIV>
<DIV> </DIV>
<DIV>Here my code:</DIV>
<DIV> </DIV>
<DIV>addr:housenumber=* | addr:unit=* | addr:door=* </DIV>
<DIV>{ name '${addr:unit}/${addr:door}' | </DIV>
<DIV> '${addr:housenumber}/${addr:unit}' | </DIV>
<DIV> '${addr:door}' | </DIV>
<DIV> '${addr:unit}' | </DIV>
<DIV> '${addr:housenumber}'; </DIV>
<DIV> set addr:postcode='${addr:street|def:} ${addr:housenumber|def:}
${addr:postcode|def:} ${addr:city|def:} ${addr:country|def:}'</DIV>
<DIV>} [0x1e04 resolution 24]</DIV>
<DIV> </DIV>
<DIV>The first part is working fine, I can see the housenumber or unit + door on
all buildings and also as point if there is no building.</DIV>
<DIV>The second part is not working, the postcode tag is not written into the
addr-field.</DIV>
<DIV> </DIV>
<DIV>Is there any restriction with the addr-field of the POI-info if no other
tags are available than the addr:xxx tags?</DIV>
<DIV> </DIV>
<DIV>Walter</DIV>
<DIV> </DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A
title=gpetermann_muenchen@hotmail.com
href="mailto:gpetermann_muenchen@hotmail.com">Gerd Petermann</A> </DIV>
<DIV><B>Sent:</B> Saturday, January 17, 2015 7:40 AM</DIV>
<DIV><B>To:</B> <A title=mkgmap-dev@lists.mkgmap.org.uk
href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</A>
</DIV>
<DIV><B>Subject:</B> Re: [mkgmap-dev] difference between addlabel and
poi-address</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>Hi Walter,<BR><BR>I think the POI info is filled in
StyledConverter. This source snippet shows the corresponding
tags:<BR> private static final short countryTagKey =
TagDict.getInstance().xlate("mkgmap:country");<BR> private
static final short regionTagKey =
TagDict.getInstance().xlate("mkgmap:region");<BR> private
static final short cityTagKey =
TagDict.getInstance().xlate("mkgmap:city");<BR> private static
final short postal_codeTagKey =
TagDict.getInstance().xlate("mkgmap:postal_code");<BR> private
static final short streetTagKey =
TagDict.getInstance().xlate("mkgmap:street");<BR> private
static final short housenumberTagKey =
TagDict.getInstance().xlate("mkgmap:housenumber");<BR> private
static final short phoneTagKey =
TagDict.getInstance().xlate("mkgmap:phone");<BR><BR>Be aware that some values
like mkgmap:street and mkgmap:housenumber are 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>
<DIV>> From: Walter.Schloegl-Resch@aon.at<BR>> To:
mkgmap-dev@lists.mkgmap.org.uk<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 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 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 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>> > 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>> mkgmap-dev mailing
list<BR>> mkgmap-dev@lists.mkgmap.org.uk<BR>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<BR></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>mkgmap-dev mailing
list<BR>mkgmap-dev@lists.mkgmap.org.uk<BR>http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</DIV></DIV></DIV></BODY></HTML>