| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| geoscene_wiki_2d_grids [2026/01/05 15:20] – dev | geoscene_wiki_2d_grids [2026/01/05 15:39] (current) – dev |
|---|
| <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> |
| |
| <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> |
| |
| <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> |
| |
| |