This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
as we all know the Ponte Morandi (=Morandi Bridge = Morandi Brücke) in Genovese (Genova / Genua) collapsed in August 2018. Due to the incident several roads cannot be used and some players asked us whether we can handle this topic and it's derived consequences with xRoute and xMap server.
short term (2018.1/2018.2 maps): Our data department produced a special Feature Layer that contains several blockings of the affected streets.
mid term (2019.1 maps): The next map versions will simply block the bridge itself (not the underlying streets) via map data (instead of FeatureLayer). Schedules: 2019.1H=end of october 2018, 2019.1T=end of november 2018.
Important to know: The special feature layer files do not replace the regular ones - they have to be added to the core layers.
Visualization of the feature layer
By applying the additional data you can compute detours around the are of the incident.
On the left side: a route that avoids the critical segments by applying the PTV_TruckAttributes layer On the right side: a route that uses critical segments and raises violations.
Please get in touch with your technical counterpart at PTV to get further info about the special layer.
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
in the meantime I received further info about the approach. We can offer two different feature layers.
Both layers apply specific restrictions to the collapsed road and the underlying streets (the set of segments is equal, only the attributes vary)
You need proper license keys to benefit from the layers
There is a FeatureLayer file (*.flr) which should be copied in the featurelayer folder in the map directory.
You can activate the layers via profile snippets or server profiles
Layer
PTV_TrafficIncidents
PTV_TruckAttributes
Attributes
All segments are blocked based on speed reduction: absoluteSpeed (km/h) = 0
All Segments are blocked for all trucks (vehicle with load type Goods and totalPermittedWeight > 3.5 tons
Important
Even if you allow violations the segments won't be used as they will not produce optimal ways.
You can enable violations. You can't distinguish regular truck attributes from the special ones. Only applies to trucks, so regular cars won't be affected.
In xroute and xmap the FeatureLayer Theme has to be activated
<Theme id="PTV_TrafficIncidents" enabled="true"/>
<Theme id="PTV_TruckAttributes" enabled="true"/>
And here's a minimal snippet (for PTV_TrafficIncidents, just replace by PTV_TruckAttributes):
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
You have kept the xsi:nil="true" in the ArrayOfExceptionPath_4 element. because of this the object will be deserialized as a NULL reference. Also your ExceptionPath element is using the wrong namespace because you kept the ns2 prefix. If you remove the null reference and the incorrect prefix it will work.
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...