Closed F-I-D-O closed 7 years ago
Extract way tag (cz.agents.gtdgraphimporter.osm.WayTagExtractor.java) + http://wiki.openstreetmap.org/wiki/Lanes
In cz.agents.agentpolis.simmodel.environment.model.citymodel.transportnetwork.elements.SimulationEdge.java
method:
private void initLaneCounts(Set<ModeOfTransport> permittedModes) { permittedModes.stream().forEach( modeOfTransport -> addLaneCount(ModeOfTransportToGraphTypeConverter.convert(modeOfTransport), 1)); }
and
public SimulationEdgeBuilder addLaneCount(GraphType type, int laneCount) { laneCounts.put(type, laneCount); return this; }
So it´s permanently set. It wil need edit of the gtdgraphimporter and SimulationEdge
ComplexGraphBuilder