Add a map to Network Analyst Directions HTML output

179
3
09-12-2017 11:47 AM
Highlighted
Occasional Contributor

I am using Model Builder to route water meter shut offs and services for a daily route. The output is an HMTL document with the directions. I have not found a way to add the map at each stop for the GP Tool located at Network Analyst Tools \ Analysis \ Directions. I know that you can add maps from the Directions tool on the Network Analyst toolbar, however I am trying to find this option on a more automated approach in Model Builder or Python.

Reply
0 Kudos
3 Replies
Highlighted
MVP Esteemed Contributor

never thought about it, but the tool help for Directions, says something about a stylesheet... perhaps that is the clue for html output... whether it contains the map, I will defer to others

Reply
0 Kudos
Highlighted
Occasional Contributor

Seems like the XSL style sheet allows for some formatting. I might need to work my team for an SRSS report or something similar about modifying the HTML output.

Reply
0 Kudos
Highlighted
Esri Regular Contributor

The GP tool in Model Builder does not have access to the map document, so not able to add inset maps into the html output from the Directions tool. (The directions window as you noted, does have access to the map and has those capabilities).

Jay Sandhu