Changeset 267 in tmcsimulator for trunk


Ignore:
Timestamp:
02/17/2019 10:32:38 AM (7 years ago)
Author:
jdalbey
Message:

PostmileCoords?.java: moved postmile name to featured ID field.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/atmsdriver/model/PostmileCoords.java

    r266 r267  
    116116        public String toJson() 
    117117        { 
    118             String pattern =  "\n{\n   \"type\": \"Feature\",\n"  
    119                     + "   \"geometry\":\n       {\n        \"type\": \"Point\",\n" + 
     118            String pattern =  "\n{\n   \"type\": \"Feature\",\n" + 
     119                    "   \"id\": \"%s\",\n" + 
     120                    "   \"geometry\":\n       {\n        \"type\": \"Point\",\n" + 
    120121                    "        \"coordinates\": [%s,%s]\n" + 
    121122                    "       },\n" + 
    122123                    "      \"properties\": \n" +          
    123                     "        {\"id\": \"%s\", " + 
    124                     "\"street\": \"%s\", " + 
     124                    "        {\"street\": \"%s\", " + 
    125125                    "\"color\": \"desiredcolor\"" + 
    126126                    "}\n},"; 
    127127 
    128             return String.format(pattern, longitude, latitude, name, street); 
     128            return String.format(pattern, name, longitude, latitude, street); 
    129129        } 
    130130    } 
  • trunk/src/tmcsim/application.properties

    r266 r267  
    1 #Sat, 16 Feb 2019 16:50:48 -0800 
     1#Sun, 17 Feb 2019 10:04:13 -0800 
    22 
    3 Application.revision=265 
     3Application.revision=266 
    44 
    55Application.buildnumber=95 
Note: See TracChangeset for help on using the changeset viewer.