GDAL

ogr_srs_cf1.h
1/******************************************************************************
2 * $Id$
3 *
4 * Project: netCDF read/write Driver
5 * Purpose: GDAL bindings over netCDF library.
6 * Author: Frank Warmerdam, warmerdam@pobox.com
7 *
8 ******************************************************************************
9 * Copyright (c) 2004, Frank Warmerdam
10 *
11 * SPDX-License-Identifier: MIT
12 ****************************************************************************/
13
14#ifndef OGR_SRS_CF1_INCLUDED
15#define OGR_SRS_CF1_INCLUDED
16
17#define NCDF_CRS_WKT "crs_wkt"
18#define NCDF_SPATIAL_REF "spatial_ref"
19
20/* -------------------------------------------------------------------- */
21/* CF-1 convention standard variables related to */
22/* mapping & projection - see http://cf-pcmdi.llnl.gov/ */
23/* -------------------------------------------------------------------- */
24
25#define CF_GRD_MAPPING_NAME "grid_mapping_name"
26
27#define CF_PRIME_MERIDIAN_NAME "prime_meridian_name"
28#define CF_REFERENCE_ELLIPSOID_NAME "reference_ellipsoid_name"
29#define CF_HORIZONTAL_DATUM_NAME "horizontal_datum_name"
30#define CF_GEOGRAPHIC_CRS_NAME "geographic_crs_name"
31#define CF_PROJECTED_CRS_NAME "projected_crs_name"
32
33/* projection types */
34#define CF_PT_AEA "albers_conical_equal_area"
35#define CF_PT_AE "azimuthal_equidistant"
36#define CF_PT_CEA "cylindrical_equal_area"
37#define CF_PT_LAEA "lambert_azimuthal_equal_area"
38#define CF_PT_LCEA "lambert_cylindrical_equal_area"
39#define CF_PT_LCC "lambert_conformal_conic"
40#define CF_PT_TM "transverse_mercator"
41#define CF_PT_LATITUDE_LONGITUDE "latitude_longitude"
42#define CF_PT_MERCATOR "mercator"
43#define CF_PT_ORTHOGRAPHIC "orthographic"
44#define CF_PT_POLAR_STEREO "polar_stereographic"
45#define CF_PT_STEREO "stereographic"
46#define CF_PT_GEOS "geostationary"
47#define CF_PT_ROTATED_LATITUDE_LONGITUDE "rotated_latitude_longitude"
48
49/* projection parameters */
50#define CF_PP_STD_PARALLEL "standard_parallel"
51/* CF uses only "standard_parallel" */
52#define CF_PP_STD_PARALLEL_1 "standard_parallel_1"
53#define CF_PP_STD_PARALLEL_2 "standard_parallel_2"
54#define CF_PP_CENTRAL_MERIDIAN "central_meridian"
55#define CF_PP_LONG_CENTRAL_MERIDIAN "longitude_of_central_meridian"
56#define CF_PP_LON_PROJ_ORIGIN "longitude_of_projection_origin"
57#define CF_PP_LAT_PROJ_ORIGIN "latitude_of_projection_origin"
58/* #define PROJ_X_ORIGIN "projection_x_coordinate_origin" */
59/* #define PROJ_Y_ORIGIN "projection_y_coordinate_origin" */
60#define CF_PP_EARTH_SHAPE "GRIB_earth_shape"
61#define CF_PP_EARTH_SHAPE_CODE "GRIB_earth_shape_code"
62/* scale_factor is not CF, there are two possible translations */
63/* for WKT scale_factor : SCALE_FACTOR_MERIDIAN and SCALE_FACTOR_ORIGIN */
64#define CF_PP_SCALE_FACTOR_MERIDIAN "scale_factor_at_central_meridian"
65#define CF_PP_SCALE_FACTOR_ORIGIN "scale_factor_at_projection_origin"
66#define CF_PP_VERT_LONG_FROM_POLE "straight_vertical_longitude_from_pole"
67#define CF_PP_FALSE_EASTING "false_easting"
68#define CF_PP_FALSE_NORTHING "false_northing"
69#define CF_PP_EARTH_RADIUS "earth_radius"
70#define CF_PP_EARTH_RADIUS_OLD "spherical_earth_radius_meters"
71#define CF_PP_INVERSE_FLATTENING "inverse_flattening"
72#define CF_PP_LONG_PRIME_MERIDIAN "longitude_of_prime_meridian"
73#define CF_PP_SEMI_MAJOR_AXIS "semi_major_axis"
74#define CF_PP_SEMI_MINOR_AXIS "semi_minor_axis"
75#define CF_PP_VERT_PERSP "vertical_perspective" /*not used yet */
76#define CF_PP_PERSPECTIVE_POINT_HEIGHT "perspective_point_height"
77#define CF_PP_SWEEP_ANGLE_AXIS "sweep_angle_axis"
78#define CF_PP_GRID_NORTH_POLE_LONGITUDE "grid_north_pole_longitude"
79#define CF_PP_GRID_NORTH_POLE_LATITUDE "grid_north_pole_latitude"
80#define CF_PP_NORTH_POLE_GRID_LONGITUDE "north_pole_grid_longitude"
81
82#endif /* OGR_SRS_CF1_INCLUDED */