Skip to main content

Crate geo_viz

Crate geo_viz 

Source
Expand description

§geo-viz

Renderer-agnostic geographic visualization indexes for map views.

This crate owns the data-side map aggregation surface used by @moritzbrantner/viz-engine. Rendering remains in downstream packages.

§Install

[dependencies]
geo-core = { package = "moritzbrantner-geo-core", version = "0.1.0" }
geo-io-geojson = { package = "moritzbrantner-geo-io-geojson", version = "0.1.0" }
geo-clustering = { package = "moritzbrantner-geo-clustering", version = "0.1.0" }
maps-kernels-core = "0.1.0"
geo-viz = { package = "moritzbrantner-geo-viz", version = "0.1.0" }
use geo_viz::{GeoPointIndex, GeoVizPoint};

Modules§

surface
Library-owned runtime surface for geo-viz.

Structs§

GeoFlowIndex
Geographic flow index.
GeoJsonIndex
GeoJSON viewport index.
GeoPointIndex
Geographic point aggregation index.
GeoVizAggregation
Aggregation result for one viewport.
GeoVizAggregationOptions
Point aggregation configuration.
GeoVizAggregationSummary
Summary for visible aggregated features.
GeoVizFlow
Input flow between two geographic coordinates.
GeoVizFlowAggregation
Flow features for one viewport.
GeoVizFlowFeature
Weighted geographic flow feature.
GeoVizFlowOptions
Geographic flow query options.
GeoVizFlowSummary
Summary for geographic flow features.
GeoVizGeoJsonOptions
GeoJSON viewport query options.
GeoVizGeoJsonViewport
GeoJSON features for one viewport.
GeoVizHeatAggregation
Heat features for one viewport.
GeoVizHeatFeature
Weighted point feature for geographic heat layers.
GeoVizHeatOptions
Point heat feature options.
GeoVizHeatSummary
Summary for geographic heat features.
GeoVizIndexedFlow
Indexed, normalized geographic flow.
GeoVizIndexedPoint
Indexed, normalized map point.
GeoVizNearestPointQuery
Query for the nearest indexed point.
GeoVizPoint
Input point for map visualization indexes.
GeoVizScalarFieldGrid
Generated scalar field grid.
GeoVizScalarFieldIndex
Reusable IDW scalar field index.
GeoVizScalarFieldOptions
Options for IDW scalar field generation.
GeoVizViewportQuery
Query for a geographic viewport.

Enums§

GeoVizAggregationFeature
Aggregated viewport feature.
GeoVizFlowAggregateMode
Flow aggregation mode.

Functions§

create_scalar_field_grid
Creates an IDW scalar field grid from geographic points.

Type Aliases§

GeoVizBounds
Geographic bounding box in [west, south, east, north] order.
GeoVizFeatureCollectionValue
GeoJSON-compatible feature collection value returned to renderer adapters.
GeoVizMetricRecord
Numeric metric bag attached to points and aggregated features.