| Package | Description |
|---|---|
| org.opentrafficsim.road.network.factory.osm |
OpenStreetMap import.
|
| org.opentrafficsim.road.network.factory.osm.output |
OpenStreetMap output.
|
| Modifier and Type | Method and Description |
|---|---|
OSMNode |
OSMLink.getEnd() |
OSMNode |
OSMNetwork.getNode(long nodeId)
Retrieve a Node from this Network.
|
OSMNode |
OSMLink.getStart() |
| Modifier and Type | Method and Description |
|---|---|
Map<Long,OSMNode> |
OSMNetwork.getNodes()
Retrieve the map of OSMNode ids to OSMNodes of this OSMNetwork.
|
List<OSMNode> |
OSMLink.getSplineList()
Retrieve the list of OSMNodes that define the shape of this OSMLink.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OSMNetwork.addNode(OSMNode node)
Add one OSMNode to this OSMNetwork.
|
void |
OSMLink.addSpline(OSMNode shapeNode)
Append a Node to the list of OSMNodes of this OSMLink that define the shape of this OSMLink.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OSMNetwork.setNodes(LinkedHashMap<Long,OSMNode> newnodes)
Set/replace the Nodes of this Network.
The provided list is not copied; the caller should not modify the list after setting it. |
| Constructor and Description |
|---|
OSMLink(OSMNode startNode,
OSMNode endNode,
List<OSMTag> tags,
double length,
byte lanes,
byte flanes)
Construct a new OSMLink with specified number of lanes and forward lanes.
|
OSMLink(OSMNode fromNode,
OSMNode toNode,
List<OSMTag> tags,
double length,
WarningListener warningListener)
Construct a new OSMLink.
|
| Modifier and Type | Method and Description |
|---|---|
OTSRoadNode |
Convert.convertNode(OTSRoadNetwork network,
OSMNode node)
This method converts an OSM node to an OTS node.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.