get_cached_geometry

Function get_cached_geometry 

Source
pub async fn get_cached_geometry(
    __arg0: State<AppState>,
    __arg1: Query<ParseQuery>,
    __arg2: Path<String>,
) -> Result<Response, ApiError>
Expand description

GET /api/v1/cache/geometry/:hash

Fetch cached Parquet geometry directly without uploading the file. Used when client-side hash check confirms file is already cached.

The optional opening_filter query parameter must match the value used when the file was uploaded — different filter modes produce distinct cache entries.

Response:

  • 200: Cached Parquet geometry with metadata header
  • 404: Cache entry not found