vibeproj.projections.krovak¶
Krovak projection.
Oblique conformal conic projection used for Czech/Slovak national grids. Implements the Krovak North Orientated variant (EPSG method 1041).
Math follows PROJ krovak.cpp and EPSG Guidance Note 7-2, section 2.4.4.
Classes¶
Oblique conformal conic projection for Czech/Slovak national grids. |
Module Contents¶
- class vibeproj.projections.krovak.Krovak¶
Bases:
vibeproj.projections.base.ProjectionOblique conformal conic projection for Czech/Slovak national grids.
- name = 'krovak'¶
- setup(params: vibeproj.crs.ProjectionParams) dict¶
Compute derived parameters from projection params.
Called once at construction time. Returns a dict of computed params that will be passed to forward/inverse.
- forward(lam, phi, params, computed, xp)¶
Forward projection: geographic (lon, lat in radians) -> projected (x, y in meters).
lam: longitude relative to central meridian (radians), array phi: latitude (radians), array Returns (x, y) in projection-native units (before false easting/northing and scale).
- inverse(x, y, params, computed, xp)¶
Inverse projection: projected (x, y) -> geographic (lon, lat in radians).
x, y: projection-native units (after removing false easting/northing and scale). Returns (lam, phi) in radians, with lam relative to central meridian.