Copyright | (C) Richard Cook, 2016 |
---|---|
License | MIT |
Maintainer | rcook@rcook.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
A high-level API for interoperating with GEOS C API which includes automatic management of lifetimes of objects such as readers, writers and geometries.
For the low-level FFI bindings, see Data.Geolocation.GEOS.Imports.
- data Context
- data CoordinateSequence
- data Geometry
- data Reader
- data Writer
- coordinateSequence :: Geometry -> IO CoordinateSequence
- envelope :: Geometry -> IO Geometry
- exteriorRing :: Geometry -> IO Geometry
- intersection :: Geometry -> Geometry -> IO Geometry
- mkReader :: Context -> IO Reader
- mkWriter :: Context -> IO Writer
- readGeometry :: Reader -> String -> IO Geometry
- withContext :: (Context -> IO a) -> IO a
- writeGeometry :: Writer -> Geometry -> IO String
Documentation
data CoordinateSequence Source
References a GEOS coordinate sequence
coordinateSequence :: Geometry -> IO CoordinateSequence Source
Returns a CoordinateSequence
from the supplied Geometry
exteriorRing :: Geometry -> IO Geometry Source