Trail

marola.trails.Trail
final case class Trail(name: String, lengthKm: Double, difficulty: Option[String], surface: Option[String], geometry: List[Coordinates], nearBeach: Option[(String, Double)], nearLake: Option[(String, Double)])

MIP-0030: a named coastal/lakeside trail (OSM highway=path/track) near a beach or a named lake — length, whatever sac_scale/surface OSM carries (verbatim, None when the tag is absent, never guessed), and the geometry the map draws.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product