geojson-1.3.3: A thin GeoJSON Layer above the aeson library

Copyright(C) 2014-2018 HS-GeoJSON Project
LicenseBSD-style (see the file LICENSE.md)
MaintainerAndrew Newman
Safe HaskellNone
LanguageHaskell2010

Data.Geospatial.Internal.Geometry

Contents

Description

See section 2.1 "Geometry Objects" in the GeoJSON Spec.

Synopsis

Types

splitGeoMultiPoint :: GeoMultiPoint -> [GeoPoint] Source #

Split GeoMultiPoint coordinates into multiple GeoPoints

mergeGeoPoints :: [GeoPoint] -> GeoMultiPoint Source #

Merge multiple GeoPoints into one GeoMultiPoint

splitGeoMultiPolygon :: GeoMultiPolygon -> [GeoPolygon] Source #

Split GeoMultiPolygon coordinates into multiple GeoPolygons

mergeGeoPolygons :: [GeoPolygon] -> GeoMultiPolygon Source #

Merge multiple GeoPolygons into one GeoMultiPolygon

splitGeoMultiLine :: GeoMultiLine -> [GeoLine] Source #

Split GeoMultiLine coordinates into multiple GeoLines

mergeGeoLines :: [GeoLine] -> GeoMultiLine Source #

Merge multiple GeoLines into one GeoMultiLine

Lenses

Prisms