vibespatial.io.geojson_gpu¶
GPU byte-classification GeoJSON parser.
Parses GeoJSON FeatureCollection files on GPU using NVRTC kernels for byte classification, structural scanning, coordinate extraction, and ASCII-to-float64 parsing. Property extraction stays on CPU (hybrid design per vibeSpatial GPU memory policy).
Supports homogeneous and mixed Point, LineString, and Polygon files. Multi-geometry types (MultiPoint, MultiLineString, MultiPolygon) and chunked processing for files exceeding GPU memory are deferred.
Attributes¶
Classes¶
Functions¶
|
Parse a GeoJSON file using GPU byte-classification pipeline. |
Module Contents¶
- vibespatial.io.geojson_gpu.cp = None¶
- vibespatial.io.geojson_gpu.KERNEL_PARAM_I64¶
- class vibespatial.io.geojson_gpu.GeoJSONGpuResult¶
-
- n_features: int¶
- host_bytes: numpy.ndarray¶
- feature_starts: numpy.ndarray¶
- feature_ends: numpy.ndarray¶
- properties_loader() collections.abc.Callable[[], list[dict[str, object]]]¶
- extract_properties_dataframe()¶
- vibespatial.io.geojson_gpu.read_geojson_gpu(path: pathlib.Path) GeoJSONGpuResult¶
Parse a GeoJSON file using GPU byte-classification pipeline.
Returns a GeoJSONGpuResult with device-resident OwnedGeometryArray and host data for lazy CPU property extraction.