Data.Geo.OSM.MemberType
Description
The type attribute of a member element of a OSM file.
- data MemberType
- foldMemberType :: MemberType -> x -> x -> x -> x
- wayType :: MemberType
- nodeType :: MemberType
- relationType :: MemberType
Documentation
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).
Constructs a member-type that is a way.
Constructs a member-type that is a node.
relationType :: MemberTypeSource
Constructs a member-type that is a relation.