osm-conduit-0.1.0.0: Parse and operate on OSM data in efficient way

Safe HaskellSafe
LanguageHaskell2010

Data.Conduit.OSM.Types

Description

The following data types correspond to documentation of API version 0.6. See https://wiki.openstreetmap.org/wiki/API_v0.6/DTD

Synopsis

Documentation

data OSM Source #

Constructors

OSM 

Instances

Eq OSM Source # 

Methods

(==) :: OSM -> OSM -> Bool #

(/=) :: OSM -> OSM -> Bool #

Show OSM Source # 

Methods

showsPrec :: Int -> OSM -> ShowS #

show :: OSM -> String #

showList :: [OSM] -> ShowS #

data Bounds Source #

Constructors

Bounds 

Fields

Instances

type Id = Text Source #

type User = Text Source #

type Role = Text Source #

data Node Source #

Constructors

Node 

Fields

Instances

Eq Node Source # 

Methods

(==) :: Node -> Node -> Bool #

(/=) :: Node -> Node -> Bool #

Show Node Source # 

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String #

showList :: [Node] -> ShowS #

data Way Source #

Constructors

Way 

Fields

Instances

Eq Way Source # 

Methods

(==) :: Way -> Way -> Bool #

(/=) :: Way -> Way -> Bool #

Show Way Source # 

Methods

showsPrec :: Int -> Way -> ShowS #

show :: Way -> String #

showList :: [Way] -> ShowS #

data NWR Source #

Constructors

NWRn 
NWRw 
NWRr 

Instances

Eq NWR Source # 

Methods

(==) :: NWR -> NWR -> Bool #

(/=) :: NWR -> NWR -> Bool #

Show NWR Source # 

Methods

showsPrec :: Int -> NWR -> ShowS #

show :: NWR -> String #

showList :: [NWR] -> ShowS #

data NWRWrap Source #

Constructors

N Node 
W Way 
R Relation 

data Member Source #

Constructors

Member 

Fields

Instances

data Nd Source #

Constructors

Nd 

Fields

Instances

Eq Nd Source # 

Methods

(==) :: Nd -> Nd -> Bool #

(/=) :: Nd -> Nd -> Bool #

Show Nd Source # 

Methods

showsPrec :: Int -> Nd -> ShowS #

show :: Nd -> String #

showList :: [Nd] -> ShowS #

data Tag Source #

Tag stores (Key, Value)

Constructors

Tag 

Fields

Instances

Eq Tag Source # 

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Show Tag Source # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #