Index: trunk/src/atmsdriver/model/Highways.java
===================================================================
--- trunk/src/atmsdriver/model/Highways.java	(revision 274)
+++ trunk/src/atmsdriver/model/Highways.java	(revision 285)
@@ -510,5 +510,5 @@
                 {
                     //lineout.append("" + dir.getLetter() + stat.postmile);
-                    lineout.append(stat.getColorByDirection(dir));
+                    lineout.append(stat.getColor());
                     //lineout.append("  ");
                 }
@@ -543,4 +543,5 @@
         Scanner s = new Scanner(fis).useDelimiter("\\A");
         pmList.load(s);
+        
         String header = "{\n" +
         "  \"type\": \"FeatureCollection\",\n" +
@@ -573,12 +574,5 @@
                         String outString = currentPM.toJson();
                         // replace the color code with the color name
-                        String colorName="";
-                        switch (stat.getColorByDirection(stat.direction))
-                        {
-                            case '@': colorName = "red";break;
-                            case '+': colorName = "yellow"; break;
-                            case '-': colorName = "lime";break;
-                            case ' ': colorName = "lime";break;
-                        }
+                        String colorName=stat.getColorName();
                         outString = outString.replace("desiredcolor",colorName);
                         lineout.append(outString);
