Create a Node diagram

Top  Previous  Next

The following example is an HTML tag to call Crash Magic, and create a node study diagram. For this example to work with your data, crash records must have the ability to be located by a specific node number that identifies their location. The user must be logged into Crash Magic for this call to create the diagram.

 

<a href="http://www.governmenttools.com/cm/CrashMagicOnline_ISAPI.dll/MagicAuto/? 

ACTION=diagram& studydefinition=Node& Project=Demo& Node=9270& 

FirstDate=01/01/2004& LastDate=12/31/2005& Name=S SANTA FE DR/W ALAMEDA AVE& 

filter=bicycles& template=Four way intersection& Categories=Time of day" 

Target = "CMO">Node study</a>

(spaces were added after all "&" in above url to enable wrapping and increase readability.  Do not include spaces in actual url.)

Item

Description

http://www.governmenttools.com/cm/CrashMagicOnline_ISAPI.dll/

This is the URL of the Crash Magic server. This location will be specific to your installation of Crash Magic.

MAGICAUTO

The Action is that Crash Magic is being asked to perform.

Action=DIAGRAM

Name that will be given to any item that is created. This name may be modified by Crash Magic if an item that already exists in the project.

Project=Demo

The project that the diagram will be created under. If this project does not exist it will be created.

studydefinition=Node

The study definition that will be used to gather the collision records.

Node=9270

The node value.

FirstDate=01/01/2004

The FirstDate value.

LastDate=12/31/2005

The LastDate value.

Name=S SANTA FE DR/W ALAMEDA AVE

The name that will be given to the study.

filter=bicycles

The filter template that will be applied to the study.

template=Four way intersection

The diagram template that will be used to create the diagram report.

CategoriesTemplate=Time of day

The category template that will be applied to the study.