Changeset 68308


Ignore:
Timestamp:
Apr 25, 2016, 3:11:51 PM (8 years ago)
Author:
neteler
Message:

libproj: recognise NAD83(HARN) for NC; fix SIRGAS2000 datum; add explanations about datum management (contributed by Paul Kelly)

Location:
grass/trunk/lib
Files:
3 edited

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,
    25# it supplies a datum database table for GRASS
    36# format:
    47# shortname "Full EPSG-style name" ellipsoid dx= dy= dz=
    58#
    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 =.
    1218#
    1319# In general the 3-parameter transformation given in this file should
     
    2632#
    2733# 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
    3035
    3136# World Geodetic System 1984
     
    3742# North American 1983
    3843nad83   "North_American_Datum_1983"               grs80         dx=0.0      dy=0.0      dz=0.0
     44nad83harn "NAD83_High_Accuracy_Reference_Network" grs80         dx=0.0      dy=0.0      dz=0.0
    3945# Tokyo datum mean
    4046tokyo  "Tokyo"                       bessel        dx=-148   dy=507    dz=685
     
    9298S_JTSK  "System_Jednotne_Trigonometricke_Site_Katastralni"      bessel  dx=589  dy=76   dz=480
    9399# 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=0
     100sirgas2000 "Sistema_de_Referencia_Geocentrico_para_las_AmericaS_2000"   grs80       dx=0        dy=0       dz=0
  • grass/trunk/lib/gis/datumtransform.table

    r68134 r68308  
    11# Datum Transformation Parameter Lists for GRASS
     2# (allows multiple different sets of datum transformation parameters to be
     3#  supplied for any datum)
    24#
    35# Line Format:
    4 # shortname "PROJ.4-style parameters" "Where Used" "Comment"
     6# shortname "parameters" "Where Used" "Comment"
    57#
    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.
    715#
    816# All but 1st field must be enclosed in quotes ("") An empty field can
     
    1018# much detail as possible for the user.
    1119#
    12 # datum.table only holds one 3-parameter transformation. Extra sets of
     20# Note: datum.table only holds one 3-parameter transformation. Extra sets of
    1321# transformation parameters may be defined in this file for each datum
    1422# and will be presented to the user to select the most appropriate one for
  • grass/trunk/lib/proj/convert.c

    r68305 r68308  
    745745 * datum that is already supported in GRASS. The number of entries must be even;
    746746 * 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 for
     747 * the second is the GRASS/GDAL name. If a name appears more than once (as for
    748748 * European_Terrestrial_Reference_System_1989) then it means there was more
    749749 * than one non-standard name for it that needs to be accounted for.
     
    752752 * ogr/ogrfromepsg.cpp in the GDAL source tree! GRASS uses the EPSG
    753753 * 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
    755765 */
    756766
     
    788798    "South_American_1969",
    789799    "South_American_Datum_1969",
    790     "Sistema_de_Referencia_Geocentrico_para_las_AmericaS_2000",
    791     "Sistema_de_Referencia_Geocentrico_para_America_del_Sur_2000",
    792800    "ITRF_1992",
    793801    "ITRF92",
Note: See TracChangeset for help on using the changeset viewer.