Index: trunk/src/atmsdriver/model/Highways.java
===================================================================
--- trunk/src/atmsdriver/model/Highways.java	(revision 243)
+++ trunk/src/atmsdriver/model/Highways.java	(revision 248)
@@ -545,19 +545,14 @@
         for (Highway hwy: highways)
         {
-            // Consider each route direction
-            //for (DIRECTION dir: DIRECTION.values())
-            // TODO: Needs fixing so proper direction is displayed
-            Station.DIRECTION dir = Station.DIRECTION.SOUTH;
-            if (hwy.routeNumber == 55)
-                dir = Station.DIRECTION.SOUTH;
-            if (hwy.routeNumber == 405)
-                dir = Station.DIRECTION.NORTH;
-            {
-                String rowLabel = ""+String.format("%3s ",hwy.routeNumber)+dir.getLetter()+' ';
+            // For json output we don't care about listing all the stations
+            // in order by direction because we are just outputting points not lines.
+            {
+                // Examine every station on this highway and direction
                 StringBuilder lineout = new StringBuilder();
-                // Examine every station on this highway and direction
                 for (Station stat: hwy.stations)
                 {
-                    String pmID = "" + hwy.routeNumber + " " + stat.postmile;
+                    String pmID = "" + hwy.routeNumber + " " 
+                            + stat.direction.getLetter() + " " 
+                            + stat.postmile;
                     PostmileCoords.Postmile currentPM = pmList.find(pmID);
                     if (currentPM != null)
@@ -566,6 +561,7 @@
                     //lineout.append(stat.getColorByDirection(dir));
                     String outString = currentPM.toJson();
+                    // replace the color code with the color name
                     String colorName="";
-                    switch (stat.getColorByDirection(dir))
+                    switch (stat.getColorByDirection(stat.direction))
                     {
                         case '@': colorName = "red";break;
@@ -579,12 +575,6 @@
                     }
                 }
-                                // See if there were stations for this direction
-                String checkMe = lineout.toString().trim();
-                // if any stations were colored, output the line
-                if (checkMe.length() > 1)
-                {
-                    //result.append(rowLabel);
-                    result.append(lineout + "\n");
-                }
+                //result.append(rowLabel);
+                result.append(lineout + "\n");
 
             }
