Module org.jgrapht.osm
Package org.jgrapht.osm
package org.jgrapht.osm
OpenStreetMap road-graph integration: GPKG preprocessing, CSV loading, and Haversine
heuristic for A* over geographic graphs.
-
ClassesClassDescriptionReads a Geofabrik-style OpenStreetMap GPKG snapshot of a region's road network and writes the largest strongly-connected component as a pair of gzipped CSV files that
OsmCsvGraphLoaderloads back into aGraph<Integer, ...>.Summary statistics from a preprocessor run.Great-circle (Haversine) admissible heuristic for A* over geographic graphs.Reads a headerlessnode_id,lat,lonCSV (the companion file produced byGpkgRoadGraphPreprocessor) into aMap<Integer, double[]>keyed by node id, with each value an array{lat, lon}in decimal degrees.Loads a headerless weighted edge-list CSV (the format produced byGpkgRoadGraphPreprocessor) into a targetGraph.