Index: applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java
===================================================================
--- applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java	(revision 26581)
+++ applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java	(revision 26582)
@@ -134,16 +134,22 @@
       if ((route.get("ref") != null) && (route.get("ref") != ""))
       {
-        if ((route.get("to") != null) && (route.get("to") != ""))
-        {
-          buf += " " + route.get("ref") + ": " + route.get("to");
-        }
-        else if ((route.get("direction") != null) && (route.get("direction") != ""))
-        {
-          buf += " " + route.get("ref") + ": " + route.get("direction");
-        }
-        else
-        {
-          buf += " " + route.get("ref");
-        }
+        buf += " " + route.get("ref");
+      }
+      if ((route.get("loc_ref") != null) && (route.get("loc_ref") != ""))
+      {
+        buf += " [" + route.get("loc_ref") + "]";
+      }
+
+      if ((route.get("to") != null) && (route.get("to") != ""))
+      {
+        buf += ": " + route.get("to");
+      }
+      else if ((route.get("direction") != null) && (route.get("direction") != ""))
+      {
+        buf += " " + route.get("ref") + ": " + route.get("direction");
+      }
+      else
+      {
+        buf += " " + route.get("ref");
       }
       buf += tr(" [ID] {0}", Long.toString(route.getId()));
@@ -638,4 +644,9 @@
       commonTagsData.addColumn(tr("Value"));
       rowContent = new Vector< String >();
+      rowContent.add(0, "loc_ref");
+      tagBlacklist.add("loc_ref");
+      rowContent.add(1, "");
+      commonTagsData.addRow(rowContent);
+      rowContent = new Vector< String >();
       rowContent.add(0, "direction");
       tagBlacklist.add("direction");
