Configuring the Cover Modeller Service

The windows service has no interface –all aspects of the service can however be edited or customised through the config file:

\Cover Modeller\Service\CoverModeller.config

The service reads all parameters from with the <configuration> node in the xml file.

CoverModeller.config is only read on start-up. To change the operation of a running service, the service should be restarted after any changes to the config file.

Here is an example config file. Click on any XML tag for more information:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<liveViewFolder>c:\ProgramData\Cover Modeller\Live</liveViewFolder>
<scenarioViewFolder>c:\ProgramData\Cover Modeller\Scenario</scenarioViewFolder>
<swd>C:\Projects\OCX\SIS 9.0\DynamicCover\Test data\NottsWithHighways.swd</swd>
<outputAreasOverlay>1</outputAreasOverlay>
<ouputGeneralisationToleranceOnSwdOpen>10</ouputGeneralisationToleranceOnSwdOpen>
<outputGeneralisationToleranceOnOutput>50</outputGeneralisationToleranceOnOutput>
<applianceOverlay>2</applianceOverlay>
<applianceStatus Column="Status$">
<value>Base</value>
<value>Available</value>
<value>On shift</value>
</applianceStatus>
<applianceId>Callsign$</applianceId>
<refreshSeconds>10</refreshSeconds>
<routingExpression>
( _length# / CASE  WHEN RoadClassification$ ='Unclassified' THEN 20 
WHEN RoadClassification$ ='B Road' THEN 25
WHEN RoadClassification$ ='A Road' THEN 50 
WHEN RoadClassification$ ='Motorway' THEN 60

WHEN RoadClassification$ ='Classified Unnumbered' THEN 20
WHEN RoadClassification$ ='Not Classified' THEN 20
WHEN RoadClassification$ ='Unknown' THEN 20 END )
* ( 60 / 1609.344)
</routingExpression>
<isoRouteSnapRadiusMetres>50</isoRouteSnapRadiusMetres>
<isoRoutes>
<value>5</value>
<!--  <value>7</value> -->
</isoRoutes>
<!-- isochrone method must be one of buffer, convex or isoroute -->
<isochrone Method="buffer">
<bufferRadius>50</bufferRadius>
<bufferResolution>10</bufferResolution>
</isochrone>
<coincidentPointToleranceMetres>5.00</coincidentPointToleranceMetres>
<!-- verbosity should be normal, verbose or debug -->
<verbosity>normal</verbosity>
</configuration>

Running the Cover Modeller Service should populate the following files into the \Apps\CoverModeller\live\data folder:

  • Appliances.json
  • Coverge.json
  • Isochrones.json