解读坐标系定义之:proj4

本文详细介绍了proj4命令的使用方法及参数设置,包括获取坐标系、基准面、椭球体和单位等信息的命令。此外,还列举了+axis、+ellps、+datum等关键参数的含义及用法,并提供了常用的坐标系定义。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

proj4 命令
proj -l 获取所有的坐标系
proj -ld 获取所有的基准面
proj -le 获取所有的椭球体
proj -lu 获取所有的单位
cs2cs -lm 获取所有的中央子午线

一、proj-strings

“proj-strings”. A proj-string describes any transformation regardless of how simple or complicated it might be

0、参数列表

ParameterDescription
+aSemimajor radius of the ellipsoid axis 长轴
+axisAxis orientation 长轴方向
+bSemiminor radius of the ellipsoid axis 短轴
* +ellps Ellipsoid name 椭球体
* +datum Datum name 基准面
+kScaling factor (deprecated) 缩放系数
+k_0Scaling factor 缩放系数
+lat_0Latitude of origin 原点纬度
+lon_0Central meridian 中央子午线
+lon_wrapCenter longitude to use for wrapping
+overAllow longitude output outside -180 to 180 range, disables wrapping
+pmAlternate prime meridian (typically a city name 备用本初子午线
* +proj Projection name 坐标系名称
+unitsmeters, US survey feet.etc. 水平单位,米、英寸等
+vunitsvertical units 垂直单位
+x_0False easting 向东偏移距离
+y_0False northing 向北偏移距离

补充:

ParameterDescription
+geoidgridsFilename of GTX grid file to use for vertical datum transforms
+nadgridsFilename of NTv2 grid file to use for datum transforms
+towgs843 or 7 term datum transform parameters
+to_meterMultiplier to convert map units to 1.0m
+vto_meterVertical conversion to meters

1、+axis

1.1 组合值

  • “e” - Easting
  • “w” - Westing
  • “n” - Northing
  • “s” - Southing
  • “u” - Up
  • “d” - Down

1.2 +axis常用值

  • +axis=enu - the default easting, northing, elevation.
  • +axis=neu - northing, easting, up - useful for “lat/long” geographic coordinates, or south orientated transverse mercator.
  • +axis=wnu - westing, northing, up - some planetary coordinate systems have “west positive” coordinate systems

2、+ellps 椭球体

名称长半轴 a短半轴 b1/扁率 rf描述
MERIT6378137.0298.257MERIT 1983
SGS856378136.0298.257Soviet Geodetic System 85
* GRS80 6378137.0298.257222101GRS 1980(IUGG, 1980)
IAU766378140.0298.257IAU 1976
airy6377563.396299.3249646Airy 1830
APL4.96378137.0298.25Appl. Physics. 1965
NWL9D6378145.0298.25Naval Weapons Lab., 1965
mod_airy6377340.1896356034.446Modified Airy
andrae6377104.43300.0Andrae 1876 (Den., Iclnd.)
danish6377019.2563300.0Andrae 1876 (Denmark, Iceland)
aust_SA6378160.0298.25Australian Natl & S. Amer. 1969
GRS676378160.0298.2471674270GRS 67(IUGG 1967)
GSK20116378136.5298.2564151GSK-2011
bessel6377397.155299.1528128Bessel 1841
bess_nam6377483.865299.1528128Bessel 1841 (Namibia)
clrk666378206.46356583.8Clarke 1866
clrk806378249.145293.4663Clarke 1880 mod.
clrk80ign6378249.2293.4660212936269Clarke 1880 (IGN).
CPM6375738.7334.29Comm. des Poids et Mesures 1799
delmbr6376428.311.5Delambre 1810 (Belgium)
engelis6378136.05298.2566Engelis 1985
evrst306377276.345300.8017Everest 1830
evrst486377304.063300.8017Everest 1948
evrst566377301.243300.8017Everest 1956
evrst696377295.664300.8017Everest 1969
evrstSS6377298.556300.8017Everest (Sabah & Sarawak)
fschr606378166.298.3Fischer (Mercury Datum) 1960
fschr60m6378155.298.3Modified Fischer 1960
fschr686378150.298.3Fischer 1968
helmert6378200.298.3Helmert 1906
hough6378270.0297.Hough
intl6378388.0297.International 1909 (Hayford)
krass6378245.0298.3Krassovsky, 1942
kaula6378163.298.24Kaula 1961
lerch6378139.298.257Lerch 1979
mprts6397300.191.Maupertius 1738
new_intl6378157.56356772.2New International 1967
plessis6376523.6355863Plessis 1817 (France)
PZ906378136.0298.25784PZ-90
SEasia6378155.06356773.3205Southeast Asia
walbeck6376896.06355834.8467Walbeck
WGS606378165.0298.3WGS 60
WGS666378145.0298.25WGS 66
WGS726378135.0298.26WGS 72
* WGS84 6378137.0298.257223563WGS 84
sphere6370997.06370997.0Normal Sphere (r=6370997)

3、+datum 基准面

基准面是在具有明确方向的椭球体

datum 基准面ellipse 椭球体Description
WGS84WGS84towgs84=0,0,0
GGRS87GRS80towgs84=-199.87,74.79,246.62 Greek_Geodetic_Reference_System_1987
NAD83GRS80towgs84=0,0,0 North_American_Datum_1983
NAD27clrk66nadgrids=@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat North_American_Datum_1927
potsdambesselnadgrids=@BETA2007.gsb Potsdam Rauenberg 1950 DHDN
carthageclrk80igntowgs84=-263.0,6.0,431.0 Carthage 1934 Tunisia
hermannskogelbesseltowgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 Hermannskogel
ire65mod_airytowgs84=482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15 Ireland 1965
nzgd49intltowgs84=59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993 New Zealand Geodetic Datum 1949
OSGB36airytowgs84=446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894 Airy 1830

3、+pm (prime meridian)中央子午线

MeridianLongitude
greenwich0° E
lisbon9° 07’ 54.862” W
paris2° 20’ 14.025” E
bogota74° 04’ 51.3” E
madrid3° 41’ 16.48” W
rome12° 27’ 8.4” E
bern7° 26’ 22.5” E
jakarta106° 48’ 27.79” E
ferro17° 40’ W
brussels4° 22’ 4.71” E
stockholm18° 3’ 29.8” E
athens23° 42’ 58.815” E
oslo10° 43’ 22.5” E

4、+proj 坐标系

ValueDescription
aeaAlbers Equal Area
aeqdAzimuthal Equidistant
affineAffine transformation
airyAiry
aitoffAitoff
alskMod. Stereographic of Alaska
apianApian Globular I
augustAugust Epicycloidal
axisswapAxis ordering
baconBacon Globular
bertin1953Bertin 1953
bipcBipolar conic of western hemisphere
boggsBoggs Eumorphic
bonneBonne (Werner lat_1=90)
calcofiCal Coop Ocean Fish Invest Lines/Stations
cartGeodetic/cartesian conversions
cassCassini
ccCentral Cylindrical
cconCentral Conic
ceaEqual Area Cylindrical
chambChamberlin Trimetric
collgCollignon
comillCompact Miller
crastCraster Parabolic (Putnins P4)
deformationKinematic grid shift
denoyDenoyer Semi-Elliptical
eck1Eckert I
eck2Eckert II
eck3Eckert III
eck4Eckert IV
eck5Eckert V
eck6Eckert VI
eqearthEqual Earth
eqcEquidistant Cylindrical (Plate Carree)
eqdcEquidistant Conic
eulerEuler
etmercExtended Transverse Mercator
faheyFahey
foucFoucaut
fouc_sFoucaut Sinusoidal
gallGall (Gall Stereographic)
geocGeocentric Latitude
geogoffsetGeographic Offset
geosGeostationary Satellite View
gins8Ginsburg VIII (TsNIIGAiK)
gn_sinuGeneral Sinusoidal Series
gnomGnomonic
goodeGoode Homolosine
gs48Mod. Stereographic of 48 U.S.
gs50Mod. Stereographic of 50 U.S.
hammerHammer & Eckert-Greifendorff
hatanoHatano Asymmetrical Equal Area
healpixHEALPix
rhealpixrHEALPix
helmert3(6)-, 4(8)- and 7(14)-parameter Helmert shift
hgridshiftHorizontal grid shift
hornerHorner polynomial evaluation
ighInterrupted Goode Homolosine
imw_pInternational Map of the World Polyconic
iseaIcosahedral Snyder Equal Area
kav5Kavraisky V
kav7Kavraisky VII
krovakKrovak
labrdLaborde
laeaLambert Azimuthal Equal Area
lagrngLagrange
larrLarrivee
laskLaskowski
* lonlat Lat/long (Geodetic)
latlonLat/long (Geodetic alias)
lccLambert Conformal Conic
lccaLambert Conformal Conic Alternative
leacLambert Equal Area Conic
lee_osLee Oblated Stereographic
loximLoximuthal
lsatSpace oblique for LANDSAT
mbt_sMcBryde-Thomas Flat-Polar Sine (No. 1)
mbt_fpsMcBryde-Thomas Flat-Pole Sine (No. 2)
mbtfppMcBride-Thomas Flat-Polar Parabolic
mbtfpqMcBryde-Thomas Flat-Polar Quartic
mbtfpsMcBryde-Thomas Flat-Polar Sinusoidal
* merc Mercator 墨卡托
mil_osMiller Oblated Stereographic
millMiller Cylindrical
misrsomSpace oblique for MISR
mollMollweide
molobadekasMolodensky-Badekas transformation
molodenskyMolodensky transform
murd1Murdoch I
murd2Murdoch II
murd3Murdoch III
natearthNatural Earth
natearth2Natural Earth 2
nellNell
nell_hNell-Hammer
nicolNicolosi Globular
nsperNear-sided perspective
nzmgNew Zealand Map Grid
noopNo operation
ob_tranGeneral Oblique Transformation
oceaOblique Cylindrical Equal Area
oeaOblated Equal Area
omercOblique Mercator
ortelOrtelius Oval
orthoOrthographic
pconicPerspective Conic
pattersonPatterson Cylindrical
pipelineTransformation pipeline manager
polyPolyconic (American)
popRetrieve coordinate value from pipeline stack
pushSave coordinate value on pipeline stack
putp1Putnins P1
putp2Putnins P2
putp3Putnins P3
putp3pPutnins P3’
putp4pPutnins P4’
putp5Putnins P5
putp5pPutnins P5’
putp6Putnins P6
putp6pPutnins P6’
qua_autQuartic Authalic
qscQuadrilateralized Spherical Cube
robinRobinson
roussRoussilhe Stereographic
rpolyRectangular Polyconic
schSpherical Cross-track Height
sinuSinusoidal (Sanson-Flamsteed)
somercSwiss. Obl. Mercator
stereStereographic
stereaOblique Stereographic Alternative
gstmercGauss-Schreiber Transverse Mercator (aka Gauss-Laborde Reunion)
tccTransverse Central Cylindrical
tceaTransverse Cylindrical Equal Area
timesTimes
tissotTissot
* tmerc Transverse Mercator 横向墨卡托
tobmercTobler-Mercator
tpeqdTwo Point Equidistant
tpersTilted perspective
unitconvertUnit conversion
upsUniversal Polar Stereographic
urm5Urmaev V
urmfpsUrmaev Flat-Polar Sinusoidal
utmUniversal Transverse Mercator (UTM)
vandgvan der Grinten (I)
vandg2van der Grinten II
vandg3van der Grinten III
vandg4van der Grinten IV
vitk1Vitkovsky I
vgridshiftVertical grid shift
wag1Wagner I (Kavraisky VI)
wag2Wagner II
wag3Wagner III
wag4Wagner IV
wag5Wagner V
wag6Wagner VI
wag7Wagner VII
webmercWeb Mercator / Pseudo Mercator
werenWerenskiold I
wink1Winkel I
wink2Winkel II
wintriWinkel Tripel

5、+units 、+vunits 单位

Valueto_meterDescription
km1000Kilometer
m1Meter
dm1/10Decimeter
cm1/100Centimeter
mm1/1000Millimeter
kmi1852International Nautical Mile
in0.0254International Inch
ft0.3048International Foot
yd0.9144International Yard
mi1609.344International Statute Mile
fath1.8288International Fathom
ch20.1168International Chain
link0.201168International Link
us-in1/39.37U.S. Surveyor’s Inch
us-ft0.304800609601219U.S. Surveyor’s Foot
us-yd0.914401828803658U.S. Surveyor’s Yard
us-ch20.11684023368047U.S. Surveyor’s Chain
us-mi1609.347218694437U.S. Surveyor’s Statute Mile
ind-yd0.91439523Indian Yard
ind-ft0.30479841Indian Foot
ind-ch20.11669506Indian Chain

6、+x_0 、+y_0 偏移量

在高斯-克吕格投影中:规定中央经线为X轴,赤道为Y轴,中央经线与赤道交点为坐标原点,x值在北半球为正,南半球为负,y值在中央经线以东为正,中央经线以西为负。由于我国疆域均在北半球,x值均为正值,为了避免y值出现负值,规定各投影带的坐标纵轴均西移500km,中央经线上原横坐标值由0变为500km。由于某一个投影带的坐标都是对本带坐标原点的相对值,所以各带的坐标完全相同,为了区分某一坐标系统属于哪一带,在横轴坐标前加上带好。
例:CGCS2000 / Gauss-Kruger zone 13 EPSG:4491

"+proj=tmerc +lat_0=0 +lon_0=75 +k=1 +x_0=13500000 +y_0=0 +ellps=GRS80 +units=m +no_defs"

+x_0=13500000 表示: 13带,偏移500 000m
+y_0=0

二、常用的坐标系定义 (可http://epsg.io/进行搜索)

1、WGS 84 / Pseudo-Mercator EPSG:3857

"+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs"

2、WGS84 - World Geodetic System 1984 EPSG:4326

"+proj=longlat +datum=WGS84 +no_defs"

3、China Geodetic Coordinate System 2000 EPSG:4490

"+proj=longlat +ellps=GRS80 +no_defs"

4、CGCS2000 / 高斯-克吕格 6°带

// GCS2000 / Gauss-Kruger zone 13  EPSG:4491
"+proj=tmerc +lat_0=0 +lon_0=75 +k=1 +x_0=13500000 +y_0=0 +ellps=GRS80 +units=m +no_defs"

// GCS2000 / Gauss-Kruger zone 14  EPSG:4492
"+proj=tmerc +lat_0=0 +lon_0=81 +k=1 +x_0=14500000 +y_0=0 +ellps=GRS80 +units=m +no_defs "

// GCS2000 / Gauss-Kruger zone 15  EPSG:4493
"+proj=tmerc +lat_0=0 +lon_0=87 +k=1 +x_0=15500000 +y_0=0 +ellps=GRS80 +units=m +no_defs "

// 依次下去  +lon_0 += 6  +x_0=${带号}500000
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值