Rasterization model: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
Maxim@tygron.com (talk | contribs)
No edit summary
Maxim@tygron.com (talk | contribs)
No edit summary
Line 11: Line 11:


=Methods=
=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:
[[File:Raster outline.jpg|thumb]]
However this will create a small overshoot resulting in larger cell area then the original polygon. To correct for this one could also rasterize based on the center point.
[[File:Raster center.jpg|thumb]]
Although this provides a fairly accurate area this can lead to unwanted results for very small objects that are smaller then the grid cell area. When the cells center point does not intersect the small object it will not be rasterized and thus be part of the simulation.
To compensate for this situation the default option is 'combined' center + outline. Where most objects are rasterized via the optimal area solution (center point) and small objects are rasterized with the outline to prevent falling of the grid.
Via the the editor [[Calculation Popup]] 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 then polygon area.
* Outline: Overshoot results in more cells then polygon area.
* Center: WARNING: fastest but missing small polygons.
* Center: WARNING: fastest but missing small polygons.

Revision as of 13:29, 9 February 2026

The rasterization model is a part of Overlay models, that is tasked with converting attributes from features, from various layers, to values in rasters.

Layers

The layer rasterization sequence of the features is:

  1. Net Lines
  2. Addresses
  3. Buildings
  4. Terrains
  5. Areas
  6. Neighborhoods

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 then the original polygon. To correct for this one could also rasterize based on the center point.

Although this provides a fairly accurate area this can lead to unwanted results for very small objects that are smaller then the grid cell area. When the cells center point does not intersect the small object it will not be rasterized and thus be part of the simulation.

To compensate for this situation the default option is 'combined' center + outline. Where most objects are rasterized via the optimal area solution (center point) and small objects are rasterized with the outline to prevent falling of the grid.

Via the the editor Calculation Popup the rasterization method can be selected.

  • Combined: Center for large and Outline for small polygons (default).
  • Outline: Overshoot results in more cells then polygon area.
  • Center: WARNING: fastest but missing small polygons.