Subject: | Map::Tube::get_node_by_name issue |
Hi,
I created Map::Tube::KualaLumpur metro map and this map has multiple stations with same name and different IDs. These IDs are conform to real situation in Kuala Lumpur.
e.g.
<station id="KA01" name="KL Sentral" line="Seremban Line" link="KA02,KB01" other_link="Terminal1:6-01,Terminal5:7-01,Walking:MR1,Terminal6:KJ15"/>
<station id="KJ15" name="KL Sentral" line="Kelana Jaya Line" link="KJ14,KJ16" other_link="Terminal3:6-01,Terminal4:7-01,Walking:MR1,Terminal6:KA01"/>
<station id="6-01" name="KL Sentral" line="KLIA Ekspres Line" link="6-02" other_link="Terminal3:KJ15,Terminal2:7-01,Walking:MR1,Terminal1:KA01"/>
<station id="7-01" name="KL Sentral" line="KLIA Transit Line" link="7-02" other_link="Terminal2:6-01,Terminal4:KJ15,Walking:MR1,Terminal5:KA01"/>
Issue is, that get_node_by_name() returns one object with this name instead multiple Map::Tube::Node objects.
Kind regards,
Michal