Repository navigation
Conversation
added classes for encoders to access geometry added sample Bike Encoder that routes in 3D by modifying speed
cloned long long version of BTree elevations available in whole reader up to distance calculation
|
Nice! Would it be possible to avoid somehow encodingManager.needsHikingRoutes, needsBicycleRoutes etc? Could it be somehow translated to encodingManager.needs(RELATIONS) like the NEEDS_DEM? Also I would need a simple OSMReader test for BikeTwoSpeedEncoder - with a (new) file containing relations. |
Yes, just a matter of taste.
How? BikeTwoSpeedEncoder needs a DEM to be present. |
With the existing code it should be possible to do something like Then we could assert easily if the speed is really different for two directions uphill/downhill but e.g. it is the same on a contour. |
Done. |
|
The route handling classes are independent and could be pulled individually. But it was built on the branch containing elevation handling so you would have additional work integrating it now and additional work putting in back in context with the elevations. |
|
Closing in favor of #132 |
Added handling for route relation membership for foot, bike and horse.
Just information about membership, no data on the routes themselves.
Example usage in BikeTwoSpeedEncoder.
Implements #76
Depends on #83, should be pulled afterwards.