How to create POI detail information

Hi! I would like to put some detail information with POIs to be shown in the details view for the POI on the device. After searching the list, I gather that it can be done but to be honest I did not understand how to do it and how to control what information is added to the POIs. Can you help me there? bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/How-to-create-POI-detail-information-tp52360... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hello, you can add address-informaton and phonenumber by setting --index. Usefull combination would be --location-autofill=1. Greetings, aighes -- View this message in context: http://gis.638310.n2.nabble.com/How-to-create-POI-detail-information-tp52360... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi! aighes wrote:
you can add address-informaton and phonenumber by setting --index. Usefull combination would be --location-autofill=1.
Yes, I found the hint that I can activate something with --index. But what gets added to the details? How can I control what is added? And how would I add some custom information like opening hours or a website for a shop or elevation for landmarks? bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/How-to-create-POI-detail-information-tp52360... Sent from the Mkgmap Development mailing list archive at Nabble.com.

NopMap (ekkehart@gmx.de) wrote:
Hi!
aighes wrote:
you can add address-informaton and phonenumber by setting --index. Usefull combination would be --location-autofill=1.
Yes, I found the hint that I can activate something with --index.
But what gets added to the details? How can I control what is added? And how would I add some custom information like opening hours or a website for a shop or elevation for landmarks?
bye Nop
By default I think that for POI types that can accept address information (0x2a00-0x32ff, afair), mkgmap looks for any addr: tags and uses them to populate the address fields, plus it looks for a phone tag and adds this too. You can "hack" this behaviour by adjusting the style rules to use different tags and get mkgmap to populate the POI address field with these instead. For instance, tourism=attraction {add addr:street='${note}'; add addr:city='${description}'; name '${name} (${operator})' | '${name}'} [0x2c04 resolution 23] Sets the addr:street tag to contain whatever is in the note tag (if there is one) and sets the addr:city tag to contain whatever is in the description tag (again, if there is one). This means that if I look at the POI details for tourism attractions, I see the note and description, rather than an address. -- Charlie

Hi! Thanks for your answer. Charlie Ferrero wrote:
By default I think that for POI types that can accept address information (0x2a00-0x32ff, afair), mkgmap looks for any addr: tags and uses them to populate the address fields, plus it looks for a phone tag and adds this too.
Do you know whether the selection of those specific addr: tags is an arbitrary thing in mkgmap that could also be patched or whether it is caused by the Garmin having only those specfic fields? bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/How-to-create-POI-detail-information-tp52360... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi, I know that it add addr:* and phone Tag. With location-autofill mkgmap will get some informaton from other Tags is_in. I don't know if relations like associatedstreet will be analysed or if there are other Tags could be written to POI-information. I think it would be great and very useful to write openinghours or note-Tag in POI-Information. Greetings, aighes -- View this message in context: http://gis.638310.n2.nabble.com/How-to-create-POI-detail-information-tp52360... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (3)
-
aighes
-
charlieï¼ cferrero.net
-
NopMap