The following document contains the results of PMD's CPD 5.3.5.
| File | Line |
|---|---|
| org\opentrafficsim\road\network\factory\shape\TestShapeParser.java | 383 |
| org\opentrafficsim\road\network\factory\shape\TestShapeParser.java | 419 |
private NWBDrivingLane getPropertiesDrivingLanes(final Feature feature) throws NetworkException
{
Geometry theGeom = (Geometry) feature.getDefaultGeometryProperty().getValue();
Coordinate[] coordinates = theGeom.getCoordinates();
Property property = feature.getProperty("WVK_ID");
String roadId = property.getValue().toString();
property = feature.getProperty("KANTCODE");
String sideCode = property.getValue().toString();
property = feature.getProperty("BEGAFSTAND");
Double beginDistance = parseDouble(property);
property = feature.getProperty("ENDAFSTAND");
Double endDistance = parseDouble(property);
property = feature.getProperty("OMSCHR");
String laneDescription = property.getValue().toString(); | |