Hi All,
Please note you will require a SSA use only licence for the enterprise routing application (ERM) and data to run this process. Please contact your account managers to find out more information.
Applications used:
please see an example attached.
- Import the data flow into Spectrum Enterprise Designer
- This example has the destination set up as Germany. You need to change the database in the GetTravelDirections stage.
- Expose the data flow as a webservice
- Copy the p2proutingdemo.html to the Program Files\Pitney Bowes\SpectrumSpatialAnalyst\customerconfigurations\analyst\theme folder
- With MI Pro create a simple map that uses the click layer tab. This tab has a single transparent polygon covering Germany. We will use this as click layer.
- Upload the above map to Spectrum Spatial Manager/Analyst
- With the SSA admin console create a new map. Add the above Click Map to the map config.
- In the template mapping tab map the p2proutingdemo to the click layer
Simply open the map and click somewhere in Germany. Choose a destination and click submit. This will calculate the route and add it as an annotation.
An online demo can be seen here:
https://ssa.pbsdemo.eu/connect/analyst/mobile/#/main?mapcfg=RoutingDemo
Regards