CCTV XML File Layout Example


Layout

CCTV XML file layout by field number and sample data
Field Number XML Example
<?xml version="1.0" encoding="ISO-8859-1"?>
1 <data>
1.1 <cctv>
1.1.1 <index>5</index>
1.1.2 <recordTimestamp>
1.1.2.1 <recordDate>2012-01-12</recordDate>
1.1.2.2 <recordTime>16:08:00</recordTime>
1.1.2 </recordTimestamp>
1.1.3 <location>
1.1.3.1 <district>2</district>
1.1.3.2 <locationName>5 - Walters Lane N/B - Yreka</locationName>
1.1.3.3 <nearbyPlace>Yreka</nearbyPlace>
1.1.3.4 <longitude>-122.635373</longitude>
1.1.3.5 <latitude>41.685655</latitude>
1.1.3.6 <elevation>2805</elevation>
1.1.3.7 <direction>North</direction>
1.1.3.8 <county>Siskiyou</county>
1.1.3.9 <route>I-5</route>
1.1.3.10 <routeSuffix></routeSuffix>
1.1.3.11 <postmilePrefix>R</postmilePrefix>
1.1.3.12 <postmile>44.31</postmile>
1.1.3.13 <alignment></alignment>
1.1.3.14 <milepost>771.54</milepost>
1.1.3 </location>
1.1.4 <inService>true</inService>
1.1.5 <imageData>
1.1.5.1 <imageDescription>Looking North</imageDescription>
1.1.5.2 <streamingVideoURL>Not Reported</streamingVideoURL>
1.1.5.3 <static>
1.1.5.3.1 <currentImageUpdateFrequency>60</currentImageUpdateFrequency>
1.1.5.3.2 <currentImageURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/vollmers.jpg</currentImageURL>
1.1.5.3.3 <referenceImageUpdateFrequency>60</referenceImageUpdateFrequency>
1.1.5.3.4 <referenceImage1UpdateAgoURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/previous/vollmers-1.jpg</referenceImage1UpdateAgoURL>
1.1.5.3.5 <referenceImage2UpdatesAgoURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/previous/vollmers-2.jpg</referenceImage2UpdatesAgoURL>
1.1.5.3.6 <referenceImage3UpdatesAgoURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/previous/vollmers-3.jpg</referenceImage3UpdatesAgoURL>
1.1.5.3.7 <referenceImage4UpdatesAgoURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/previous/vollmers-4.jpg</referenceImage4UpdatesAgoURL>
1.1.5.3.8 <referenceImage5UpdatesAgoURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/previous/vollmers-5.jpg</referenceImage5UpdatesAgoURL>
1.1.5.3.9 <referenceImage6UpdatesAgoURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/previous/vollmers-6.jpg</referenceImage6UpdatesAgoURL>
1.1.5.3.10 <referenceImage7UpdatesAgoURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/previous/vollmers-7.jpg</referenceImage7UpdatesAgoURL>
1.1.5.3.11 <referenceImage8UpdatesAgoURL>https://www.dot.ca.gov/cwwp2/data/d2/cctv/image/vollmers/previous/vollmers-8.jpg</referenceImage8UpdatesAgoURL>
1.1.5.3.12 <referenceImage9UpdatesAgoURL>Not Reported</referenceImage9UpdatesAgoURL>
1.1.5.3.13 <referenceImage10UpdatesAgoURL>Not Reported</referenceImage10UpdatesAgoURL>
1.1.5.3.14 <referenceImage11UpdatesAgoURL>Not Reported</referenceImage11UpdatesAgoURL>
1.1.5.3.15 <referenceImage12UpdatesAgoURL>Not Reported</referenceImage12UpdatesAgoURL>
1.1.5.3 </static>
1.1.5 </imageData>
1.1 </cctv>
1 </data>