hgis-1.0.0.3: Library and for GIS with Haskell

Safe HaskellNone
LanguageHaskell2010

GIS.Hylo

Description

Module to transform shapefiles.

Synopsis

Documentation

districtArea :: [District] -> String Source #

Get the areas of various objects and return a string suitable for printing

districtPerimeter :: [District] -> String Source #

Get the perimeters of various objects and return a string suitable for printing

districtCompactness :: [District] -> String Source #

Label with relative compactness

districtToMapP :: Projection -> [District] -> Map Source #

Given a projection and lists of districts, draw a map.

districtToMapLensP :: Show a => Projection -> Lens' District a -> [District] -> Map Source #

Given a projection and lists of districts, draw a map, with labels determined by a lens

districtToMapLens :: Show a => Lens' District a -> [District] -> Map Source #

Given a list of districts, draw a map, with labels determined by a lens.

districtToMap :: [District] -> Map Source #

Given a list of districts, draw a map.

districtToMapFilesP :: Projection -> [District] -> [Map] Source #

Given a projection and list of districts, return a list of maps.

getDistricts :: FilePath -> IO (Maybe [District]) Source #

Given the path to a shapefile, return a list of districts, if it contains them.

getPolygon :: RecContents -> [Polygon] Source #

Helper function for extracting from shapefiles.