diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-12-18 20:24:11 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-12-26 10:08:53 +0100 |
| commit | 610957f7035242f15743c399ffd429b92bc36206 (patch) | |
| tree | 73f0d51147e2f4860c4bfc875f7a4bf9359386d4 /src/pj_datums.c | |
| parent | 355d681ed88019e97742344bd642c2fd97e700a1 (diff) | |
| download | PROJ-610957f7035242f15743c399ffd429b92bc36206.tar.gz PROJ-610957f7035242f15743c399ffd429b92bc36206.zip | |
cpp conversion: minimal steps to fix compilation errors, not warnings
Diffstat (limited to 'src/pj_datums.c')
| -rw-r--r-- | src/pj_datums.c | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/src/pj_datums.c b/src/pj_datums.c deleted file mode 100644 index 2951b7bd..00000000 --- a/src/pj_datums.c +++ /dev/null @@ -1,99 +0,0 @@ -/****************************************************************************** - * Project: PROJ.4 - * Purpose: Built in datum list. - * Author: Frank Warmerdam, warmerda@home.com - * - ****************************************************************************** - * Copyright (c) 2000, Frank Warmerdam - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - *****************************************************************************/ - -#include <stddef.h> - -#include "proj.h" - -#define PJ_DATUMS__ -#include "projects.h" - -/* - * The ellipse code must match one from pj_ellps.c. The datum id should - * be kept to 12 characters or less if possible. Use the official OGC - * datum name for the comments if available. - */ - -C_NAMESPACE_VAR const struct PJ_DATUMS pj_datums[] = { -/* id definition ellipse comments */ -/* -- ---------- ------- -------- */ -{"WGS84", "towgs84=0,0,0", "WGS84", ""}, -{"GGRS87", "towgs84=-199.87,74.79,246.62", "GRS80", - "Greek_Geodetic_Reference_System_1987"}, -{"NAD83", "towgs84=0,0,0", "GRS80", - "North_American_Datum_1983"}, -{"NAD27", "nadgrids=@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat", - "clrk66", - "North_American_Datum_1927"}, -{"potsdam", /*"towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7",*/ - "nadgrids=@BETA2007.gsb", - "bessel", - "Potsdam Rauenberg 1950 DHDN"}, -{"carthage","towgs84=-263.0,6.0,431.0", "clrk80ign", - "Carthage 1934 Tunisia"}, -{"hermannskogel", "towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232", - "bessel", - "Hermannskogel"}, -{"ire65", "towgs84=482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15", - "mod_airy", - "Ireland 1965"}, -{"nzgd49", "towgs84=59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993", - "intl", "New Zealand Geodetic Datum 1949"}, -{"OSGB36", "towgs84=446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894", - "airy", "Airy 1830"}, -{NULL, NULL, NULL, NULL} -}; - -struct PJ_DATUMS *pj_get_datums_ref() -{ - return (struct PJ_DATUMS *)pj_datums; -} - -static const struct PJ_PRIME_MERIDIANS pj_prime_meridians[] = { - /* id definition */ - /* -- ---------- */ - {"greenwich", "0dE"}, - {"lisbon", "9d07'54.862\"W"}, - {"paris", "2d20'14.025\"E"}, - {"bogota", "74d04'51.3\"W"}, - {"madrid", "3d41'16.58\"W"}, - {"rome", "12d27'8.4\"E"}, - {"bern", "7d26'22.5\"E"}, - {"jakarta", "106d48'27.79\"E"}, - {"ferro", "17d40'W"}, - {"brussels", "4d22'4.71\"E"}, - {"stockholm", "18d3'29.8\"E"}, - {"athens", "23d42'58.815\"E"}, - {"oslo", "10d43'22.5\"E"}, - {"copenhagen","12d34'40.35\"E"}, - {NULL, NULL} -}; - -const PJ_PRIME_MERIDIANS *proj_list_prime_meridians(void) -{ - return pj_prime_meridians; -} |
