Skip to content

Commit

Permalink
width road
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWillard committed Dec 4, 2020
1 parent f190c56 commit 6ea90dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/geojsons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ void writeRoads(grad_aff::Wrp& wrp, const std::string& worldName, std::filesyste

int32_t jId = feature["properties"]["ID"];
feature["properties"].clear();
feature["properties"]["width"] = roadWidthMap[jId].first;

//auto ogrGeometry = OGRGeometryFactory::createFromGeoJson(feature["geometry"].dump().c_str());
//ogrGeometry = ogrGeometry->Buffer(roadWidthMap[jId].first * GRAD_MEH_ROAD_WITH_FACTOR);
Expand Down

0 comments on commit 6ea90dc

Please sign in to comment.