Changeset 68308
- Timestamp:
- Apr 25, 2016, 3:11:51 PM (8 years ago)
- Location:
- grass/trunk/lib
- Files:
-
- 3 edited
-
gis/datum.table (modified) (4 diffs)
-
gis/datumtransform.table (modified) (2 diffs)
-
proj/convert.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
grass/trunk/lib/gis/datum.table
r68135 r68308 1 # this file contains datum shift parameters, 1 # Datum Transformation Parameter Lists for GRASS 2 # (single 3-parameter datum transformation)) 3 # 4 # This file contains datum shift parameters, 2 5 # it supplies a datum database table for GRASS 3 6 # format: 4 7 # shortname "Full EPSG-style name" ellipsoid dx= dy= dz= 5 8 # 6 # where short name is a single word datum specifier, 7 # Full EPSG-style name is the exact name used in the European 8 # Petroleum Survey Group (EPSG) database (enclosed in double quotes), 9 # ellipsoid is the acronym of the ellipsoid used with this map datum, 10 # dx, dy and dz are the datum shift parameters. 11 # no spaces allowed before or after the =. 9 # where 10 # * short name is a single word datum specifier, 11 # * Full EPSG-style name is the exact name used in the European 12 # Petroleum Survey Group (EPSG) database (enclosed in double quotes), 13 # * ellipsoid is the acronym of the ellipsoid used with this map datum, 14 # (GRASS ellipsoid code, from ellipse.table) 15 # * dx, dy and dz are the datum shift parameters that should cover the 16 # whole area the datum is used in. 17 # Note: no spaces allowed before or after the =. 12 18 # 13 19 # In general the 3-parameter transformation given in this file should … … 26 32 # 27 33 # Datum parameters for/from European Terrestrial Reference System ETRS89 28 # are here: http://crs.ifag.de/crs_national.php 29 # http://crs.bkg.bund.de/crs-eu 34 # are here: http://www.crs-geo.eu 30 35 31 36 # World Geodetic System 1984 … … 37 42 # North American 1983 38 43 nad83 "North_American_Datum_1983" grs80 dx=0.0 dy=0.0 dz=0.0 44 nad83harn "NAD83_High_Accuracy_Reference_Network" grs80 dx=0.0 dy=0.0 dz=0.0 39 45 # Tokyo datum mean 40 46 tokyo "Tokyo" bessel dx=-148 dy=507 dz=685 … … 92 98 S_JTSK "System_Jednotne_Trigonometricke_Site_Katastralni" bessel dx=589 dy=76 dz=480 93 99 # http://spatialreference.org/ref/epsg/4674/ 94 Sistema_de_Referencia_Geocentrico_para_America_del_Sur_2000 "Sistema_de_Referencia_Geocentrico_para_America_del_Sur_2000" grs80 dx=0 dy=0 dz=0100 sirgas2000 "Sistema_de_Referencia_Geocentrico_para_las_AmericaS_2000" grs80 dx=0 dy=0 dz=0 -
grass/trunk/lib/gis/datumtransform.table
r68134 r68308 1 1 # Datum Transformation Parameter Lists for GRASS 2 # (allows multiple different sets of datum transformation parameters to be 3 # supplied for any datum) 2 4 # 3 5 # Line Format: 4 # shortname " PROJ.4-styleparameters" "Where Used" "Comment"6 # shortname "parameters" "Where Used" "Comment" 5 7 # 6 # 4 fields on each line, shortname should be already listed in datum.table 8 # where 9 # * parameters can be in any format accepted by PROJ.4, 10 # so towgs84= 3 parameters or 7 parameters, or nadgrids= 11 # * area of validity 12 # * comment 13 # Hence, 4 fields on each line, and shortname should be already 14 # listed in datum.table. 7 15 # 8 16 # All but 1st field must be enclosed in quotes ("") An empty field can … … 10 18 # much detail as possible for the user. 11 19 # 12 # datum.table only holds one 3-parameter transformation. Extra sets of20 # Note: datum.table only holds one 3-parameter transformation. Extra sets of 13 21 # transformation parameters may be defined in this file for each datum 14 22 # and will be presented to the user to select the most appropriate one for -
grass/trunk/lib/proj/convert.c
r68305 r68308 745 745 * datum that is already supported in GRASS. The number of entries must be even; 746 746 * they are all in pairs. The first one in the pair is the non-standard name; 747 * the second is the GRASS name. If a name appears more than once (as for747 * the second is the GRASS/GDAL name. If a name appears more than once (as for 748 748 * European_Terrestrial_Reference_System_1989) then it means there was more 749 749 * than one non-standard name for it that needs to be accounted for. … … 752 752 * ogr/ogrfromepsg.cpp in the GDAL source tree! GRASS uses the EPSG 753 753 * names in its WKT representation except WGS_1984 and WGS_1972 as 754 * these shortened versions seem to be standard 754 * these shortened versions seem to be standard. 755 * Below order: 756 * the equivalent name comes first in the pair, and 757 * the EPSG name (as used in the GRASS datum.table file) comes second. 758 * 759 * The datum parameters are stored in 760 * ../gis/datum.table # 3 parameters 761 * ../gis/datumtransform.table # 7 parameters (requires entry in datum.table) 762 * 763 * Hint: use GDAL's "testepsg" to identify the canonical name, e.g. 764 * testepsg epsg:4674 755 765 */ 756 766 … … 788 798 "South_American_1969", 789 799 "South_American_Datum_1969", 790 "Sistema_de_Referencia_Geocentrico_para_las_AmericaS_2000",791 "Sistema_de_Referencia_Geocentrico_para_America_del_Sur_2000",792 800 "ITRF_1992", 793 801 "ITRF92",
Note:
See TracChangeset
for help on using the changeset viewer.
