Package | Description |
---|---|
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
Modifier and Type | Method and Description |
---|---|
static NodeGraph |
NodeGraph.createDirectedGraphFromNodePairs(java.util.List<NodePair> pairs) |
static NodeGraph |
NodeGraph.createDirectedGraphFromWays(java.util.Collection<Way> ways) |
static NodeGraph |
NodeGraph.createNearlyUndirectedGraphFromNodeWays(java.util.Collection<Way> ways) |
static NodeGraph |
NodeGraph.createUndirectedGraphFromNodeList(java.util.List<NodePair> pairs)
Create an undirected graph from the given node pairs.
|
static NodeGraph |
NodeGraph.createUndirectedGraphFromNodeWays(java.util.Collection<Way> ways)
Create an undirected graph from the given ways, but prevent reversing of all
non-new ways by fix one direction.
|