voxcity.utils.projector¶
Coordinate-frame projector for VoxCity grids.
Two frames this module understands:
lon_lat — geographic (lon°, lat°), WGS84 uv_m — local grid metres from the grid origin (rectangle_vertices[0]):
u_m = metres along u_vec (side_1 direction) v_m = metres along v_vec (side_2 direction)
- Key invariant:
voxcity_grid[i, j, k] ↔ scene position (i×meshsize_m, j×meshsize_m, k×meshsize_m)
No orientation flip, no (nx−u) compensation. The voxel array index IS the scene coordinate (divided by meshsize_m).
Attributes¶
Classes¶
Typed view of the dict returned by compute_grid_geometry(). |
|
Projects between lon_lat (WGS84) and uv_m (local grid metres). |
Module Contents¶
- voxcity.utils.projector.Scalar¶
- voxcity.utils.projector.ArrayLike¶