fietsboek.models.climb module¶
The Climb model.
- class fietsboek.models.climb.Climb(**kwargs)¶
Bases:
BaseA climb represents a subpath of a track that ascends at least 3% over 500m.
- bounds()¶
Returns the bounds of this climb.
See
Path.bounds().
- display_name()¶
Returns the display name.
If the given name (by the user) is set, returns this. Otherwise, return the autmatic name.
- classmethod factory(request)¶
Factory method to pass to a route definition.
This factory retrieves the climb based on the
climb_idmatched route parameter, and returns the climb. If the climb is not found,HTTPNotFoundis raised.
- latlon_points()¶
Returns all points of this path as coordinates.
The returned points will be the latitude, longitude coordinates.