Copyright | (C) 2014-2018 HS-GeoJSON Project |
---|---|
License | BSD-style (see the file LICENSE.md) |
Maintainer | Andrew Newman |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
Type
newtype GeoMultiPolygon Source #
Instances
Eq GeoMultiPolygon Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiPolygon (==) :: GeoMultiPolygon -> GeoMultiPolygon -> Bool # (/=) :: GeoMultiPolygon -> GeoMultiPolygon -> Bool # | |
Show GeoMultiPolygon Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiPolygon showsPrec :: Int -> GeoMultiPolygon -> ShowS # show :: GeoMultiPolygon -> String # showList :: [GeoMultiPolygon] -> ShowS # | |
ToJSON GeoMultiPolygon Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiPolygon toJSON :: GeoMultiPolygon -> Value # toEncoding :: GeoMultiPolygon -> Encoding # toJSONList :: [GeoMultiPolygon] -> Value # toEncodingList :: [GeoMultiPolygon] -> Encoding # | |
FromJSON GeoMultiPolygon Source # | |
Defined in Data.Geospatial.Internal.Geometry.GeoMultiPolygon parseJSON :: Value -> Parser GeoMultiPolygon # parseJSONList :: Value -> Parser [GeoMultiPolygon] # |
Lenses
To Polygons
splitGeoMultiPolygon :: GeoMultiPolygon -> [GeoPolygon] Source #
Split GeoMultiPolygon coordinates into multiple GeoPolygons
mergeGeoPolygons :: [GeoPolygon] -> GeoMultiPolygon Source #
Merge multiple GeoPolygons into one GeoMultiPolygon