MapProjectionFactory
Description
- Derived from
Abstract base class for IMapProjectionFactory implementations.
Public / Constructors
Mercator
Creates a new pseudo Mercator map projection factory.
The following figure shows the mapping between latitude/longitude values and map coordinates (by default the map is assumed to have a pixel coverage of PixelCoverage.PixelIsArea):
90°N 180°W 90°N 180°E
(0|0) (w|0) <- sample coordinates (pixel-is-point)
\ 0 1 ... w-1 / <- sample coordinates (pixel-is-area)
(#)--+---+---+--(#)
0 | * | * | * | * |
+---+---+---+---+ * := map sample (pixel-is-area)
1 | * | * | * | * | + := map sample (pixel-is-point)
+---+---+---+---+
...| * | * | * | * | w := raster width (here: 4)
+---+---+---+---+ h := raster height (here: 4)
h-1| * | * | * | * |
(#)--+---+---+--(#)
/ \
(0|h) (w|h) <- map coordinates (pixel-is-point)
90°S 180°W 90°S 180°E
Chapter 1.3.3.2 Popular Visualisation Pseudo Mercator,
OGP Publication 373-7-2 - Geomatics Guidance Note number 7, part 2 - July 2012,
available for download at: https://www.epsg.org.
PlateCaree
Creates a new pseudo Plate Caree map projection factory.
The following figure shows the mapping between latitude/longitude values and map coordinates:
90°N 180°W 90°N 180°E
(0|0) (w|0) <- sample coordinates (pixel-is-point)
\ 0 1 2 3 4 5 ... w-1 / <- sample coordinates (pixel-is-area)
(#)--+---+---+---+---+---+---+--(#)
0 | * | * | * | * | * | * | * | * |
+---+---+---+---+---+---+---+---+ * := map sample (pixel-is-area)
1 | * | * | * | * | * | * | * | * | + := map sample (pixel-is-point)
+---+---+---+---+---+---+---+---+
...| * | * | * | * | * | * | * | * | w := raster width (here: 8)
+---+---+---+---+---+---+---+---+ h := raster height (here: 4)
h-1| * | * | * | * | * | * | * | * |
(#)--+---+---+---+---+---+---+--(#)
/ \
(0|h) (w|h) <- map coordinates (pixel-is-point)
90°S 180°W 90°S 180°E
Chapter 1.3.14.2 Pseudo Plate Caree,
OGP Publication 373-7-2 - Geomatics Guidance Note number 7, part 2 - July 2012,
available for download at: https://www.epsg.org.
Protected / Methods
CreateMapProjection_CubeToCube
Creates a new instance of IMapProjection that projects MapType.Cube to MapType.Cube.
CreateMapProjection_CubeToRect
Creates a new instance of IMapProjection that projects MapType.Cube to MapType.Rect.
CreateMapProjection_RectToCube
Creates a new instance of IMapProjection that projects MapType.Rect to MapType.Cube.
CreateMapProjection_RectToRect
Creates a new instance of IMapProjection that projects MapType.Rect to MapType.Rect.