Skip to main content

Crate oxigdal_services

Crate oxigdal_services 

Source
Expand description

OxiGDAL Services - OGC Web Services Implementation

Provides OGC-compliant web service implementations for geospatial data access and processing:

  • WFS (Web Feature Service) 2.0/3.0: Vector data access with filtering and transactions
  • WCS (Web Coverage Service) 2.0: Raster data access with subsetting and format conversion
  • WPS (Web Processing Service) 2.0: Geospatial processing with built-in algorithms
  • CSW (Catalog Service for the Web) 2.0.2: Metadata catalog search and retrieval
  • OGC API - Tiles: TileMatrixSet, TileSetMetadata, tile coordinate utilities
  • MVT (Mapbox Vector Tile): Protobuf encoding for vector tile generation

§Features

  • OGC-compliant implementations following official standards
  • XML/JSON output formats with proper schema validation
  • CRS support and coordinate transformation
  • Built-in WPS processes (buffer, clip, union, etc.)
  • Async request handling with Axum
  • Pure Rust implementation (no C/C++ dependencies)
  • Hand-rolled MVT protobuf encoder (no protobuf crate dependency)

§COOLJAPAN Policies

  • Pure Rust: No C/C++ dependencies
  • No unwrap(): Proper error handling throughout
  • Workspace: Uses workspace dependencies
  • Files < 2000 lines: Modular code organization

Re-exports§

pub use csw::CswState;
pub use csw::MetadataRecord;
pub use error::ServiceError;
pub use error::ServiceResult;
pub use mvt::MvtFeature;
pub use mvt::MvtGeometryType;
pub use mvt::MvtLayer;
pub use mvt::MvtLayerBuilder;
pub use mvt::MvtTile;
pub use mvt::MvtValue;
pub use mvt::close_path;
pub use mvt::decode_zigzag;
pub use mvt::delta_encode;
pub use mvt::encode_varint;
pub use mvt::encode_zigzag;
pub use mvt::line_to;
pub use mvt::linestring_geometry;
pub use mvt::move_to;
pub use mvt::point_geometry;
pub use mvt::polygon_ring_geometry;
pub use mvt::scale_to_tile;
pub use ogc_tiles::ConformanceDeclaration;
pub use ogc_tiles::CornerOfOrigin;
pub use ogc_tiles::GeographicBoundingBox;
pub use ogc_tiles::TileDataType;
pub use ogc_tiles::TileMatrix;
pub use ogc_tiles::TileMatrixSet;
pub use ogc_tiles::TileSetMetadata;
pub use ogc_tiles::lonlat_to_tile;
pub use ogc_tiles::tile_children;
pub use ogc_tiles::tile_parent;
pub use ogc_tiles::tile_to_bbox;
pub use ogc_tiles::tile_to_pixel_bounds;
pub use ogc_tiles::tiles_in_bbox;
pub use ogc_tiles::validate_tile_coords;
pub use wcs::CoverageInfo;
pub use wcs::CoverageSource;
pub use wcs::WcsState;
pub use wfs::FeatureSource;
pub use wfs::FeatureTypeInfo;
pub use wfs::WfsState;
pub use wps::Process;
pub use wps::ProcessInputs;
pub use wps::ProcessOutputs;
pub use wps::WpsState;

Modules§

cache_headers
CDN-friendly HTTP caching headers for tile servers and geospatial APIs.
csw
CSW (Catalog Service for the Web) 2.0.2 implementation
error
Error types for OGC web services
mvt
Mapbox Vector Tile (MVT) generation
ogc_features
OGC API - Features Part 1 (Core) and Part 2 (CRS) implementation
ogc_tiles
OGC API - Tiles implementation
style
Mapbox GL Style Specification v8 core types.
tile_cache
Vector tile cache system with HTTP/2 server push hints.
wcs
WCS (Web Coverage Service) 2.0 implementation
wfs
WFS (Web Feature Service) 2.0/3.0 implementation
wps
WPS (Web Processing Service) 2.0 implementation

Constants§

VERSION
Library version