Changeset 326 in tmcsimulator for trunk/webapps/data_layers/cmsToGeoJson.awk
- Timestamp:
- 03/17/2019 09:57:48 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/webapps/data_layers/cmsToGeoJson.awk (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/data_layers/cmsToGeoJson.awk
r318 r326 6 6 7 7 # Remove quotes around those streets names that have them 8 //{gsub("\"","",$5);printf " {\n \"type\": \"Feature\",\n \"id\": \"%s\",\n \"geometry\":\n {\n \"type\": \"Point\",\n \"coordinates\": [%s,%s]\n },\n \"properties\":\n {\n \"location\":\"% s%s %5.2f\",\n \"street\":\"%s\"\n }\n },\n", $1,$7,$8,$10,$12,$15, $5}8 //{gsub("\"","",$5);printf " {\n \"type\": \"Feature\",\n \"id\": \"%s\",\n \"geometry\":\n {\n \"type\": \"Point\",\n \"coordinates\": [%s,%s]\n },\n \"properties\":\n {\n \"location\":\"%c %s %5.2f\",\n \"street\":\"%s\"\n }\n },\n", $1,$7,$8,$10,$12,$15, $5} 9 9 10 10 #
Note: See TracChangeset
for help on using the changeset viewer.
