Ticket #80: issue80.2.txt

File issue80.2.txt, 5.3 KB (added by jonathan, 7 years ago)

with footnote (3) deleted

Line 
1Changes to section 5.6
2
3<at the end of 1st paragraph>
4
5The translation of CF coordinate variables to/from OGC Well-Known Text (WKT) format is shown in Examples 5.9 and 5.10 below and described in detail in <link1>.
6
7<Example 5.9. Latitude and longitude on the WGS 1984 datum>
8
9<After the CDL example, insert>
10
11OGC WKT:
12
13GEOGCS["WGS 84",
14        DATUM["WGS_1984",
15        SPHEROID["WGS 84",6378137,298.257223563]],
16    PRIMEM["Greenwich",0],
17    UNIT["degree",0.0174532925199433]]
18
19<Example 5.10. British National Grid>
20
21<Modify the crs definition in the CDL example to read>
22
23        char crs ;
24                crs:grid_mapping_name = "transverse_mercator" ;
25                crs:longitude_of_central_meridian = -2. ;
26                crs:false_easting = 400000. ;
27                crs:false_northing = -100000. ;
28                crs:latitude_of_projection_origin = 49. ;
29                crs:scale_factor_at_central_meridian = 0.9996012717 ;
30                crs:longitude_of_prime_meridian = 0. ;
31                crs:semi_major_axis = 6377563.396 ;
32                crs:inverse_flattening = 299.324964600004 ;
33                crs:projected_coordinate_system_name = "OSGB 1936 / British National Grid" ;
34                crs:geographic_coordinate_system_name = "OSGB 1936" ;
35                crs:horizontal_datum_name = "OSGB_1936" ;
36                crs:reference_ellipsoid_name = "Airy 1830" ;
37                crs:prime_meridian_name = "Greenwich" ;
38                crs:towgs84 = 375., -111., 431., 0., 0., 0., 0. ;
39
40<Then insert>
41
42OGC WKT:
43
44PROJCS["OSGB 1936 / British National Grid",
45    GEOGCS["OSGB 1936",
46        DATUM["OSGB_1936",
47            SPHEROID["Airy 1830",6377563.396,299.3249646000044],
48            TOWGS84[375,-111,431,0,0,0,0]],
49        PRIMEM["Greenwich",0],
50        UNIT["degree",0.0174532925199433]],
51    PROJECTION["Transverse_Mercator"],
52    PARAMETER["latitude_of_origin",49],
53    PARAMETER["central_meridian",-2],
54    PARAMETER["scale_factor",0.9996012717],
55    PARAMETER["false_easting",400000],
56    PARAMETER["false_northing",-100000],
57    UNIT["metre",1]]
58
59
60Changes to Table F1
61
62Attribute       Type    Description
63
64horizontal_datum_name   S       The name of the geodetic (horizontal) datum, which corresponds to the procedure used to measure positions on the surface of the Earth. Valid datum names and their associated parameters are given in <link1> (horiz_datum.csv, OGC_DATUM_NAME column) and are obtained by transforming the EPSG name using the following rules (used by OGR and Cadcorp): convert all non alphanumeric characters (including +) to underscores, then strip any leading, trailing or repeating underscores. This is to ensure that named datums can be correctly identified for precise datum transformations (see <link2> for more details). Corresponds to a OGC WKT DATUM node name.
65
66towgs84 N       This indicates a list of up to 7 Bursa Wolf transformation parameters., which can be used to approximate a transformation from the horizontal datum to the WGS84 datum. More precise datum transformations can be done with datum shift grids. Represented as a double-precision array, with 3, 6 or 7 values (if there are less than 7 values the remaining are considered to be zero). Corresponds to a OGC WKT TOWGS84 node.
67
68prime_meridian_name     S       The name of the prime meridian associated with the geodetic datum. Valid names are given in <link1> (prime_meridian.csv). Corresponds to a OGC WKT PRIMEM node name.
69
70reference_ellipsoid_name        S       The name of the reference ellipsoid. Valid names are given in <link1> (ellipsoid.csv). Corresponds to a OGC WKT SPHEROID node name.
71
72geographic_crs_name     S       The name of the geographic coordinate reference system. Corresponds to a OGC WKT GEOGCS node name.
73
74projected_crs_name      S       The name of the projected coordinate reference system. Corresponds to a OGC WKT PROJCS node name.
75
76latitude_of_projection_origin   N        The latitude (degrees_north) chosen as the origin of rectangular coordinates for a map projection. Domain: -90.0 <= latitude_of_projection_origin <= 90.0
77
78longitude_of_central_meridian   N        The line of longitude (degrees_east) at the center of a map projection generally used as the basis for constructing the projection. Domain: -180.0 <= longitude_of_central_meridian < 180.0
79
80longitude_of_prime_meridian     N        Specifies the longitude (degrees_east) [...]
81
82longitude_of_projection_origin  N        The longitude (degrees_east) chosen as the origin of rectangular coordinates for a map projection. Domain: -180.0 <= longitude_of_projection_origin < 180.0
83
84straight_vertical_longitude_from_pole   N        The longitude (degrees_east) to be oriented straight up from the North or South Pole. Domain: -180.0 <= straight_vertical_longitude_from_pole < 180.0
85
86Notes: (1) The various *_name attributes are optional but recommended when known as they allow for a better description and interoperability with WKT definitions. (2) reference_ellipsoid_name, prime_meridian_name, horizontal_datum_name and geographic_crs_name must be all defined if any one is defined, and if projected_crs_name is defined then geographic_crs_name must be also.
87
88Changes to References
89
90<link1> https://cf-pcmdi.llnl.gov/trac/wiki/Cf2CrsWkt
91<link2> http://home.gdal.org/projects/opengis/wktproblems.html
92<CT> OpenGIS Coordinate Transformation Service Implementation Specification 1.0 http://www.opengeospatial.org/standards/ct