User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
geoscene_wiki_2d_grids [2026/01/05 15:17] devgeoscene_wiki_2d_grids [2026/01/05 15:39] (current) dev
Line 8: Line 8:
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>A common source of confusion is the distinction between:</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>A common source of confusion is the distinction between:</font>
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>**Grid cells** (areas)</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>**Grid cells** (areas)</font>+
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>**Grid points** (coordinates)</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>**Grid points** (coordinates)</font>+
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>In GeoScene3D, grid-based data are internally defined using **grid points**, not full polygons.</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>In GeoScene3D, grid-based data are internally defined using **grid points**, not full polygons.</font>
  
Line 20: Line 18:
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This means:</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This means:</font>
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>The grid coordinates start in the lower-left corner</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>The grid coordinates start in the lower-left corner</font>+
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>Cell spacing is applied in positive x- and y-directions from this point</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>Cell spacing is applied in positive x- and y-directions from this point</font>+
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This definition is consistent with many numerical and interpolation-based grid formats.</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This definition is consistent with many numerical and interpolation-based grid formats.</font>
  
 ---- ----
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>**Cell Reference Point: Center of the Cell**</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>**Cell Reference Point: Center of the Cell**</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>Although the grid origin is located at the lower-left corner, **GeoScene3D defines grid values at the CKGE_TMP_i center CKGE_TMP_i of each cell**.</font>+ <font 12pt/Aptos,sans-serif;;inherit;;inherit>Although the grid origin is located at the lower-left corner, **GeoScene3D defines grid values at the center of each cell**.</font>
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>In practice, this means:</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>In practice, this means:</font>
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>The first grid value is located **half a cell size** away from the lower-left corner</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>The first grid value is located **half a cell size** away from the lower-left corner</font>+
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>Each grid point represents the center of a grid cell, not its corner</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>Each grid point represents the center of a grid cell, not its corner</font>+
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This is the key point that often causes confusion.</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This is the key point that often causes confusion.</font>
  
Line 43: Line 37:
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>Because grid values are defined at cell centers, the visualization behaves as follows:</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>Because grid values are defined at cell centers, the visualization behaves as follows:</font>
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>The first cell is centered around its grid point</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>The first cell is centered around its grid point</font>+
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>At the grid boundary, only **half of the first cell lies inside the grid extent**</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>At the grid boundary, only **half of the first cell lies inside the grid extent**</font>+
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>As a result:</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>As a result:</font>
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>The first grid cell appears visually as a **quarter cell** in the lower-left corner</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>The first grid cell appears visually as a **quarter cell** in the lower-left corner</font>+
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This is **not an error**, but a direct consequence of:</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This is **not an error**, but a direct consequence of:</font>
  
-  - +  - <font 12pt/Aptos,sans-serif;;inherit;;inherit>the grid origin being defined at the corner, and</font> 
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>the grid origin being defined at the corner, and</font> +  - <font 12pt/Aptos,sans-serif;;inherit;;inherit>the grid values being defined at cell centers.</font>
- +
-  - +
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>the grid values being defined at cell centers.</font>+
  
 ---- ----
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>**Illustration**</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>**Illustration**</font>
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>The figure below illustrates this behavior:</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>The figure below illustrates this behavior:</font>
 +{{:cetrum_vs_lower_left_corner1_1.png?600|}}
  
-  * +  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>Grid points are located at the **centers of the cells**</font>
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>Grid points are located at the **centers of the cells**</font> +
- +
-  * +
- <font 12pt/Aptos,sans-serif;;inherit;;inherit>The grid origin is at the **lower-left corner**</font>+
  
-  *+  * <font 12pt/Aptos,sans-serif;;inherit;;inherit>The grid origin is at the **lower-left corner**</font>
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>The first visible cell is therefore only partially shown</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>The first visible cell is therefore only partially shown</font>
  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This visual effect helps explain why the grid may appear “cut” at the edges.</font>  <font 12pt/Aptos,sans-serif;;inherit;;inherit>This visual effect helps explain why the grid may appear “cut” at the edges.</font>
  
  

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information