CoordRefSystems.APL🌎
— TypeAPL🌎
Appl. Physics. 1965 ellipsoid.
CoordRefSystems.Airy🌎
— TypeAiry🌎
Airy 1830 ellipsoid.
CoordRefSystems.Andrae🌎
— TypeAndrae🌎
Andrae 1876 (Den., Iclnd.) ellipsoid.
CoordRefSystems.Aratu
— TypeAratu
Aratu datum.
CoordRefSystems.AustSA🌎
— TypeAustSA🌎
Australian Natl & S. Amer. 1969 ellipsoid.
CoordRefSystems.AuthalicLatLon
— TypeAuthalicLatLon(lat, lon)
AuthalicLatLon{Datum}(lat, lon)
Authalic latitude lat ∈ [-90°,90°]
and longitude lon ∈ [-180°,180°]
in angular units (default to degree) with a given Datum
(default to WGS84
).
Examples
AuthalicLatLon(45, 45) # add default units
AuthalicLatLon(45u"°", 45u"°") # integers are converted converted to floats
AuthalicLatLon((π/4)u"rad", (π/4)u"rad") # radians are converted to degrees
AuthalicLatLon(45.0u"°", 45.0u"°")
AuthalicLatLon{WGS84Latest}(45.0u"°", 45.0u"°")
CoordRefSystems.Basic
— TypeBasic{Datum}
Basic CRS with a given Datum
.
CoordRefSystems.Behrmann
— TypeBehrmann(x, y)
Behrmann{Datum}(x, y)
Behrmann coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
Behrmann(1, 1) # add default units
Behrmann(1u"m", 1u"m") # integers are converted converted to floats
Behrmann(1.0u"km", 1.0u"km") # length quantities are converted to meters
Behrmann(1.0u"m", 1.0u"m")
Behrmann{WGS84Latest}(1.0u"m", 1.0u"m")
See ESRI:54017.
CoordRefSystems.BessNam🌎
— TypeBessNam🌎
Bessel 1841 (Namibia) ellipsoid.
CoordRefSystems.Bessel🌎
— TypeBessel🌎
Bessel 1841 ellipsoid.
CoordRefSystems.CPM🌎
— TypeCPM🌎
Comm. des Poids et Mesures 1799 ellipsoid.
CoordRefSystems.CRS
— TypeCRS{Datum}
Coordinate Reference System (CRS) with a given Datum
.
CoordRefSystems.CRSCode
— TypeCoordRefSystems.Cartesian
— TypeCartesian(x₁, x₂, ..., xₙ)
Cartesian{Datum}(x₁, x₂, ..., xₙ)
Cartesian((x₁, x₂, ..., xₙ))
Cartesian{Datum}((x₁, x₂, ..., xₙ))
N-dimensional Cartesian coordinates x₁, x₂, ..., xₙ
in length units (default to meter) with a given Datum
(default to NoDatum
). The first 3 coordinates can be accessed with the properties x
, y
and z
, respectively.
Examples
Cartesian(1, 1) # add default units
Cartesian(1u"m", 1u"m") # integers are converted converted to floats
Cartesian(1.0u"km", 1.0u"km", 1.0u"km")
Cartesian{WGS84Latest}(1.0u"m", 1.0u"m")
References
CoordRefSystems.Cartesian2D
— TypeCartesian2D(x, y)
Cartesian2D{Datum}(x, y)
Cartesian2D((x, y))
Cartesian2D{Datum}((x, y))
Alias to Cartesian
with 2 coordinates.
Examples
Cartesian2D(1, 1) # add default units
Cartesian2D(1u"m", 1u"m") # integers are converted converted to floats
Cartesian2D(1.0u"km", 1.0u"km")
Cartesian2D{WGS84Latest}(1.0u"m", 1.0u"m")
CoordRefSystems.Cartesian3D
— TypeCartesian3D(x, y, z)
Cartesian3D{Datum}(x, y, z)
Cartesian3D((x, y, z))
Cartesian3D{Datum}((x, y, z))
Alias to Cartesian
with 3 coordinates.
Examples
Cartesian3D(1, 1, 1) # add default units
Cartesian3D(1u"m", 1u"m", 1u"m") # integers are converted converted to floats
Cartesian3D(1.0u"km", 1.0u"km", 1.0u"km")
Cartesian3D{WGS84Latest}(1.0u"m", 1.0u"m", 1.0u"m")
CoordRefSystems.Carthage
— TypeCarthage
Carthage 1934 Tunisia datum.
CoordRefSystems.Clrk66🌎
— TypeClrk66🌎
Clarke 1866 ellipsoid.
CoordRefSystems.Clrk80IGN🌎
— TypeClrk80IGN🌎
Clarke 1880 (IGN). ellipsoid.
CoordRefSystems.Clrk80🌎
— TypeClrk80🌎
Clarke 1880 mod. ellipsoid.
CoordRefSystems.Cylindrical
— TypeCylindrical(ρ, ϕ, z)
Cylindrical{Datum}(ρ, ϕ, z)
Cylindrical coordinates with radius ρ ∈ [0,∞)
in length units (default to meter), angle ϕ ∈ [0,2π)
in angular units (default to radian), height z ∈ [0,∞)
in length units (default to meter) and a given Datum
(default to NoDatum
).
Examples
Cylindrical(1, π/4, 1) # add default units
Cylindrical(1u"m", (π/4)u"rad", 1u"m") # integers are converted converted to floats
Cylindrical(1.0u"m", 45u"°", 1.0u"m") # degrees are converted to radians
Cylindrical(1.0u"km", (π/4)u"rad", 1.0u"km")
Cylindrical{WGS84Latest}(1.0u"m", (π/4)u"rad", 1.0u"m")
References
CoordRefSystems.Danish🌎
— TypeDanish🌎
Andrae 1876 (Denmark, Iceland) ellipsoid.
CoordRefSystems.Datum
— TypeDatum
Parent type of all datum types.
CoordRefSystems.Delmbr🌎
— TypeDelmbr🌎
Delambre 1810 (Belgium) ellipsoid.
CoordRefSystems.EPSG
— TypeEPSG{code}
EPSG dataset code
between 1024 and 32767. Codes can be searched at epsg.io.
CoordRefSystems.ESRI
— TypeESRI{code}
ESRI dataset code
. Codes can be searched at epsg.io.
CoordRefSystems.Engelis🌎
— TypeEngelis🌎
Engelis 1985 ellipsoid.
CoordRefSystems.EqualAreaCylindrical
— TypeEqualAreaCylindrical{latₜₛ,lonₒ,Datum}
Equal Area Cylindrical CRS with latitude of true scale latₜₛ
and longitude origin lonₒ
in degrees and a given Datum
.
CoordRefSystems.EquidistantCylindrical
— TypeEquidistantCylindrical{latₜₛ,Datum}
Equidistant Cylindrical CRS with latitude of true scale latₜₛ
in degrees and a given Datum
.
CoordRefSystems.Evrst30🌎
— TypeEvrst30🌎
Everest 1830 ellipsoid.
CoordRefSystems.Evrst48🌎
— TypeEvrst48🌎
Everest 1948 ellipsoid.
CoordRefSystems.Evrst56🌎
— TypeEvrst56🌎
Everest 1956 ellipsoid.
CoordRefSystems.Evrst69🌎
— TypeEvrst69🌎
Everest 1969 ellipsoid.
CoordRefSystems.EvrstSS🌎
— TypeEvrstSS🌎
Everest (Sabah & Sarawak) ellipsoid.
CoordRefSystems.Fschr60m🌎
— TypeFschr60m🌎
Modified Fischer 1960 ellipsoid.
CoordRefSystems.Fschr60🌎
— TypeFschr60🌎
Fischer (Mercury Datum) 1960 ellipsoid.
CoordRefSystems.Fschr68🌎
— TypeFschr68🌎
Fischer 1968 ellipsoid.
CoordRefSystems.GGRS87
— TypeGGRS87
Greek Geodetic Reference System 1987 datum.
CoordRefSystems.GRS67Modified🌎
— TypeGRS67Modified🌎
Geodetic Reference System 1967 Modified ellipsoid.
CoordRefSystems.GRS67🌎
— TypeGRS67🌎
GRS 67(IUGG 1967) ellipsoid.
CoordRefSystems.GRS80S
— TypeGRS80S
GRS 1980 Authalic Sphere datum.
CoordRefSystems.GRS80S🌎
— TypeGRS80S🌎
GRS 1980 (IUGG, 1980) Authalic Sphere.
CoordRefSystems.GRS80🌎
— TypeGRS80🌎
GRS 1980(IUGG, 1980) ellipsoid.
CoordRefSystems.GSK2011🌎
— TypeGSK2011🌎
GSK-2011 ellipsoid.
CoordRefSystems.GallPeters
— TypeGallPeters(x, y)
GallPeters{Datum}(x, y)
Gall-Peters coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
GallPeters(1, 1) # add default units
GallPeters(1u"m", 1u"m") # integers are converted converted to floats
GallPeters(1.0u"km", 1.0u"km") # length quantities are converted to meters
GallPeters(1.0u"m", 1.0u"m")
GallPeters{WGS84Latest}(1.0u"m", 1.0u"m")
CoordRefSystems.GeocentricLatLon
— TypeGeocentricLatLon(lat, lon)
GeocentricLatLon{Datum}(lat, lon)
Geocentric latitude lat ∈ [-90°,90°]
and longitude lon ∈ [-180°,180°]
in angular units (default to degree) with a given Datum
(default to WGS84
).
Examples
GeocentricLatLon(45, 45) # add default units
GeocentricLatLon(45u"°", 45u"°") # integers are converted converted to floats
GeocentricLatLon((π/4)u"rad", (π/4)u"rad") # radians are converted to degrees
GeocentricLatLon(45.0u"°", 45.0u"°")
GeocentricLatLon{WGS84Latest}(45.0u"°", 45.0u"°")
CoordRefSystems.GeocentricTranslation
— TypeGeocentricTranslation(; δx=0.0, δy=0.0, δz=0.0)
Geocentric translation with parameters δx, δy, δz
in meters.
References
- Section 4.3.4 of EPSG Guidance Note 7-2: https://epsg.org/guidance-notes.html
CoordRefSystems.GeodeticLatLon
— TypeGeodeticLatLon(lat, lon)
GeodeticLatLon{Datum}(lat, lon)
Geodetic latitude lat ∈ [-90°,90°]
and longitude lon ∈ [-180°,180°]
in angular units (default to degree) with a given Datum
(default to WGS84Latest
).
Examples
GeodeticLatLon(45, 45) # add default units
GeodeticLatLon(45u"°", 45u"°") # integers are converted converted to floats
GeodeticLatLon((π/4)u"rad", (π/4)u"rad") # radians are converted to degrees
GeodeticLatLon(45.0u"°", 45.0u"°")
GeodeticLatLon{WGS84Latest}(45.0u"°", 45.0u"°")
See EPSG:4326.
CoordRefSystems.GeodeticLatLonAlt
— TypeGeodeticLatLonAlt(lat, lon, alt)
GeodeticLatLonAlt{Datum}(lat, lon, alt)
Geodetic latitude lat ∈ [-90°,90°]
and longitude lon ∈ [-180°,180°]
in angular units (default to degree) and altitude in length units (default to meter) with a given Datum
(default to WGS84Latest
).
Examples
GeodeticLatLonAlt(45, 45, 1) # add default units
GeodeticLatLonAlt(45u"°", 45u"°", 1u"m") # integers are converted converted to floats
GeodeticLatLonAlt((π/4)u"rad", (π/4)u"rad") # radians are converted to degrees
GeodeticLatLonAlt(45.0u"°", 45.0u"°", 1.0u"km") # length quantities are converted to meters
GeodeticLatLonAlt(45.0u"°", 45.0u"°", 1.0u"m")
GeodeticLatLonAlt{WGS84Latest}(45.0u"°", 45.0u"°", 1.0u"m")
CoordRefSystems.Geographic
— TypeGeographic{Datum}
Geographic CRS with a given Datum
.
CoordRefSystems.HelmertTransform
— TypeHelmertTransform(; δx=0.0, δy=0.0, δz=0.0, θx=0.0, θy=0.0, θz=0.0, s=0.0)
Helmert transform with translation parameters δx, δy, δz
in meters, rotation parameters θx, θy, θz
in arc seconds, and scale parameter s
in ppm (parts per million).
References
- Section 4.3.3 of EPSG Guidance Note 7-2: https://epsg.org/guidance-notes.html
CoordRefSystems.Helmert🌎
— TypeHelmert🌎
Helmert 1906 ellipsoid.
CoordRefSystems.Hemisphere
— TypeHemisphere
Hemisphere of the Earth.
CoordRefSystems.Hermannskogel
— TypeHermannskogel
Hermannskogel datum.
CoordRefSystems.Hough🌎
— TypeHough🌎
Hough ellipsoid.
CoordRefSystems.IAU76🌎
— TypeIAU76🌎
IAU 1976 ellipsoid.
CoordRefSystems.IGS20
— TypeIGS20
IGS20 datum.
CoordRefSystems.ITRF
— TypeITRF{Year}
ITRF (International Terrestrial Reference Frame) datum with a given Year
. Currently, ITRF has realizations in the following years: 1991, 1992, 1993, 1994, 1996, 1997, 2000, 2005, 2008, 2014 and 2020.
See https://www.iers.org/IERS/EN/DataProducts/ITRF/itrf.html
CoordRefSystems.ITRFLatest
— TypeITRFLatest
Alias to the latest realization in the ITRF
ensemble.
CoordRefSystems.Identity
— TypeIdentity()
Identity transform.
CoordRefSystems.Intl🌎
— TypeIntl🌎
International 1924 (Hayford 1909, 1910) ellipsoid.
CoordRefSystems.Ire65
— TypeIre65
Ireland 1965 datum.
CoordRefSystems.Kaula🌎
— TypeKaula🌎
Kaula 1961 ellipsoid.
CoordRefSystems.Krass🌎
— TypeKrass🌎
Krassovsky, 1942 ellipsoid.
CoordRefSystems.Lambert
— TypeLambert(x, y)
Lambert{Datum}(x, y)
Lambert cylindrical equal-area coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
Lambert(1, 1) # add default units
Lambert(1u"m", 1u"m") # integers are converted converted to floats
Lambert(1.0u"km", 1.0u"km") # length quantities are converted to meters
Lambert(1.0u"m", 1.0u"m")
Lambert{WGS84Latest}(1.0u"m", 1.0u"m")
See ESRI:54034.
CoordRefSystems.LatLon
— TypeLatLon(lat, lon)
LatLon{Datum}(lat, lon)
Alias to GeodeticLatLon
.
Examples
LatLon(45, 45) # add default units
LatLon(45u"°", 45u"°") # integers are converted converted to floats
LatLon((π/4)u"rad", (π/4)u"rad") # radians are converted to degrees
LatLon(45.0u"°", 45.0u"°")
LatLon{WGS84Latest}(45.0u"°", 45.0u"°")
See EPSG:4326.
CoordRefSystems.LatLonAlt
— TypeLatLonAlt(lat, lon, alt)
LatLonAlt{Datum}(lat, lon, alt)
Alias to GeodeticLatLonAlt
.
Examples
LatLonAlt(45, 45, 1) # add default units
LatLonAlt(45u"°", 45u"°", 1u"m") # integers are converted converted to floats
LatLonAlt((π/4)u"rad", (π/4)u"rad") # radians are converted to degrees
LatLonAlt(45.0u"°", 45.0u"°", 1.0u"km") # length quantities are converted to meters
LatLonAlt(45.0u"°", 45.0u"°", 1.0u"m")
LatLonAlt{WGS84Latest}(45.0u"°", 45.0u"°", 1.0u"m")
CoordRefSystems.Lerch🌎
— TypeLerch🌎
Lerch 1979 ellipsoid.
CoordRefSystems.MERIT🌎
— TypeMERIT🌎
MERIT 1983 ellipsoid.
CoordRefSystems.Mercator
— TypeMercator(x, y)
Mercator{Datum}(x, y)
Mercator coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
Mercator(1, 1) # add default units
Mercator(1u"m", 1u"m") # integers are converted converted to floats
Mercator(1.0u"km", 1.0u"km") # length quantities are converted to meters
Mercator(1.0u"m", 1.0u"m")
Mercator{WGS84Latest}(1.0u"m", 1.0u"m")
See EPSG:3395.
CoordRefSystems.ModAiry🌎
— TypeModAiry🌎
Modified Airy ellipsoid.
CoordRefSystems.Mprts🌎
— TypeMprts🌎
Maupertius 1738 ellipsoid.
CoordRefSystems.NAD83
— TypeNAD83
North American Datum 1983.
CoordRefSystems.NWL9D🌎
— TypeNWL9D🌎
Naval Weapons Lab., 1965 ellipsoid.
CoordRefSystems.NZGD1949
— TypeNzgd49
New Zealand Geodetic Datum 1949.
CoordRefSystems.NewIntl🌎
— TypeNewIntl🌎
New International 1967 ellipsoid.
CoordRefSystems.NoDatum
— TypeNoDatum
Represents the absence of datum in a CRS.
CoordRefSystems.North
— TypeNorth
Northern hemisphere.
CoordRefSystems.OSGB36
— TypeOSGB36
Airy 1830 datum.
CoordRefSystems.OrthoNorth
— TypeOrthoNorth(x, y)
OrthoNorth{Datum}(x, y)
Orthographic North Pole coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
OrthoNorth(1, 1) # add default units
OrthoNorth(1u"m", 1u"m") # integers are converted converted to floats
OrthoNorth(1.0u"km", 1.0u"km") # length quantities are converted to meters
OrthoNorth(1.0u"m", 1.0u"m")
OrthoNorth{WGS84Latest}(1.0u"m", 1.0u"m")
CoordRefSystems.OrthoSouth
— TypeOrthoSouth(x, y)
OrthoSouth{Datum}(x, y)
Orthographic South Pole coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
OrthoSouth(1, 1) # add default units
OrthoSouth(1u"m", 1u"m") # integers are converted converted to floats
OrthoSouth(1.0u"km", 1.0u"km") # length quantities are converted to meters
OrthoSouth(1.0u"m", 1.0u"m")
OrthoSouth{WGS84Latest}(1.0u"m", 1.0u"m")
CoordRefSystems.Orthographic
— TypeOrthographic{latₒ,lonₒ,S,Datum}
Orthographic CRS with latitude origin latₒ
and longitude origin lonₒ
in degrees, spherical mode S
enabled or not and a given Datum
.
CoordRefSystems.PZ90🌎
— TypePZ90🌎
PZ-90 ellipsoid.
CoordRefSystems.PlateCarree
— TypePlateCarree(x, y)
PlateCarree{Datum}(x, y)
Plate Carrée coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
PlateCarree(1, 1) # add default units
PlateCarree(1u"m", 1u"m") # integers are converted converted to floats
PlateCarree(1.0u"km", 1.0u"km") # length quantities are converted to meters
PlateCarree(1.0u"m", 1.0u"m")
PlateCarree{WGS84Latest}(1.0u"m", 1.0u"m")
See EPSG:32662.
CoordRefSystems.Plessis🌎
— TypePlessis🌎
Plessis 1817 (France) ellipsoid.
CoordRefSystems.Polar
— TypePolar(ρ, ϕ)
Polar{Datum}(ρ, ϕ)
Polar coordinates with radius ρ ∈ [0,∞)
in length units (default to meter), angle ϕ ∈ [0,2π)
in angular units (default to radian) and a given Datum
(default to NoDatum
).
Examples
Polar(1, π/4) # add default units
Polar(1u"m", (π/4)u"rad") # integers are converted converted to floats
Polar(1.0u"m", 45u"°") # degrees are converted to radians
Polar(1.0u"km", (π/4)u"rad")
Polar{WGS84Latest}(1.0u"m", (π/4)u"rad")
References
CoordRefSystems.Potsdam
— TypePotsdam
Potsdam Rauenberg 1950 DHDN datum.
CoordRefSystems.Projected
— TypeProjected{Datum}
Projected CRS with a given Datum
.
CoordRefSystems.Reverse
— TypeReverse(transform)
Reverse of transform
.
CoordRefSystems.RevolutionEllipsoid
— TypeRevolutionEllipsoid
Parent type of all revolution ellipsoids.
CoordRefSystems.Robinson
— TypeRobinson(x, y)
Robinson{Datum}(x, y)
Robinson coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
Robinson(1, 1) # add default units
Robinson(1u"m", 1u"m") # integers are converted converted to floats
Robinson(1.0u"km", 1.0u"km") # length quantities are converted to meters
Robinson(1.0u"m", 1.0u"m")
Robinson{WGS84Latest}(1.0u"m", 1.0u"m")
See ESRI:54030.
CoordRefSystems.SAD69
— TypeCoordRefSystems.SAD96
— TypeSAD96
South American Datum 1969(96).
See https://epsg.org/datum_1075/South-American-Datum-1969-96.html
CoordRefSystems.SEAsia🌎
— TypeSEAsia🌎
Southeast Asia ellipsoid.
CoordRefSystems.SGS85🌎
— TypeSGS85🌎
Soviet Geodetic System 85 ellipsoid.
CoordRefSystems.SIRGAS2000
— TypeSIRGAS2000
Sistema de Referencia Geocentrico para las AmericaS 2000.
See https://epsg.org/datum_6674/Sistema-de-Referencia-Geocentrico-para-las-AmericaS-2000.html
CoordRefSystems.ShiftedCRS
— TypeShiftedCRS{CRS,lonₒ,xₒ,yₒ}
Shifted CRS
with longitude origin lonₒ
in degrees, false easting xₒ
and false northing yₒ
in meters.
CoordRefSystems.ShiftedDatum
— TypeShiftedDatum{Datum,Epoch}
Shifted Datum
with a given Epoch
in decimalyear.
CoordRefSystems.South
— TypeSouth
Southern hemisphere.
CoordRefSystems.Spherical
— TypeSpherical(r, θ, ϕ)
Spherical{Datum}(r, θ, ϕ)
Spherical coordinates with radius r ∈ [0,∞)
in length units (default to meter), polar angle θ ∈ [0,π]
and azimuth angle ϕ ∈ [0,2π)
in angular units (default to radian) and a given Datum
(default to NoDatum
).
Examples
Spherical(1, π/4, π/4) # add default units
Spherical(1u"m", (π/4)u"rad", (π/4)u"rad") # integers are converted converted to floats
Spherical(1.0u"m", 45u"°", 45u"°") # degrees are converted to radians
Spherical(1.0u"km", (π/4)u"rad", (π/4)u"rad")
Spherical{WGS84Latest}(1.0u"m", (π/4)u"rad", (π/4)u"rad")
References
CoordRefSystems.Transform
— TypeTransform
Transform that converts coordinates between datums.
CoordRefSystems.TransverseMercator
— TypeTransverseMercator{k₀,latₒ,lonₒ,Datum}
Transverse Mercator CRS with scale factor k₀
, latitude origin latₒ
and longitude origin lonₒ
in degrees and a given Datum
.
CoordRefSystems.UTM
— TypeUTM{Hemisphere,Zone,Datum}
UTM (Universal Transverse Mercator) CRS in Hemisphere
with Zone
(1 ≤ Zone ≤ 60) and a given Datum
.
CoordRefSystems.UTMNorth
— TypeUTMNorth{zone}(x, y)
UTMNorth{zone,Datum}(x, y)
UTM (Universal Transverse Mercator) North coordinates in length units (default to meter) with zone
(1 ≤ zone ≤ 60) and a given Datum
(default to WGS84
).
Examples
UTMNorth{1}(1, 1) # add default units
UTMNorth{1}(1u"m", 1u"m") # integers are converted converted to floats
UTMNorth{1}(1.0u"km", 1.0u"km") # length quantities are converted to meters
UTMNorth{1}(1.0u"m", 1.0u"m")
UTMNorth{1,WGS84Latest}(1.0u"m", 1.0u"m")
CoordRefSystems.UTMSouth
— TypeUTMSouth{zone}(x, y)
UTMSouth{zone,Datum}(x, y)
UTM (Universal Transverse Mercator) South coordinates in length units (default to meter) with zone
(1 ≤ zone ≤ 60) and a given Datum
(default to WGS84
).
Examples
UTMSouth{1}(1, 1) # add default units
UTMSouth{1}(1u"m", 1u"m") # integers are converted converted to floats
UTMSouth{1}(1.0u"km", 1.0u"km") # length quantities are converted to meters
UTMSouth{1}(1.0u"m", 1.0u"m")
UTMSouth{1,WGS84Latest}(1.0u"m", 1.0u"m")
CoordRefSystems.WGS60🌎
— TypeWGS60🌎
WGS 60 ellipsoid.
CoordRefSystems.WGS66🌎
— TypeWGS66🌎
WGS 66 ellipsoid.
CoordRefSystems.WGS72🌎
— TypeWGS72🌎
WGS 72 ellipsoid.
CoordRefSystems.WGS84
— TypeWGS84{GPSWeek}
WGS84 (World Geodetic System) datum with a given realization GPSWeek
. Currently, WGS84 has realizations in the following GPS weeks: 0, 730, 873, 1150, 1674 and 1762, 2139, 2296.
See https://epsg.org/datum_6326/World-Geodetic-System-1984-ensemble.html
CoordRefSystems.WGS84Latest
— TypeWGS84Latest
Alias to the latest realization in the WGS84
ensemble.
CoordRefSystems.WGS84🌎
— TypeWGS84🌎
WGS 84 ellipsoid.
CoordRefSystems.Walbeck🌎
— TypeWalbeck🌎
Walbeck ellipsoid.
CoordRefSystems.WebMercator
— TypeWebMercator(x, y)
WebMercator{Datum}(x, y)
Web Mercator coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
WebMercator(1, 1) # add default units
WebMercator(1u"m", 1u"m") # integers are converted converted to floats
WebMercator(1.0u"km", 1.0u"km") # length quantities are converted to meters
WebMercator(1.0u"m", 1.0u"m")
WebMercator{WGS84Latest}(1.0u"m", 1.0u"m")
See EPSG:3857.
CoordRefSystems.WinkelTripel
— TypeWinkelTripel(x, y)
WinkelTripel{Datum}(x, y)
Winkel Tripel coordinates in length units (default to meter) with a given Datum
(default to WGS84
).
Examples
WinkelTripel(1, 1) # add default units
WinkelTripel(1u"m", 1u"m") # integers are converted converted to floats
WinkelTripel(1.0u"km", 1.0u"km") # length quantities are converted to meters
WinkelTripel(1.0u"m", 1.0u"m")
WinkelTripel{WGS84Latest}(1.0u"m", 1.0u"m")
See ESRI:54042.
Base.isapprox
— Methodisapprox(coords₁, coords₂; kwargs...)
Checks whether the coordinates coords₁
and coords₂
are approximate using the isapprox
function.
CoordRefSystems.addunit
— Methodaddunit(x, u)
Adds the unit only if the argument is not a quantity, otherwise an error is thrown.
CoordRefSystems.apply
— Functionapply(transform, x)
Apply the transform
in a vector of coordinates x
.
CoordRefSystems.atanpos
— Methodatanpos(x, y)
Adjusts the interval of values returned by the atan(y, x)
function from [-π,π]
to [0,2π]
.
CoordRefSystems.atol
— Methodatol(T)
atol(x::T)
Absolute tolerance used in source code for approximate comparison with numbers of type T
.
CoordRefSystems.constructor
— MethodCoordRefSystems.constructor(coords)
CRS type of coords
that can be used to construct a new instance or in conversions.
See also reconstruct
CoordRefSystems.datum
— Methoddatum(coords)
Datum of the coordinates coords
.
CoordRefSystems.eccentricity
— Methodeccentricity(E)
Eccentricity of the ellipsoid type E
.
CoordRefSystems.eccentricity²
— Methodeccentricity²(E)
Eccentricity squared of the ellipsoid type E
.
CoordRefSystems.ellipfromab
— Methodellipfromab(a, b)
Calculates the parameters of the ellipsoid with a given major axis a
and minor axis b
.
CoordRefSystems.ellipfromaf⁻¹
— Methodellipfromaf⁻¹(a, f⁻¹)
Calculates the parameters of the ellipsoid with a given major axis a
and flattening inverse f⁻¹
.
CoordRefSystems.ellipsoid
— Functionellipsoid(D)
Returns the ellipsoid of the datum type D
.
CoordRefSystems.ellipsoidparams
— Functionellipsoidparams(E)
Parameters of the ellipsoid type E
.
CoordRefSystems.epoch
— Functionepoch(D)
Returns the reference epoch of the datum type D
.
CoordRefSystems.fixlon
— Methodfixlon(lon)
Fix the longitude to be in the range [-180°,180°]
.
CoordRefSystems.flattening
— Methodflattening(E)
Flattening of the ellipsoid type E
.
CoordRefSystems.flattening⁻¹
— Methodflattening⁻¹(E)
Inverse flattening of the ellipsoid type E
.
CoordRefSystems.formulas
— Functionformulas(CRS::Type{<:Projected}, T)
Returns the forward formulas of the CRS
: fx(λ, ϕ)
and fy(λ, ϕ)
, with f(λ::T, ϕ::T) -> T
for both functions.
CoordRefSystems.get
— MethodCoordRefSystems.get(string)
Get the CRS type from the CRS string
.
CoordRefSystems.get
— MethodCoordRefSystems.get(code)
Get the CRS type from the EPSG/ESRI code
.
CoordRefSystems.inbounds
— Methodinbounds(CRS::Type{<:Projected}, λ, ϕ)
Checks whether λ
and ϕ
in radians are within the CRS
domain.
CoordRefSystems.indomain
— Methodindomain(CRS::Type{<:Projected}, latlon::LatLon)
Checks whether latlon
coordinates are within the CRS
domain.
CoordRefSystems.islon180
— Methodislon180(lon)
Checks if the longitude is 180°
or -180°
.
CoordRefSystems.lentype
— MethodCoordRefSystems.lentype(coords)
Length unit type of coords
.
CoordRefSystems.majoraxis
— Methodmajoraxis(E)
Semi-major axis of the ellipsoid type E
.
CoordRefSystems.minoraxis
— Methodminoraxis(E)
Semi-minor axis of the ellipsoid type E
.
CoordRefSystems.names
— MethodCoordRefSystems.names(coords)
Coordinate names of coords
.
CoordRefSystems.ncoords
— MethodCoordRefSystems.ndims
— MethodCoordRefSystems.newton
— Methodnewton(f, df, xₒ; maxiter=10, tol=atol(xₒ))
Newton's method approximates the root of the function f
using its derivative df
, initial guess xₒ
, maxiter
iterations, and tolerance tol
.
CoordRefSystems.numconvert
— Methodnumconvert(T, x)
Converts the number type of quantity x
to T
.
CoordRefSystems.projinv
— Methodprojinv(fx, fy, x, y, λₒ, ϕₒ; maxiter=10, tol=atol(x))
Approximates the inverse of a projection with the Newton-Raphson method using its forward formulas fx
and fy
, x
and y
values, initial guess λₒ
and ϕₒ
, maxiter
iterations, and tolerance tol
.
References
- Cengizhan Ipbuker and İbrahim Öztuğ Bildirici. 2002. A GENERAL ALGORITHM FOR THE INVERSE TRANSFORMATION OF MAP PROJECTIONS USING JACOBIAN MATRICES
CoordRefSystems.raw
— MethodCoordRefSystems.raw(coords)
Unitless coordinate values of coords
as a tuple.
See also reconstruct
.
Notes
The order of coordinate values may change depending on the coordinate reference system. For instance, LatLon
values are reversed to produce the tuple (lon, lat)
.
CoordRefSystems.reconstruct
— MethodCoordRefSystems.reconstruct(CRS, raw)
Reconstruct an instance of CRS
using raw
values.
See also raw
, units
, constructor
.
CoordRefSystems.rotation
— Methodrotation(T, transform)
RotZYX
rotation from parameters of transform
with machine type T
.
CoordRefSystems.shift
— MethodCoordRefSystems.shift(CRS::Type{<:Projected}; lonₒ=0.0u"°", xₒ=0.0u"m", yₒ=0.0u"m")
Shifts the CRS
with given longitude origin lonₒ
in degrees, false easting xₒ
and false northing yₒ
in meters.
CoordRefSystems.shift
— MethodCoordRefSystems.shift(Datum, epoch)
Shifts the Datum
with a given epoch
in decimalyear.
CoordRefSystems.string2code
— MethodCoordRefSystems.string2code(string)
Get the EPSG/ESRI code from the CRS string
.
CoordRefSystems.timedephelmert
— Methodtimedephelmert(Datumₛ, Datumₜ, δx=0.0, δy=0.0, δz=0.0, θx=0.0, θy=0.0, θz=0.0, s=0.0,
dδx=0.0, dδy=0.0, dδz=0.0, dθx=0.0, dθy=0.0, dθz=0.0, ds=0.0)
Create a Helmert transform from time-dependent parameters: epoch difference dt = epoch(Datumₛ) - epoch(Datumₜ)
, translation rates dδx, dδy, dδz
in meters per year, rotation rates dθx, dθy, dθz
in arc seconds per year and scale rate ds
in ppm (parts per million) per year.
See also HelmertTransform
.
References
- Section 4.3.5 of EPSG Guidance Note 7-2: https://epsg.org/guidance-notes.html
CoordRefSystems.tol
— MethodCoordRefSystems.tol(coords)
Absolute tolerance for the underlying machine type (e.g. Float64
) used to represent the coords
. The result inherits the unit of the coords
after conversion to Cartesian
.
CoordRefSystems.transform
— Functiontransform(Datumₛ, Datumₜ)
Transform that converts the source datum Datumₛ
to target datum Datumₜ
.
CoordRefSystems.translation
— Methodtranslation(T, transform)
Translation vector from parameters of transform
with machine type T
.
CoordRefSystems.units
— MethodCoordRefSystems.units(coords)
Units of coords
as a tuple, in the same order of raw
values.
See also reconstruct
.
CoordRefSystems.values
— MethodCoordRefSystems.@reversible
— Macro@reversible Datum₁ Datum₂ transform
Define the methods to apply and reverse the transform
with Datum₁
and Datum₂
.