ssroute_data_eurostat 0.1.0 copy "ssroute_data_eurostat: ^0.1.0" to clipboard
ssroute_data_eurostat: ^0.1.0 copied to clipboard

Eurostat SeaRoute / MARNET maritime routing graph data (GeoJSON) for Dart (VM/CLI/server).

ssroute_data_eurostat #

Eurostat SeaRoute / MARNET maritime routing graph data (GeoJSON) for Dart (VM/CLI/server).

Usage #

import 'package:ssroute_data_eurostat/ssroute_data_eurostat.dart';

void main() async {
  final nodes = await loadNodes();
  final edges = await loadEdges();
  final meta = await loadMeta();

  print('Loaded ${nodes['features'].length} nodes');
  print('Loaded ${edges['features'].length} edges');
}

API #

  • Future<Map<String, dynamic>> loadNodes() - Returns the nodes GeoJSON FeatureCollection
  • Future<Map<String, dynamic>> loadEdges() - Returns the edges GeoJSON FeatureCollection
  • Future<Map<String, dynamic>> loadMeta() - Returns the metadata JSON (schema, units, etc.)

Data #

  • Nodes: Unique waypoints on the sea surface, each with id, lon, and lat.
  • Edges: Directed connections between nodes, each with from, to, and length_nm (nautical miles).
  • Meta: Metadata describing schema, units, and the upstream source.

License #

EUPL-1.2 - See LICENSE for details.

Data derived from Eurostat SeaRoute / MARNET.

0
likes
0
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Eurostat SeaRoute / MARNET maritime routing graph data (GeoJSON) for Dart (VM/CLI/server).

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on ssroute_data_eurostat