Skip to main content

qualia_core_db/domains/geospatial/gis_io/
mod.rs

1// SPDX-License-Identifier: Apache-2.0 OR MIT
2// Copyright (c) RustGIS contributors (adapted under MIT License)
3//! Round 4 (`GEO-S4`) & Round 5 (`GEO-S5`) Geospatial Vector, CAD, LiDAR `.m64` `0x00`,
4//! `PMTiles`/`MVT`, 10 OGC/STAC/ArcGIS Protocols, Zarr/NetCDF/GRIB2 `.10d` Datacubes,
5//! and Zero-Heap OGC GeoSPARQL 1.1 + 48B `NQuin` Deontic Spatial Norm Bridge.
6
7pub mod cog_wcs_wms_wmts;
8pub mod datacube_zarr_netcdf_grib;
9pub mod filegdb_gpkg_fgb;
10pub mod geosparql_deontic_bridge;
11pub mod kml_gpx_gml_dxf_osm;
12pub mod lidar_copc_m64;
13pub mod ogc_feature_services;
14pub mod ogc_sensor_stac;
15pub mod pmtiles_mvt_io;
16pub mod shp_parquet_geojson;
17
18pub use cog_wcs_wms_wmts::{
19    build_wcs20_get_coverage_url, build_wms130_get_map_url, build_wmts10_get_tile_url,
20    lonlat_to_xyz_tile, parse_cog_ifd, plan_cog_http_ranges, xyz_tile_to_lonlat_bbox,
21    xyz_y_to_tms_y, CogIfdLayout, HttpByteRange, RasterServiceError,
22};
23pub use datacube_zarr_netcdf_grib::{
24    compile_datacube_slices_to_tensor10d, decode_zarr_f32_chunk_into, format_zarr_chunk_key,
25    parse_grib2_sections, parse_netcdf_classic_header, parse_zarr_array_meta,
26    read_netcdf_f32_slab_into, unpack_grib2_simple_packing_into, DatacubeError,
27    Grib2RecordSummary, NetCdfHeaderSummary, ZarrArrayMeta,
28};
29pub use filegdb_gpkg_fgb::{
30    decode_fgb_feature_at, decode_gpkg_geometry, encode_fgb_container,
31    encode_filegdb_point_or_polygon_row, encode_gpkg_geometry, parse_filegdb_point_or_polygon_row,
32    parse_filegdb_tablx_offset, parse_gpkg_geom_header, query_fgb_bbox_zero_copy,
33    validate_sqlite_gpkg_file_header, BBox2D, FgbIndexNode, GisBinaryError, GpkgGeomHeader,
34    SimpleGeom2D, FGB_MAGIC, GPKG_GEOM_MAGIC, SQLITE3_HEADER_MAGIC,
35};
36pub use geosparql_deontic_bridge::{
37    compute_polygon_de9im, evaluate_spatial_deontic_covenants, geof_distance_polygons,
38    geof_sf_contains, geof_sf_disjoint, geof_sf_equals, geof_sf_intersects, geof_sf_overlaps,
39    geof_sf_touches, geof_sf_within, mint_spatial_deontic_quin, De9imMatrix,
40    SpatialCovenantZone, SpatialNormVerdict, SpatialQuin48, DEFEATER_BIT, OP_FORBID, OP_OBLIGATE,
41    OP_PERMIT,
42};
43pub use kml_gpx_gml_dxf_osm::{
44    decode_topojson_polygon_arcs, export_dxf_entities, export_gml_feature_collection,
45    export_gpx_track, export_kml_document, parse_dxf_entities, parse_gml_poslists,
46    parse_gpx_points, parse_kml_placemarks, parse_osm_xml_ways, ExchangeFeature, ExchangeGeomKind,
47    ExchangeIoError,
48};
49pub use lidar_copc_m64::{
50    classify_ground_and_canopy_csf, decode_las_point_format0, ingest_las_point_batch,
51    parse_copc_hierarchy_entry, parse_las_header, rasterize_dtm_dsm_chm, AsprsClass,
52    CopcOctreeVoxelKey, LasHeaderSummary, LidarError, M64LidarPoint, M64_LIDAR_SUBMAGIC,
53};
54pub use ogc_feature_services::{
55    build_arcgis_feature_query_url, build_ogc_features_items_url, build_wfs20_get_feature_url,
56    format_cql2_text, parse_arcgis_json_features, parse_csw30_records_xml,
57    parse_ogc_features_response, parse_wfs20_member_response, Cql2Expr, CswMetadataRecord,
58    OgcServiceError, ServiceFeature,
59};
60pub use ogc_sensor_stac::{
61    build_ogc_process_execute_json, build_sensorthings_observations_url,
62    build_stac_search_payload, parse_ogc_process_job_status,
63    parse_sensorthings_observations_json, parse_sos20_om_observations_xml, parse_stac_item_json,
64    select_best_cog_asset, OgcProcessStatus, SensorObservation, SensorStacError, StacAsset,
65    StacItem,
66};
67pub use pmtiles_mvt_io::{
68    decode_mvt_geometry_commands, decode_mvt_layer_pbf, decode_pmtiles_header_v3,
69    encode_mvt_geometry_commands, encode_mvt_layer_pbf, encode_pmtiles_header_v3,
70    lookup_pmtiles_entry, pmtiles_hilbert_id_to_zxy, zigzag_decode, zigzag_encode,
71    zxy_to_pmtiles_hilbert_id, MvtLayer, PmTilesDirEntry, PmTilesHeaderV3, TileIoError,
72    MVT_DEFAULT_EXTENT, PMTILES_V3_MAGIC,
73};
74pub use shp_parquet_geojson::{
75    decode_dbf_attributes, decode_ewkb, decode_geoparquet_wkb_batch, decode_geojson_geometries,
76    decode_shapefile_shp, encode_dbf_attributes, encode_ewkb, encode_geoparquet_wkb_batch,
77    encode_geojson_feature_collection, encode_shapefile_shp_shx, parse_csv_lonlat_or_wkt, GisGeom,
78    VectorIoError, EWKB_SRID_FLAG, EWKB_Z_FLAG, SHP_FILE_CODE,
79};