Meziantou.Framework.Geo namespace

Classes

NamePackageDescription
AlbersProjectionMeziantou.Framework.GeoThe Albers projection: an equal-area conic projection, for the maps of a country or a continent. The distortion is smallest between its two standard parallels. The defaults are those of maps of the contiguous United States.
AzimuthalEquidistantProjectionMeziantou.Framework.GeoThe azimuthal equidistant projection, in its polar aspect: the map of a polar region, such as Antarctica or the Arctic, centered on the North Pole, or on the South Pole with AzimuthalEquidistantProjection.SouthPole. The distances from the pole are true, the meridians are straight lines from the pole and the parallels are circles around it.
CoordinateConversionMeziantou.Framework.GeoThe projection of a ProjectedCoordinateSystem: converts the longitudes and latitudes of an ellipsoid to eastings and northings in meters, as the map projection methods of the EPSG dataset define them.
CoordinateReferenceSystemMeziantou.Framework.GeoA coordinate reference system (CRS): what the two numbers of a position mean. The library works with longitudes and latitudes on WGS 84 (EPSG:4326); a CRS converts its coordinates to and from them, so a position can go from any CRS to any other one through WGS 84.
EllipsoidMeziantou.Framework.GeoAn ellipsoid of revolution that models the shape of the Earth, such as the one of WGS 84 or GRS 80.
EncodedPolylineMeziantou.Framework.GeoEncodes and decodes the positions of a line with the encoded polyline algorithm of Google, used by Google Maps, OSRM, Valhalla or Strava, such as _p~iF~ps|U_ulLnnqC_mqNvxq`@.
EqualEarthProjectionMeziantou.Framework.GeoThe Equal Earth projection (Šavrič, Patterson and Jenny, 2018): an equal-area pseudocylindrical projection for world maps, so the colored areas of a choropleth are in proportion to the areas of the regions.
EquirectangularProjectionMeziantou.Framework.GeoThe equirectangular (plate carrée) projection: the longitude is x and the latitude is y.
FlatGeobufMeziantou.Framework.GeoReads and writes FlatGeobuf files (version 3): a binary format of features, encoded with FlatBuffers, with an optional spatial index that lets a reader get the features of a box without decoding the others.
FlatGeobufReaderOptionsMeziantou.Framework.GeoThe options of the FlatGeobuf reader, FlatGeobuf.
FlatGeobufWriterOptionsMeziantou.Framework.GeoThe options of the FlatGeobuf writer, FlatGeobuf.
GeoBufferOptionsMeziantou.Framework.GeoThe options of GeoGeometry.Buffer.
GeoFeatureMeziantou.Framework.GeoA feature: a geometry, its properties and its identifier, such as a country, a road or a city.
GeoFeatureCollectionMeziantou.Framework.GeoA list of features, such as the countries of a map, as the readers return it and the writers take it.
GeoGeometryMeziantou.Framework.GeoA geometry, as defined by GeoJSON and the Simple Features of the OGC: a GeoPoint, a GeoMultiPoint, a GeoLineString, a GeoMultiLineString, a GeoPolygon, a GeoMultiPolygon or a GeoGeometryCollection.
GeoGeometryCollectionMeziantou.Framework.GeoA set of geometries of any types.
GeoJsonMeziantou.Framework.GeoReads and writes GeoJSON (RFC 7946): a FeatureCollection, a Feature or a geometry.
GeoJsonWriterOptionsMeziantou.Framework.GeoThe options of the GeoJSON writer, GeoJson.
GeoLineStringMeziantou.Framework.GeoA line through positions, such as a river, a road or a route.
GeoMultiLineStringMeziantou.Framework.GeoA set of lines, such as the segments of a GPS track.
GeoMultiPointMeziantou.Framework.GeoA set of points.
GeoMultiPolygonMeziantou.Framework.GeoA set of polygons, such as a country and its islands.
GeoPackageMeziantou.Framework.Geo.GeoPackageReads the feature tables of GeoPackage files (OGC GeoPackage 1.0 to 1.4): SQLite databases that GDAL, QGIS and ArcGIS write, with one table of features per layer and an optional R-tree spatial index.
GeoPackageReaderOptionsMeziantou.Framework.Geo.GeoPackageThe options of the GeoPackage reader, GeoPackage.
GeoParquetMeziantou.Framework.Geo.GeoParquetReads GeoParquet files (versions 1.0 and 1.1): Parquet files whose geo metadata describes a geometry column encoded as WKB, as GDAL, GeoPandas, DuckDB and the cloud data catalogs write them.
GeoParquetReaderOptionsMeziantou.Framework.Geo.GeoParquetThe options of the GeoParquet reader, GeoParquet.
GeoPointMeziantou.Framework.GeoA point, such as a city.
GeoPolygonMeziantou.Framework.GeoA polygon, such as a country or a lake: an exterior ring, then the rings of its holes, as in GeoJSON.
GeoProjectionMeziantou.Framework.GeoA map projection: converts longitudes and latitudes to points of a plane, in radii of the Earth, with y increasing to the north. Scale and translate the result to draw a map.
GeographicCoordinateSystemMeziantou.Framework.GeoA geographic coordinate reference system: longitudes and latitudes on the ellipsoid of a datum, such as WGS 84, ETRS89 or NTF.
GpxMeziantou.Framework.GeoReads and writes GPX, the GPS Exchange Format: the waypoints, routes and tracks of a GPS device or of a sports application.
GpxWriterOptionsMeziantou.Framework.GeoThe options of the GPX writer, Gpx.
KmlMeziantou.Framework.GeoReads and writes KML 2.2 (OGC 12-007r2), the format of Google Earth and Google My Maps.
KmlWriterOptionsMeziantou.Framework.GeoThe options of the KML writer, Kml, also used by the KMZ writer, Kmz.
KmzMeziantou.Framework.GeoReads and writes KMZ: a KML document, Kml, in a zip archive, with the files it references.
LambertConformalConicConversionMeziantou.Framework.GeoThe Lambert conformal conic projection: the projection of Lambert 93 and of the Lambert zones of France, and of many state plane systems. With two standard parallels, it is the EPSG method 9802 (2SP), whose scale is true along them; without, it is the EPSG method 9801 (1SP), whose scale is LambertConformalConicConversion.ScaleFactor along CoordinateConversion.LatitudeOfOrigin.
MercatorConversionMeziantou.Framework.GeoThe Mercator projection on an ellipsoid (EPSG methods 9804, 9805 and 1044), as World Mercator (EPSG:3395) uses it, or on a sphere whose radius is the semi-major axis of the ellipsoid (EPSG method 1024, the pseudo-Mercator of Web Mercator, EPSG:3857) when MercatorConversion.IsSpherical is true.
MercatorProjectionMeziantou.Framework.GeoThe Mercator projection: conformal (it keeps the angles and the shapes of small areas), it enlarges the areas far from the equator. The poles are at infinity: the latitudes are limited to ±85.05°, where the world map is a square, as on the tiles of web maps.
ProjectedCoordinateSystemMeziantou.Framework.GeoA projected coordinate reference system: eastings and northings on a plane, such as UTM, Lambert 93 or Web Mercator, made of a ProjectedCoordinateSystem.GeographicCoordinateSystem and the CoordinateConversion that projects it.
ShapefileMeziantou.Framework.GeoReads and writes ESRI shapefiles (ESRI Shapefile Technical Description, July 1998): the geometries of the .shp file with the attributes of the dBASE .dbf file, from files, from streams, or from a .zip archive.
ShapefileReaderOptionsMeziantou.Framework.GeoThe options of the shapefile reader, Shapefile.
TopoJsonMeziantou.Framework.GeoReads and writes TopoJSON, the format of map files such as world-atlas and us-atlas: a Topology whose named objects reference arcs, so that a border shared by two polygons is stored once.
TopoJsonWriterOptionsMeziantou.Framework.GeoThe options of the TopoJSON writer, TopoJson.
TransverseMercatorConversionMeziantou.Framework.GeoThe transverse Mercator projection (EPSG method 9807), also known as Gauss–Krüger: the projection of UTM and of many national grids, such as the British National Grid. It is conformal and true to scale (times TransverseMercatorConversion.ScaleFactor) along its central meridian.
WellKnownBinaryMeziantou.Framework.GeoReads and writes the Well-Known Binary (WKB) representation of a geometry, as defined by the OGC Simple Features and ISO 19125, and the extended WKB of PostGIS (EWKB).
WellKnownTextMeziantou.Framework.GeoReads and writes the Well-Known Text (WKT) representation of a geometry, such as POINT (2.35 48.86), as defined by the OGC Simple Features and ISO 19125.

Structs

NamePackageDescription
GeoBoundsMeziantou.Framework.GeoA box of longitudes and latitudes, in degrees. A box that crosses the 180th meridian has its west side east of its east side, as RFC 7946 allows: new GeoBounds(177, -21, -178, -12) goes from the longitude 177 to 180, then from -180 to -178.
GeoPositionMeziantou.Framework.GeoA position on the Earth, in degrees, with an optional altitude, measure and time.
HelmertTransformationMeziantou.Framework.GeoA seven-parameter Helmert transformation from the geocentric coordinates of a datum to those of WGS 84, in the position vector convention (EPSG method 9606), as the TOWGS84 element of WKT and the +towgs84 parameter of PROJ give it.

Enums

NamePackageDescription
GeoBufferEndCapStyleMeziantou.Framework.GeoThe shape of a buffer at the ends of a line.
GeoBufferJoinStyleMeziantou.Framework.GeoThe shape of a buffer around a vertex where a line turns, on the outer side of the turn.
GeoEdgeTypeMeziantou.Framework.GeoHow the edges between the consecutive positions of a line or a ring are drawn.
GeoGeometryTypeMeziantou.Framework.GeoThe type of a GeoGeometry. The values are the geometry type codes of WKB.