Index: trunk/src/atmsdriver/model/LoopDetector.java
===================================================================
--- trunk/src/atmsdriver/model/LoopDetector.java	(revision 184)
+++ trunk/src/atmsdriver/model/LoopDetector.java	(revision 186)
@@ -68,13 +68,20 @@
     }
     
-    /**
-     * Returns the loop metadata in condensed form.
-     * This is just a quick script function to make a proper highway
-     * metadata configuration file, so that we can read the network
-     * faster.
-     * 
-     * @return loop metadata
-     */
-    public String getLoopMeta()
+    /** Returns a string of highways data. If MetaDataOnly is true, you get a full
+     *  dump of the highways meta data, which does not include dynamic loop values,
+     *  and does include the string location names. If MetaDataOnly is false,
+     *  dynamic loop values are included, and unnecessary information like string
+     *  location values are included.
+     * 
+     *  The FEPSimulator takes in the toCondensedFormat() output, with a MetaDataOnly
+     *  value of false, over the socket.
+     * 
+     *  The MetaDataOnly flag should be used to get a full dump of the highways
+     *  information. This was used to get the highways_fullmap.txt output.
+     * 
+     * @param MetaDataOnly Whether you want meta data, or a full dump for FEPSim
+     * @return String, highways data in condensed format
+     */
+    public String toCondensedFormat(boolean MetaDataOnly)
     {
         StringBuilder build = new StringBuilder();
@@ -83,5 +90,17 @@
         build.append(Integer.toString(this.laneNum));
         build.append(" ");
-        build.append(this.loopLocation);
+        if(!MetaDataOnly)
+        {
+            build.append(" ");
+            build.append(this.occ);
+            build.append(" ");
+            build.append(this.vol);
+            build.append(" ");
+            build.append(this.spd);
+        }
+        else
+        {
+            build.append(this.loopLocation);
+        }
         build.append("\n");
         return build.toString();
