Modifications you can make to the FTP XML template - SharpOS 11.5

SharpOS Administrator Guide 11.5

Applies to
SharpOS 11.5
Last updated
2017-10-10
Content type
Guides
Guides > Administrator guides
Language
English (United States)
Product line
AutoVu > SharpOS
Version
11.5

The XML code defines the structure of the XML files generated by the Sharp. You can re-sort or remove any of the fields. The XML file name consists of the Sharp name and a unique identification number (for example, SHARP0015_6ee17b00-82c1-466b-9fd6-003417bc82c4_lpr.xml).

Template:

<?xml version="1.0" encoding="utf-8"?>
<AutoVu>
   <Plate>#PLATE_READ#</Plate>
   <State>#CUSTOM_FIELDS#{State Name}</State>
   <UTCDate>#DATE_UTC#{yyyy:MM:dd}</UTCDate>
   <UTCTime>#TIME_UTC#{HH:mm:ss.fff}</UTCTime>
   <CameraName>#CAMERA_NAME#</CameraName>
   <SourceName>#SHARP_NAME#</SourceName>
   <ContextImage>#CONTEXT_IMAGE#</ContextImage>
   <PlateImage>#PLATE_IMAGE#</PlateImage>
   <LongitudeX>#LONGITUDE#</LongitudeX>
   <LatitudeY>#LATITUDE#</LatitudeY>
   <Guid>#GUID#</Guid>
</AutoVu>

Note the following:

  • Hotlist matching is not supported.
  • LocalDate, LocalTime, UTCDate, UTCTime, and TimeZone display the Windows date and time properties.
  • CameraName is set in the Genetec Patroller™ Config Tool.
  • SourceName is the Sharp name (e.g. Sharp1234).
  • ContextImage and PlateImage are encoded into text.
  • Guid is the unique identification of the event read.
  • You can add the following custom fields to the template:
    State Name
    The Sharp will attempt to read the plate’s origin in addition to the plate number (some plates include the issuing state or province). This may not be possible for all types of license plates.
    To use this field, add <State>#CUSTOM_FIELDS#{State Name}</State> to the XML, and then select Read plate state on the Configuration page of the Sharp Portal.
    NOTE:
    • The LPR Context you are using must support the state name feature.
    • The Sharp must be able to correctly read the plate state from the license plate.
    Relative Motion
    When the Sharp reads a plate, it detects and displays if the vehicle is approaching or moving away.
    To use this field, add the following line to the XML:

    <RelativeMotion>#CUSTOM_FIELDS#{Relative Motion}</RelativeMotion>.

    Vehicle Type
    Certain license plates include character symbols that identify specific vehicle types (for example, taxi, transport, and so on). If the Sharp can read these symbols, it will display the vehicle type along with the other read/hit information.
    To use this field, add the following line to the XML:

    <VehicleType>#CUSTOM_FIELDS#{Vehicle Type}</VehicleType>.

  • If using FTP with GPS coordinates, you’ll need to add longitude and latitude fields.
<?xml version="1.0" encoding="utf-8"?>
<AutoVu>
   <Plate>#PLATE_READ#</Plate>
   <LocalDate>#DATE_LOCAL#(HH:mm:ss)</LocalTime>
   <UTCDate>#DATE_UTC#(yyyy:MM:dd)</UTCDate>
   <UTCTime>#TIME_UTC#(HH:mm:ss.fff)</UTCTime>
   <TimeZone>#TIME_ZONE#</TimeZone>
   <CameraName>#CAMERA_NAME#</CameraName>
   <SourceName>#SHARP_NAME#</SourceName>
   <ContextImage>#CONTEXT_IMAGE#</ContextImage>
   <PlateImage>#PLATE_IMAGE#</PlateImage>
   <LongitudeX>#LONGITUDE#</LongitudeX>
   <LatitudeY>#LATITUDE#</LatitudeY>
   <Guid>#GUID#</Guid>
</AutoVu>