About geodata
Key features of the geodata package:
- 🪄 Client-side data source abstraction for geospatial feature service Web APIs.
- 🌐 The GeoJSON client to read features from static web resources and local files, supports also Newline-delimited GeoJSON data.
- 🌎 The OGC API Features client to access metadata and feature items from a compliant geospatial Web API providing GeoJSON data.
Client-side support for the OGC API Features standard:
Standard part | Support in this package |
---|---|
OGC API - Features - Part 1: Core | Supported for accessing metadata and GeoJSON feature collections. |
OGC API - Features - Part 2: Coordinate Reference Systems by Reference | Supported. |
OGC API - Features - Part 3: Filtering Common Query Language (CQL2) | Partially supported (conformance classes, queryables, features filter). |
🛠️ Usage
The package requires at least Dart SDK 2.17, and it supports all Dart and Flutter platforms.
Add the dependency in your pubspec.yaml
:
Import it:
There are also partial packages containing only a certain subset. See the packages section below.
🚀 Shortcuts to docs
📦 Packages
The geodata library contains also following partial packages, that can be used to import only a certain subset instead of the whole geodata package:
Package | Exports also | Description |
---|---|---|
common | Common data structures and helpers (for links, metadata, paged responses). | |
core | Metadata and data source abstractions of geospatial Web APIs (ie. features). | |
formats | OpenAPI document and Common Query Language (CQL2) formats (partial support). | |
geojson_client | common, core | A client-side data source to read GeoJSON data from web and file resources. |
ogcapi_features_client | common, core, formats | A client-side data source to read features from OGC API Features services. |
External packages geodata
is depending on: