OSM-0.6.3: Parse OpenStreetMap files

Data.Geo.OSM.Way

Description

The way element of a OSM file.

Synopsis

Documentation

data Way Source

The way element of a OSM file.

waySource

Arguments

:: [Nd]

The list of nds (nd elements).

-> String

The id attribute.

-> [Tag]

The list of tags (tag elements).

-> Maybe String

The changeset attribute.

-> Bool

The visible attribute.

-> (Maybe String, Maybe String)

The user and uid attributes.

-> Maybe String

The timestamp attribute.

-> Way 

Constructs a way with a list of nds, id, list of tags, changeset, visible, user&uid and timestamp.