vibespatial.io.gpu_parse.transform

GPU coordinate transform stage for fused ingest+reproject.

Provides in-place CRS transforms on device-resident coordinate arrays via vibeProj Transformer.transform_buffers(), which supports arbitrary CRS pairs with GPU-accelerated PROJ pipelines.

ADR-0002: fp64 throughout – CRS transforms are CONSTRUCTIVE class;

precision loss in coordinate transforms propagates to all downstream spatial operations.

Attributes

cp

Functions

transform_coordinates_inplace(→ None)

Transform device coordinate arrays between CRS in-place.

Module Contents

vibespatial.io.gpu_parse.transform.cp = None
vibespatial.io.gpu_parse.transform.transform_coordinates_inplace(d_x: cupy.ndarray, d_y: cupy.ndarray, src_crs: str, dst_crs: str) None

Transform device coordinate arrays between CRS in-place.

Delegates to vibeProj Transformer.transform_buffers() which supports arbitrary CRS pairs via GPU-accelerated PROJ pipelines.

Parameters

d_xcp.ndarray

Float64 device array of x-coordinates (longitude or easting). Modified in-place.

d_ycp.ndarray

Float64 device array of y-coordinates (latitude or northing). Modified in-place.

src_crsstr

Source CRS identifier (e.g. "EPSG:4326").

dst_crsstr

Destination CRS identifier (e.g. "EPSG:3857").

Raises

ValueError

If coordinate arrays have mismatched lengths.

Notes

fp64 precision is used throughout (CONSTRUCTIVE class per ADR-0002).