Provides an easy possibility to visualize all kinds of relations. Especially handy for route relations.
It allows general highlighting of features based on the pattern used in SearchAction.
Usage
After the plugin is installed and enabled you will see two new example layers "Czech hiking trails" and "Cycle routes".
If you want to add custom highlighting you have to add a new file "routes.xml" in a sub-directory "routes" within your JOSM-Plugins folder.
Examples
German Public transport routes example highlights bus, tram, light train and cycle routes:
<?xml version="1.0" encoding="UTF-8"?><routesxmlns="http://www.example.org/routes"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.example.org/routes routes.xsd "><!-- pattern is the same pattern as used in SearchAction --><layername="Busrouten"><routecolor="#FF0000"><pattern>(type:relationline=bus)|(type:relationtype=routeroute=bus)|child(child(type:relationline=bus))
</pattern></route></layer><layername="Tramrouten"><routecolor="#0000FF"><pattern>(type:relationline=tram)|(type:relationtype=routeroute=tram)|child(child(type:relationline=tram))
</pattern></route></layer><layername="S-Bahn-Routen"><routecolor="#00FF00"><pattern>(type:relationline=light_rail)|(type:relationtype=routeroute=light_rail)|child(child(type:relationline=light_rail))
</pattern></route></layer><layername="Radwege"><routecolor="#FF00FF"><pattern>(type:way(ncn=*|(lcn=*|rcn=*)))|(type:relationtype=routeroute=bicycle)
</pattern></route></layer></routes>
Lane count coloring. To color ways depending on the number of lanes: