OSM-0.1: Parse OpenStreetMap files

Geo.OSM.OSM

Description

The osm element of a OSM file, which is the root element.

Synopsis

Documentation

data OSM Source

The osm element of a OSM file, which is the root element.

osmSource

Arguments

:: String

The version attribute.

-> Maybe String

The generator attribute.

-> Maybe (Either Bound Bounds)

The bound or bounds elements.

-> [NodeWayRelation]

The node, way or relation elements.

-> OSM 

Constructs a osm with a version, bound or bounds, and node attributes and way or relation elements.