
Hi Gerd, On Wed, May 20, Gerd Petermann wrote:
I played a bit with the style rules and found that this rule highway=motorway_junction & exit_to=* { set exit:to='${exit_to}'; set exit:facility='3,N,7,blabla'}
produces some extra data in the properties of each exit POI.
I played with it yesterday, too, but was not succesful. At least MapSource didn't show this entries. But to be usefull I think we would need a lot of help from mkgmap. For exit:to and exit:facilities. For exit:to we would need the direction (N,S,O,W,...) and for exit:facilities we need to look, what other interesting POI are there.
I was not able to make these exits searchable in MapSource or Basecamp.
Where/how do you search for them? I have: highway=motorway_junction { name '${ref} ${name}' | '${ref}' | '${name}' } highway=motorway_junction [0x2000 level 2] highway=services [0x210f level 2 default_name 'Services'] In my rules and can search for them in MapSource. Only exit:to (my problem here is, if you look how motorway_junction is tagged, that I don't know how to get access to the exit_to/destination tags in the style file. Thorsten
I assume that we have to set a special bit in one of the headers to make that work.
Gerd
Date: Tue, 19 May 2015 10:43:13 +0200 From: kukuk@suse.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] question reg. exits
Hi,
On Tue, May 19, Gerd Petermann wrote:
Hi all,
I just noticed that mkgmap treats POI with 0x2000 <= type < 0x2800 special. It looks for the tags exit:to=* and exit:facility=* to add extra information to the POI. This info is shown when you click on an exit in Basecamp, it shows the fields Name, Description, and Overnight Parking.
The source was added with r984 in 2009 and it seems nobody noticed that these tags don't exist in OSM anymore (or maybe they were typos)?
Or maybe that were meant to be set in the style?
http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2009q1/001287.html
exit:facility needs to be set by the style, exit:to looks like a proposed OSM tag never introduced. But I admit that I don't really understand the examples in that mail...
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)