OSM-0.2: Parse OpenStreetMap files

Geo.OSM.MemberType

Description

The type attribute of a member element of a OSM file.

Synopsis

Documentation

data MemberType Source

The type attribute of a member element of a OSM file.

foldMemberTypeSource

Arguments

:: MemberType

The member-type to fold.

-> x

If the type is a way.

-> x

If the type is a node.

-> x

If the type is a relation.

-> x 

Folds a member-type (catamorphism).

wayType :: MemberTypeSource

Constructs a member-type that is a way.

nodeType :: MemberTypeSource

Constructs a member-type that is a node.

relationType :: MemberTypeSource

Constructs a member-type that is a relation.