GDAL

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