Rasterization: Difference between revisions
No edit summary |
No edit summary |
||
| (16 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
The rasterization model is a part of | The rasterization model is a part of the [[Simulation Core]], that is tasked with converting attributes and polygons from features of various layers into raster values. | ||
=Layers= | =Layers= | ||
The layer rasterization sequence of the features is: | The layer rasterization sequence of the polygon features is: | ||
# [[Net Line]]s | # [[Net Line]]s | ||
# [[Address]]es | # [[Address]]es | ||
| Line 13: | Line 13: | ||
Converting polygons to grid cells can be done in different ways. A common approach is by checking the intersection between the polygon outline and the cell. As displayed below: | Converting polygons to grid cells can be done in different ways. A common approach is by checking the intersection between the polygon outline and the cell. As displayed below: | ||
[[File:Raster outline.jpg|thumb|none|300px]] | [[File:Raster outline.jpg|thumb|none|300px|Outline rasterization method]] | ||
However this will create a small overshoot resulting in larger cell area | However this will create a small overshoot resulting in larger cell area than the original polygon. To correct for this one could also rasterize based on the center point. As displayed below: | ||
[[File:Raster center.jpg|thumb|none|300px]] | [[File:Raster center.jpg|thumb|none|300px|Center rasterization method]] | ||
While more accurate, this method may fail for objects smaller than the grid cell area. If the cell center point misses a small object, it won't be rasterized and remains as traversable space in the simulation. | |||
To compensate for this situation the default option is '''combined''' center + outline. | To compensate for this situation the default option is '''combined''' center + outline. This method uses center-point rasterization for most objects and outline rasterization for small ones to ensure coverage. | ||
Via | Via the editor [[Calculation panel]] the rasterization method can be selected. | ||
* '''Combined''' Center for large and Outline for small polygons (default). | * '''Combined''' Center for large and Outline for small polygons (default). | ||
* '''Outline''' Overshoot results in more cells | * '''Outline''' Overshoot results in more cells than polygon area. | ||
* '''Center''' | * '''Center''' Fastest but missing small polygons. | ||
Note: Since version 2025 | Note: Since version 2025 combined is the default, before that outline was used. | ||
[[File:rasterization.jpg|thumb|none|500px|Select rasterization method in calculation panel]] | |||
{{article end | |||
|seealso=*[[Grid Overlay]] | |||
* [[Rasterization (Average Overlay)]] | |||
* [[Rasterization (Combo Overlay)]] | |||
* [[Rasterization (Distance Overlay)]] | |||
* [[Rasterization (Sight Distance Overlay)]] | |||
|api=* [[Api session event editor setting set rasterization]] | |||
}} | |||
Latest revision as of 09:04, 14 July 2026
The rasterization model is a part of the Simulation Core, that is tasked with converting attributes and polygons from features of various layers into raster values.
Layers
The layer rasterization sequence of the polygon features is:
Methods
Converting polygons to grid cells can be done in different ways. A common approach is by checking the intersection between the polygon outline and the cell. As displayed below:

However this will create a small overshoot resulting in larger cell area than the original polygon. To correct for this one could also rasterize based on the center point. As displayed below:

While more accurate, this method may fail for objects smaller than the grid cell area. If the cell center point misses a small object, it won't be rasterized and remains as traversable space in the simulation.
To compensate for this situation the default option is combined center + outline. This method uses center-point rasterization for most objects and outline rasterization for small ones to ensure coverage.
Via the editor Calculation panel the rasterization method can be selected.
- Combined Center for large and Outline for small polygons (default).
- Outline Overshoot results in more cells than polygon area.
- Center Fastest but missing small polygons.
Note: Since version 2025 combined is the default, before that outline was used.
