OSM-0.5.1: Parse OpenStreetMap files

Data.Geo.OSM.Relation

Description

The relation element of a OSM file.

Synopsis

Documentation

relationSource

Arguments

:: [Member]

The list of members (member 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.

-> Relation 

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