PersistentUpdate
PersistentUpdate allows changes to the routing data that are made at the server level and apply to all route requests or stages. These updates remain intact even if the server is restarted. Updates can be based on four types:
- Point Updates
- Segment Updates
- Road-Type Updates
- Reset Updates
Using persistent updates to make these types of modifications, you have the ability to:
- Exclude a point
- Exclude a segment
- Set the speed of a point, segment, or road type
- Change (increase or decrease) the speed of a point, segment, or road type by a value
- Change (increase or decrease) the speed of a point, segment, or road type by a percentage
Note: Persistent Update is only available as a service (Management Console and SOAP web service). Persistent Update is not available through a stage or REST API. It is also not available through the Java, C++, C, .NET, or COM APIs.
Note: Since persistent updates are changes made on a system-wide basis for routing data and all updates will persist, they should be used with caution.
PersistentUpdate is part of Spectrum Spatial.
Resource URL
http://server:port/soap/PersistentUpdate
Example
The following shows a SOAP request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:per="http://www.g1.com/services/PersistentUpdate" xmlns:typ="http://www.g1.com/services/erm/types">
<soapenv:Header/>
<soapenv:Body>
<per:PersistentUpdateRequest>
<per:context>
<per:account.id>admin</per:account.id>
<per:account.password>admin</per:account.password>
</per:context>
<per:options>
<per:DataSetResourceName>US</per:DataSetResourceName>
<per:RestoreDefaults>N</per:RestoreDefaults>
</per:options>
<per:rows>
<per:row>
<per:PersistentUpdates>
<typ:UpdateList>
<typ:Update>
<typ:PointUpdate>
<typ:Point>
<typ:Latitude>34.40691</typ:Latitude>
<typ:Longitude>-80.062866</typ:Longitude>
</typ:Point>
<typ:SpeedUpdate>
<typ:Velocity VelocityUnit="mph">15</typ:Velocity>
</typ:SpeedUpdate>
</typ:PointUpdate>
</typ:Update>
</typ:UpdateList>
</per:PersistentUpdates>
</per:row>
</per:rows>
</per:PersistentUpdateRequest>
</soapenv:Body>
</soapenv:Envelope>