Documentation
¶
Overview ¶
Package geoprojbase is a minimal dependency package that contains basic metadata and data structures for SRIDs and their CRS transformations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Projections = map[geopb.SRID]ProjInfo{}/* 6139 elements not displayed */
Projections is a mapping of SRID to projections. Use the `Projection` function to obtain one. This file is not spell checked.
Functions ¶
This section is empty.
Types ¶
type Proj4Text ¶
type Proj4Text struct {
// contains filtered or unexported fields
}
Proj4Text is the text representation of a PROJ4 transformation.
func MakeProj4Text ¶
MakeProj4Text returns a new Proj4Text with spec based on the given string.
type ProjInfo ¶
type ProjInfo struct {
// SRID is the SRID of the projection.
SRID geopb.SRID
// AuthName is the authority who has provided this projection (e.g. ESRI, EPSG).
AuthName string
// AuthSRID is the SRID the given AuthName interprets the SRID as.
AuthSRID int
// SRText is the WKT representation of the projection.
SRText string
// Proj4Text is the PROJ4 text representation of the projection.
Proj4Text Proj4Text
// Bounds defines the bounds (projected or lat/lng) of the given coordinate system.
Bounds Bounds
// IsLatLng stores whether the projection is a LatLng based projection (denormalized from above)
IsLatLng bool
// The spheroid represented by the SRID.
Spheroid *geographiclib.Spheroid
}
ProjInfo is a struct containing metadata related to a given SRID.
Click to show internal directories.
Click to hide internal directories.