Author Topic: Display Motorway junction  (Read 1954 times)

Offline forlax_12

  • More than Newbie
  • *
  • Posts: 38
    • View Profile
Display Motorway junction
« on: December 20, 2012, 13:05:52 »
Hi

I would like display the mototway junction icon in the vector map.
So i added the following statement (in bold) in the xml theme

<rule e="node" k="*" v="*">
       <rule e="node" k="highway" v="*">      
           <rule e="node" k="highway" v="motorway_junction" zoom-min="14">
                        <symbol src="file:/symbols/motorway_exit.png" />
                </rule>

                ......
                .....

and i put the motorway_exit.png file in the right directory.

But it seem that it doesn't display what i want.

Do have i idea ??
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline voldapet

  • Administrator
  • Padavan of Locus
  • *****
  • Posts: 477
  • Thanked: 9 times
    • View Profile
Re: Display Motorway junction
« Reply #1 on: December 20, 2012, 14:53:08 »
Hi,
Your xml theme definition is OK, but information about motorway_junction is not in map file at all.  For this reason it cannot be rendered.
We are planning to release new version of vector map which will contain also information about junctions (probably in January).
Please note: I’m talking about maps from Locus store.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline forlax_12

  • More than Newbie
  • *
  • Posts: 38
    • View Profile
Re: Display Motorway junction
« Reply #2 on: December 20, 2012, 17:06:39 »
I have a question :
The mapsforg plugin for OSMOSIS desn't include junction information in the map file ?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline voldapet

  • Administrator
  • Padavan of Locus
  • *****
  • Posts: 477
  • Thanked: 9 times
    • View Profile
Re: Display Motorway junction
« Reply #3 on: December 21, 2012, 08:27:55 »
Mapsforge plugin has configuration xml file tag-mapping.xml where is written which OSM elements will be placed into generated *.map file.
See link: http://http://code.google.com/p/mapsforge/wiki/GettingStartedMapWriter#Defining_a_Custom_Tag_Mapping_via_XML
In this case you need to add :
Code: [Select]
<osm-tag key="highway" value="motorway_junction" zoom-appear="12" />
« Last Edit: January 01, 1970, 01:00:00 by Guest »