LCS XML File Layout Example


Layout

LCS XML file layout by field number and sample data
Field Number XML Example
<?xmlversion="1.0" encoding="ISO-8859-1"?>
1 <data>
1.1 <lcs>
1.1.1 <index>C299CA-0004-2016-04-12-00:01:00</index>
1.1.2 <recordTimestamp>
1.1.2.1 <recordDate>2016-04-19</recordDate>
1.1.2.2 <recordTime>14:41:04</recordTime>
1.1.2.3 <recordEpoch>1461102064</recordEpoch>
1.1.2 </recordTimestamp>
1.1.3 <location>
1.1.3.1 <travelFlowDirection>East</travelFlowDirection>
1.1.3.2 <begin>
1.1.3.2.1 <beginDistrict>2</beginDistrict>
1.1.3.2.2 <beginLocationName>Route299</beginLocationName>
1.1.3.2.3 <beginFreeFormDescription></beginFreeFormDescription>
1.1.3.2.4 <beginNearbyPlace>Lewiston</beginNearbyPlace>
1.1.3.2.5 <beginLongitude>-122.733841</beginLongitude>
1.1.3.2.6 <beginLatitude>40.635122</beginLatitude>
1.1.3.2.7 <beginElevation>3277</beginElevation>
1.1.3.2.8 <beginDirection>East</beginDirection>
1.1.3.2.9 <beginCounty>Shasta</beginCounty>
1.1.3.2.10 <beginRoute>SR-299</beginRoute>
1.1.3.2.11 <beginRouteSuffix></beginRouteSuffix>
1.1.3.2.12 <beginPostmilePrefix></beginPostmilePrefix>
1.1.3.2.13 <beginPostmile>0.000</beginPostmile>
1.1.3.2.14 <beginAlignment></beginAlignment>
1.1.3.2.15 <beginMilepost>114.190</beginMilepost>
1.1.3.2 </begin>
1.1.3.3 <end>
1.1.3.3.1 <endDistrict>2</endDistrict>
1.1.3.3.2 <endLocationName>0.6 mi west of Crystal Creek Rd</endLocationName>
1.1.3.3.3 <endFreeFormDescription></endFreeFormDescription>
1.1.3.3.4 <endNearbyPlace>French Gulch</endNearbyPlace>
1.1.3.3.5 <endLongitude>-122.654384</endLongitude>
1.1.3.3.6 <endLatitude>40.672010</endLatitude>
1.1.3.3.7 <endElevation>1427</endElevation>
1.1.3.3.8 <endDirection>East</endDirection>
1.1.3.3.9 <endCounty>Shasta</endCounty>
1.1.3.3.10 <endRoute>SR-299</endRoute>
1.1.3.3.11 <endRouteSuffix></endRouteSuffix>
1.1.3.3.12 <endPostmilePrefix></endPostmilePrefix>
1.1.3.3.13 <endPostmile>7.500</endPostmile>
1.1.3.3.14 <endAlignment></endAlignment>
1.1.3.3.15 <endMilepost>121.633</endMilepost>
1.1.3.3 </end>
1.1.3 </location>
1.1.4 <closure>
1.1.4.1 <closureID>C299CA</closureID>
1.1.4.2 <logNumber>4</logNumber>
1.1.4.3 <closureTimestamp>
1.1.4.3.1 <closureRequestDate>2016-04-08</closureRequestDate>
1.1.4.3.2 <closureRequestTime>15:58:00</closureRequestTime>
1.1.4.3.3 <closureRequestEpoch>1460156280</closureRequestEpoch>
1.1.4.3.4 <closureStartDate>2016-04-12</closureStartDate>
1.1.4.3.5 <closureStartTime>00:01:00</closureStartTime>
1.1.4.3.6 <closureStartEpoch>1460444460</closureStartEpoch>
1.1.4.3.7 <closureEndDate>2016-04-30</closureEndDate>
1.1.4.3.8 <closureEndTime>23:59:00</closureEndTime>
1.1.4.3.9 <closureEndEpoch>1462085940</closureEndEpoch>
1.1.4.3.10 <isClosureEndIndefinite>false</isClosureEndIndefinite>
1.1.4.3 </closureTimestamp>
1.1.4.4 <facility>Conventional Hwy</facility>
1.1.4.5 <typeOfClosure>Lane</typeOfClosure>
1.1.4.6 <typeOfWork>Highway Construction</typeOfWork>
1.1.4.7 <durationOfClosure>Standard</durationOfClosure>
1.1.4.8 <estimatedDelay>30</estimatedDelay>
1.1.4.9 <lanesClosed>1</lanesClosed>
1.1.4.10 <totalExistingLanes>2</totalExistingLanes>
1.1.4.11 <isCHINReportable>false</isCHINReportable>
1.1.4.12 <code1097>
1.1.4.12.1 <isCode1097>true</isCode1097>
1.1.4.12.2 <code1097Timestamp>
1.1.4.12.2.1 <code1097Date>2016-04-12</code1097Date>
1.1.4.12.2.2 <code1097Time>00:01:00</code1097Time>
1.1.4.12.2.3 <code1097Epoch>1460444460</code1097Epoch>
1.1.4.12.2 </code1097Timestamp>
1.1.4.12 </code1097>
1.1.4.13 <code1098>
1.1.4.13.1 <isCode1098>false</isCode1098>
1.1.4.13.2 <code1098Timestamp>
1.1.4.13.2.1 <code1098Date></code1098Date>
1.1.4.13.2.2 <code1098Time></code1098Time>
1.1.4.13.2.3 <code1098Epoch></code1098Epoch>
1.1.4.13.2 </code1098Timestamp>
1.1.4.13 </code1098>
1.1.4.14 <code1022>
1.1.4.14.1 <isCode1022>false</isCode1022>
1.1.4.14.2 <code1022Timestamp>
1.1.4.14.2.1 <code1022Date></code1022Date>
1.1.4.14.2.2 <code1022Time></code1022Time>
1.1.4.14.2.3 <code1022Epoch></code1022Epoch>
1.1.4.14.2 </code1022Timestamp>
1.1.4.14 </code1022>
1.1.4 </closure>
1.1 </lcs>
1 </data>