Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module containing several useful projections for generating maps.
- washingtonDC :: Point
- mecca :: Point
- littow :: Projection
- craig :: Point -> Projection
- winkel3 :: Projection
- mercator :: Projection
- bonne :: Projection
- albers :: Point -> Projection
- project :: Projection -> Polygon -> Polygon
- projectMap :: Projection -> Map -> Map
Documentation
washingtonDC :: Point Source #
For use as a reference point in certain projections.
craig :: Point -> Projection Source #
Craig retroazimuthal projection (works on a subset of the world)
winkel3 :: Projection Source #
Winkel Tripel projection (standard for the National Geographic Society since
Bonne projection with standard parallel at 45 N and central meridian centered at Washington DC
albers :: Point -> Projection Source #
Albers projection for a given reference point. To make it usable you can use > ablers washingtonDC
projectMap :: Projection -> Map -> Map Source #
Helper to apply a projection given a Map
.