How to create a Destination area: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
Below an example with the [[Travel_Distance_Overlay|Travel distance overlay]]  based on a school and pedestrian traffic.
Below an example with the [[Travel_Distance_Overlay|Travel distance overlay]]  based on a school and pedestrian traffic.


===Creating a routing area===
{{Howto|title=
{| class="wikitable"
|Have a project loaded in the editor and decide the area of interest of the Travel Distance overlay, a school in our case.
|style="width: 5%"|1
|Add an area and select to Adjust the area.  
|style="width: 50%"|Have a project loaded in the editor and decide the area of interest of the Travel Distance overlay, a school in our case.
|Draw in the area around the school. '''Important''': Ensure that the area overlaps the adjacent roads. In our example the area overlaps with roads east, west and south of the school.  
|style="width: 10%"|[[File:Select_School1.jpg|300px|center|thumb|School selected as example, the blue arrow is added for clarity]]
|Apply the selection.
|-
|Select its attribute tab on the [[Detail Panel]].  
|style="width: 5%"|2
|Under Add New Attribute, write the name of the Destination area attribute; for example ROUTING_AREA, and set its value to 1.  
|style="width: 50%"|Add an area and select to Adjust the area. Draw in the area around the school. '''Important''': Ensure that the area overlaps the adjacent roads. In our example the area overlaps with roads east, west and south of the school. Apply the selection.
|Save the new attribute.  
|style="width: 10%"|[[File:Routing_Area1.jpg|300px|center|thumb|Please note that the area overlaps all adjacent roads east, west and south of the school]]
|Optionally adjust the area color; it will be used for the resulting overlay
|-
|Open the Travel Distance Overlay and select the keys tab. Under the key [[Destination area (Travel Distance Overlay)|Destination Area]], select the attribute chosen attribute in step 3, in the example ROUTING_AREA. This ensures that the destination areas are identified using this attribute.
|style="width: 5%"|3
}}
|style="width: 50%"|Select the newly added area and select its attribute tab on the right side. Add on the bottom a new attribute, for example ROUTING_AREA, with a value of 1. Save the new attribute. The Area color will be used for the overlay, so pick an appropriate color here too.
 
|style="width: 10%"|[[File:Routing_Area_Attr1.jpg|100px|center|thumb|]]
<gallery>
|-
File:Select_School1.jpg|School selected as example, the blue arrow is added for clarity
|style="width: 5%"|4
File:Routing_Area1.jpg|Please note that the area overlaps all adjacent roads east, west and south of the school
|style="width: 50%"|Open the Travel Distance Overlay and select the keys tab. Under the key [[Destination area (Travel Distance Overlay)|Destination Area]], select the attribute chosen attribute in step 3, in the example ROUTING_AREA. This ensures that the destination areas are identified using this attribute.
File:Routing_Area_Attr1.jpg|Added the attribute ''ROUTING_AREA'' to the Area.
|style="width: 10%"|[[File:Destination_area_key.jpg|100px|center|thumb|]]
File:Destination_area_key.jpg|Setting the [[key]] for [[Destination area (Travel Distance Overlay)|Destination Area]] to ''ROUTING_AREA''.
|}
</gallery>


{{article end
{{article end
Line 24: Line 24:
* In case a grid is used to identify traversable cells, make sure that the destination areas overlap a traversable cell.
* In case a grid is used to identify traversable cells, make sure that the destination areas overlap a traversable cell.
|seealso=
|seealso=
* [[Destination_area_(Travel_Distance_Overlay)|Destination area]]
* [[Destination area (Travel Distance Overlay)]]
* [[Travel_Distance_Overlay|Travel distance overlay]]
* [[Travel Distance Overlay]]
 
|api=*[[Api session event editor area add]]
*[[Api session event editor area add polygons]]
*[[Api session event editor area set attribute]]
*[[Api session event editor overlay set key value]]
}}
}}


[[Category:How-to's]]
[[Category:How-to's]]

Latest revision as of 14:21, 29 May 2026

Below an example with the Travel distance overlay based on a school and pedestrian traffic.

How to create a Destination area:
  1. Have a project loaded in the editor and decide the area of interest of the Travel Distance overlay, a school in our case.
  2. Add an area and select to Adjust the area.
  3. Draw in the area around the school. Important: Ensure that the area overlaps the adjacent roads. In our example the area overlaps with roads east, west and south of the school.
  4. Apply the selection.
  5. Select its attribute tab on the Detail Panel.
  6. Under Add New Attribute, write the name of the Destination area attribute; for example ROUTING_AREA, and set its value to 1.
  7. Save the new attribute.
  8. Optionally adjust the area color; it will be used for the resulting overlay
  9. Open the Travel Distance Overlay and select the keys tab. Under the key Destination Area, select the attribute chosen attribute in step 3, in the example ROUTING_AREA. This ensures that the destination areas are identified using this attribute.

Notes

  • In case a grid is used to identify traversable cells, make sure that the destination areas overlap a traversable cell.

See also

API Endpoints