@cpp.js/package-geotiff 1.0.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +81 -0
- package/README.md +47 -0
- package/cppjs-package-geotiff.podspec +13 -0
- package/cppjs.build.js +23 -0
- package/cppjs.config.js +22 -0
- package/dist/prebuilt/Android-arm64-v8a/include/cpl_serv.h +258 -0
- package/dist/prebuilt/Android-arm64-v8a/include/epsg_datum.inc +174 -0
- package/dist/prebuilt/Android-arm64-v8a/include/epsg_ellipse.inc +48 -0
- package/dist/prebuilt/Android-arm64-v8a/include/epsg_gcs.inc +193 -0
- package/dist/prebuilt/Android-arm64-v8a/include/epsg_pcs.inc +1012 -0
- package/dist/prebuilt/Android-arm64-v8a/include/epsg_pm.inc +22 -0
- package/dist/prebuilt/Android-arm64-v8a/include/epsg_proj.inc +443 -0
- package/dist/prebuilt/Android-arm64-v8a/include/epsg_units.inc +35 -0
- package/dist/prebuilt/Android-arm64-v8a/include/epsg_vertcs.inc +46 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geo_config.h +10 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geo_ctrans.inc +84 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geo_keyp.h +128 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geo_normalize.h +259 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geo_simpletags.h +73 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geo_tiffp.h +109 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geokeys.h +52 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geokeys.inc +78 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geokeys_v1_1.inc +85 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geonames.h +149 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geotiff.h +177 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geotiffio.h +20 -0
- package/dist/prebuilt/Android-arm64-v8a/include/geovalues.h +115 -0
- package/dist/prebuilt/Android-arm64-v8a/include/xtiffio.h +101 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/libgeotiff.la +41 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/libgeotiff.so +0 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libgeotiff.pc +11 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man1/applygeo.1 +31 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man1/geotifcp.1 +156 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man1/listgeo.1 +51 -0
- package/dist/prebuilt/CMakeLists.txt +44 -0
- package/dist/prebuilt/Emscripten-x86_64/include/cpl_serv.h +258 -0
- package/dist/prebuilt/Emscripten-x86_64/include/epsg_datum.inc +174 -0
- package/dist/prebuilt/Emscripten-x86_64/include/epsg_ellipse.inc +48 -0
- package/dist/prebuilt/Emscripten-x86_64/include/epsg_gcs.inc +193 -0
- package/dist/prebuilt/Emscripten-x86_64/include/epsg_pcs.inc +1012 -0
- package/dist/prebuilt/Emscripten-x86_64/include/epsg_pm.inc +22 -0
- package/dist/prebuilt/Emscripten-x86_64/include/epsg_proj.inc +443 -0
- package/dist/prebuilt/Emscripten-x86_64/include/epsg_units.inc +35 -0
- package/dist/prebuilt/Emscripten-x86_64/include/epsg_vertcs.inc +46 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geo_config.h +10 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geo_ctrans.inc +84 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geo_keyp.h +128 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geo_normalize.h +259 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geo_simpletags.h +73 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geo_tiffp.h +109 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geokeys.h +52 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geokeys.inc +78 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geokeys_v1_1.inc +85 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geonames.h +149 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geotiff.h +177 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geotiffio.h +20 -0
- package/dist/prebuilt/Emscripten-x86_64/include/geovalues.h +115 -0
- package/dist/prebuilt/Emscripten-x86_64/include/xtiffio.h +101 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/libgeotiff.a +0 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/libgeotiff.la +41 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libgeotiff.pc +11 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man1/applygeo.1 +31 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man1/geotifcp.1 +156 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man1/listgeo.1 +51 -0
- package/dist/prebuilt/geotiff.xcframework/Info.plist +50 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/cpl_serv.h +258 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_datum.inc +174 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_ellipse.inc +48 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_gcs.inc +193 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_pcs.inc +1012 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_pm.inc +22 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_proj.inc +443 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_units.inc +35 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_vertcs.inc +46 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_config.h +10 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_ctrans.inc +84 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_keyp.h +128 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_normalize.h +259 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_simpletags.h +73 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_tiffp.h +109 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geokeys.h +52 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geokeys.inc +78 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geokeys_v1_1.inc +85 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geonames.h +149 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geotiff.h +177 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geotiffio.h +20 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/geovalues.h +115 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/Headers/xtiffio.h +101 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e/libgeotiff.a +0 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_serv.h +258 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_datum.inc +174 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_ellipse.inc +48 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_gcs.inc +193 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_pcs.inc +1012 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_pm.inc +22 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_proj.inc +443 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_units.inc +35 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_vertcs.inc +46 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_config.h +10 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_ctrans.inc +84 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_keyp.h +128 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_normalize.h +259 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_simpletags.h +73 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_tiffp.h +109 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geokeys.h +52 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geokeys.inc +78 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geokeys_v1_1.inc +85 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geonames.h +149 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geotiff.h +177 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geotiffio.h +20 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geovalues.h +115 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/xtiffio.h +101 -0
- package/dist/prebuilt/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/libgeotiff.a +0 -0
- package/dist/prebuilt/iOS-iphoneos/include/cpl_serv.h +258 -0
- package/dist/prebuilt/iOS-iphoneos/include/epsg_datum.inc +174 -0
- package/dist/prebuilt/iOS-iphoneos/include/epsg_ellipse.inc +48 -0
- package/dist/prebuilt/iOS-iphoneos/include/epsg_gcs.inc +193 -0
- package/dist/prebuilt/iOS-iphoneos/include/epsg_pcs.inc +1012 -0
- package/dist/prebuilt/iOS-iphoneos/include/epsg_pm.inc +22 -0
- package/dist/prebuilt/iOS-iphoneos/include/epsg_proj.inc +443 -0
- package/dist/prebuilt/iOS-iphoneos/include/epsg_units.inc +35 -0
- package/dist/prebuilt/iOS-iphoneos/include/epsg_vertcs.inc +46 -0
- package/dist/prebuilt/iOS-iphoneos/include/geo_config.h +10 -0
- package/dist/prebuilt/iOS-iphoneos/include/geo_ctrans.inc +84 -0
- package/dist/prebuilt/iOS-iphoneos/include/geo_keyp.h +128 -0
- package/dist/prebuilt/iOS-iphoneos/include/geo_normalize.h +259 -0
- package/dist/prebuilt/iOS-iphoneos/include/geo_simpletags.h +73 -0
- package/dist/prebuilt/iOS-iphoneos/include/geo_tiffp.h +109 -0
- package/dist/prebuilt/iOS-iphoneos/include/geokeys.h +52 -0
- package/dist/prebuilt/iOS-iphoneos/include/geokeys.inc +78 -0
- package/dist/prebuilt/iOS-iphoneos/include/geokeys_v1_1.inc +85 -0
- package/dist/prebuilt/iOS-iphoneos/include/geonames.h +149 -0
- package/dist/prebuilt/iOS-iphoneos/include/geotiff.h +177 -0
- package/dist/prebuilt/iOS-iphoneos/include/geotiffio.h +20 -0
- package/dist/prebuilt/iOS-iphoneos/include/geovalues.h +115 -0
- package/dist/prebuilt/iOS-iphoneos/include/xtiffio.h +101 -0
- package/dist/prebuilt/iOS-iphoneos/lib/libgeotiff.a +0 -0
- package/dist/prebuilt/iOS-iphoneos/lib/libgeotiff.la +41 -0
- package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libgeotiff.pc +11 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man1/applygeo.1 +31 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man1/geotifcp.1 +156 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man1/listgeo.1 +51 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/cpl_serv.h +258 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/epsg_datum.inc +174 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/epsg_ellipse.inc +48 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/epsg_gcs.inc +193 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/epsg_pcs.inc +1012 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/epsg_pm.inc +22 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/epsg_proj.inc +443 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/epsg_units.inc +35 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/epsg_vertcs.inc +46 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geo_config.h +10 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geo_ctrans.inc +84 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geo_keyp.h +128 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geo_normalize.h +259 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geo_simpletags.h +73 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geo_tiffp.h +109 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geokeys.h +52 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geokeys.inc +78 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geokeys_v1_1.inc +85 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geonames.h +149 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geotiff.h +177 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geotiffio.h +20 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/geovalues.h +115 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/xtiffio.h +101 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/libgeotiff.a +0 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/libgeotiff.la +41 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libgeotiff.pc +11 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/applygeo.1 +31 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/geotifcp.1 +156 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/listgeo.1 +51 -0
- package/package.json +33 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
libgeotiff Licensing
|
|
3
|
+
====================
|
|
4
|
+
|
|
5
|
+
All the source code in this toolkit are either in the public domain, or under
|
|
6
|
+
the MIT License. In any event it is all considered to be free to use
|
|
7
|
+
for any purpose (including commercial software). No credit is required
|
|
8
|
+
though some of the code requires that the specific source code modules
|
|
9
|
+
retain their existing copyright statements. In
|
|
10
|
+
particular, no part of this code is "copyleft", nor does it imply any
|
|
11
|
+
requirement for users to disclose this or their own source code.
|
|
12
|
+
|
|
13
|
+
All components not carrying their own copyright message, but distributed
|
|
14
|
+
with libgeotiff should be considered to be under the same license as
|
|
15
|
+
Niles' code.
|
|
16
|
+
|
|
17
|
+
---------
|
|
18
|
+
|
|
19
|
+
Code by Frank Warmerdam has this copyright notice (directly copied from
|
|
20
|
+
X Consortium licence):
|
|
21
|
+
|
|
22
|
+
* Copyright (c) 1999, Frank Warmerdam
|
|
23
|
+
*
|
|
24
|
+
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
25
|
+
* copy of this software and associated documentation files (the "Software"),
|
|
26
|
+
* to deal in the Software without restriction, including without limitation
|
|
27
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
28
|
+
* and/or sell copies of the Software, and to permit persons to whom the
|
|
29
|
+
* Software is furnished to do so, subject to the following conditions:
|
|
30
|
+
*
|
|
31
|
+
* The above copyright notice and this permission notice shall be included
|
|
32
|
+
* in all copies or substantial portions of the Software.
|
|
33
|
+
*
|
|
34
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
35
|
+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
36
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
37
|
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
38
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
39
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
40
|
+
* DEALINGS IN THE SOFTWARE.
|
|
41
|
+
|
|
42
|
+
-----------
|
|
43
|
+
|
|
44
|
+
Code by Niles Ritter is under this licence:
|
|
45
|
+
|
|
46
|
+
* Written By: Niles D. Ritter.
|
|
47
|
+
*
|
|
48
|
+
* copyright (c) 1995 Niles D. Ritter
|
|
49
|
+
*
|
|
50
|
+
* Permission granted to use this software, so long as this copyright
|
|
51
|
+
* notice accompanies any products derived therefrom.
|
|
52
|
+
|
|
53
|
+
----------
|
|
54
|
+
|
|
55
|
+
The cmake/*.cmake macros are under the following BSD license. This does
|
|
56
|
+
not affect produced binaries or the library.
|
|
57
|
+
|
|
58
|
+
--
|
|
59
|
+
|
|
60
|
+
Redistribution and use in source and binary forms, with or without
|
|
61
|
+
modification, are permitted provided that the following conditions
|
|
62
|
+
are met:
|
|
63
|
+
|
|
64
|
+
1. Redistributions of source code must retain the copyright
|
|
65
|
+
notice, this list of conditions and the following disclaimer.
|
|
66
|
+
2. Redistributions in binary form must reproduce the copyright
|
|
67
|
+
notice, this list of conditions and the following disclaimer in the
|
|
68
|
+
documentation and/or other materials provided with the distribution.
|
|
69
|
+
3. The name of the author may not be used to endorse or promote products
|
|
70
|
+
derived from this software without specific prior written permission.
|
|
71
|
+
|
|
72
|
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
73
|
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
74
|
+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
75
|
+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
76
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
77
|
+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
78
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
79
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
80
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
81
|
+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# @cpp.js/package-geotiff
|
|
2
|
+
**Precompiled geotiff library built with cpp.js for seamless integration in JavaScript, WebAssembly and React Native projects.**
|
|
3
|
+
|
|
4
|
+
<a href="https://www.npmjs.com/package/@cpp.js/package-geotiff">
|
|
5
|
+
<img alt="NPM version" src="https://img.shields.io/npm/v/@cpp.js/package-geotiff?style=for-the-badge" />
|
|
6
|
+
</a>
|
|
7
|
+
<a href="https://github.com/OSGeo/libgeotiff/blob/master/libgeotiff/LICENSE">
|
|
8
|
+
<img alt="License" src="https://img.shields.io/npm/l/%40cpp.js%2Fpackage-geotiff?style=for-the-badge" />
|
|
9
|
+
</a>
|
|
10
|
+
|
|
11
|
+
## Integration
|
|
12
|
+
Start by installing these package with the following command:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install @cpp.js/package-geotiff
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
To enable the library, modify the cppjs.config.js file as shown below.
|
|
19
|
+
```diff
|
|
20
|
+
+import geotiff from '@cpp.js/package-geotiff/cppjs.config.js';
|
|
21
|
+
|
|
22
|
+
export default {
|
|
23
|
+
dependencies: [
|
|
24
|
+
+ geotiff
|
|
25
|
+
]
|
|
26
|
+
paths: {
|
|
27
|
+
config: import.meta.url,
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
Below are the steps to use the geotiff in your C++ or JavaScript code.
|
|
34
|
+
|
|
35
|
+
### Usage in C++ Code
|
|
36
|
+
```diff
|
|
37
|
+
+#include <geotiff.h>
|
|
38
|
+
|
|
39
|
+
std::string Native::sample() {
|
|
40
|
+
+ return to_string(LIBGEOTIFF_VERSION);
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
This project includes the precompiled libgeotiff library, which is distributed under the [MIT License](https://github.com/OSGeo/libgeotiff/blob/master/libgeotiff/LICENSE).
|
|
46
|
+
|
|
47
|
+
GeoTiff Homepage: <https://github.com/OSGeo/libgeotiff>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
require "json"
|
|
2
|
+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
3
|
+
|
|
4
|
+
Pod::Spec.new do |s|
|
|
5
|
+
s.module_name = "geotiff"
|
|
6
|
+
s.name = package["name"]
|
|
7
|
+
s.version = package["nativeVersion"]
|
|
8
|
+
s.summary = "This library is designed to permit the extraction and parsing of the 'GeoTIFF' Key directories, as well as definition and installation of GeoTIFF keys in new files."
|
|
9
|
+
s.homepage = "https://github.com/OSGeo/libgeotiff"
|
|
10
|
+
s.author = "GeoTiff Authors"
|
|
11
|
+
s.source = { :http => "https://cpp.js.org" }
|
|
12
|
+
s.vendored_frameworks = 'geotiff.xcframework', 'proj.xcframework', 'tiff.xcframework', 'z.xcframework'
|
|
13
|
+
end
|
package/cppjs.build.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const platformBuild = {
|
|
2
|
+
'Emscripten-x86_64': ['--enable-shared=no', '--host=x86_64-pc-linux-gnu'],
|
|
3
|
+
'Android-arm64-v8a': ['--enable-static=no', '--host=aarch64-linux-android'],
|
|
4
|
+
'iOS-iphoneos': ['--enable-shared=no', '--host=arm-apple-darwin'],
|
|
5
|
+
'iOS-iphonesimulator': ['--enable-shared=no', '--host=x86_64-apple-darwin'],
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const platformExtraLibs = {
|
|
9
|
+
'Emscripten-x86_64': ['-lsqlite3'],
|
|
10
|
+
'Android-arm64-v8a': ['-lstdc++'],
|
|
11
|
+
'iOS-iphoneos': ['-lstdc++'],
|
|
12
|
+
'iOS-iphonesimulator': ['-lstdc++'],
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
getURL: (version) => `https://download.osgeo.org/geotiff/libgeotiff/libgeotiff-${version}.tar.gz`,
|
|
17
|
+
buildType: 'configure',
|
|
18
|
+
getBuildParams: (platform, depPaths) => [
|
|
19
|
+
...(platformBuild[platform] || []),
|
|
20
|
+
`--with-proj=${depPaths.proj.root}`, `--with-libtiff=${depPaths.tiff.root}`, `--with-zlib=${depPaths.z.root}`,
|
|
21
|
+
],
|
|
22
|
+
getExtraLibs: (platform) => platformExtraLibs[platform] || [],
|
|
23
|
+
};
|
package/cppjs.config.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import proj from '@cpp.js/package-proj/cppjs.config.js';
|
|
2
|
+
import tiff from '@cpp.js/package-tiff/cppjs.config.js';
|
|
3
|
+
import zlib from '@cpp.js/package-zlib/cppjs.config.js';
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
general: {
|
|
7
|
+
name: 'geotiff',
|
|
8
|
+
},
|
|
9
|
+
export: {
|
|
10
|
+
type: 'cmake',
|
|
11
|
+
},
|
|
12
|
+
dependencies: [
|
|
13
|
+
proj,
|
|
14
|
+
tiff,
|
|
15
|
+
zlib,
|
|
16
|
+
],
|
|
17
|
+
paths: {
|
|
18
|
+
config: import.meta.url,
|
|
19
|
+
base: '../..',
|
|
20
|
+
output: 'dist',
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
/******************************************************************************
|
|
2
|
+
* Copyright (c) 1998, Frank Warmerdam
|
|
3
|
+
*
|
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
5
|
+
* copy of this software and associated documentation files (the "Software"),
|
|
6
|
+
* to deal in the Software without restriction, including without limitation
|
|
7
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
8
|
+
* and/or sell copies of the Software, and to permit persons to whom the
|
|
9
|
+
* Software is furnished to do so, subject to the following conditions:
|
|
10
|
+
*
|
|
11
|
+
* The above copyright notice and this permission notice shall be included
|
|
12
|
+
* in all copies or substantial portions of the Software.
|
|
13
|
+
*
|
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
15
|
+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
17
|
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
19
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
20
|
+
* DEALINGS IN THE SOFTWARE.
|
|
21
|
+
******************************************************************************
|
|
22
|
+
*
|
|
23
|
+
* cpl_serv.h
|
|
24
|
+
*
|
|
25
|
+
* This include file derived and simplified from the GDAL Common Portability
|
|
26
|
+
* Library.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
#ifndef CPL_SERV_H_INCLUDED
|
|
30
|
+
#define CPL_SERV_H_INCLUDED
|
|
31
|
+
|
|
32
|
+
/* ==================================================================== */
|
|
33
|
+
/* Standard include files. */
|
|
34
|
+
/* ==================================================================== */
|
|
35
|
+
|
|
36
|
+
#include "geo_config.h"
|
|
37
|
+
#include <stdio.h>
|
|
38
|
+
|
|
39
|
+
#include <math.h>
|
|
40
|
+
|
|
41
|
+
#include <string.h>
|
|
42
|
+
#if defined(GEOTIFF_HAVE_STRINGS_H) && !defined(_WIN32)
|
|
43
|
+
# include <strings.h>
|
|
44
|
+
#endif
|
|
45
|
+
#include <stdlib.h>
|
|
46
|
+
|
|
47
|
+
/**********************************************************************
|
|
48
|
+
* Do we want to build as a DLL on windows?
|
|
49
|
+
**********************************************************************/
|
|
50
|
+
#if !defined(GTIF_DLL)
|
|
51
|
+
# if defined(_WIN32) && defined(BUILD_AS_DLL)
|
|
52
|
+
# define GTIF_DLL __declspec(dllexport)
|
|
53
|
+
# else
|
|
54
|
+
# define GTIF_DLL
|
|
55
|
+
# endif
|
|
56
|
+
#endif
|
|
57
|
+
|
|
58
|
+
/* ==================================================================== */
|
|
59
|
+
/* Other standard services. */
|
|
60
|
+
/* ==================================================================== */
|
|
61
|
+
#ifdef __cplusplus
|
|
62
|
+
# define CPL_C_START extern "C" {
|
|
63
|
+
# define CPL_C_END }
|
|
64
|
+
#else
|
|
65
|
+
# define CPL_C_START
|
|
66
|
+
# define CPL_C_END
|
|
67
|
+
#endif
|
|
68
|
+
|
|
69
|
+
#ifndef NULL
|
|
70
|
+
# define NULL 0
|
|
71
|
+
#endif
|
|
72
|
+
|
|
73
|
+
#ifndef FALSE
|
|
74
|
+
# define FALSE 0
|
|
75
|
+
#endif
|
|
76
|
+
|
|
77
|
+
#ifndef TRUE
|
|
78
|
+
# define TRUE 1
|
|
79
|
+
#endif
|
|
80
|
+
|
|
81
|
+
#ifndef MAX
|
|
82
|
+
# define MIN(a,b) (((a)<(b)) ? (a) : (b))
|
|
83
|
+
# define MAX(a,b) (((a)>(b)) ? (a) : (b))
|
|
84
|
+
#endif
|
|
85
|
+
|
|
86
|
+
#ifndef NULL
|
|
87
|
+
#define NULL 0
|
|
88
|
+
#endif
|
|
89
|
+
|
|
90
|
+
#ifndef ABS
|
|
91
|
+
# define ABS(x) (((x)<0) ? (-1*(x)) : (x))
|
|
92
|
+
#endif
|
|
93
|
+
|
|
94
|
+
#ifndef EQUAL
|
|
95
|
+
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
96
|
+
# if (_MSC_FULL_VER >= 15000000)
|
|
97
|
+
# define EQUALN(a,b,n) (_strnicmp(a,b,n)==0)
|
|
98
|
+
# define EQUAL(a,b) (_stricmp(a,b)==0)
|
|
99
|
+
# else
|
|
100
|
+
# define EQUALN(a,b,n) (strnicmp(a,b,n)==0)
|
|
101
|
+
# define EQUAL(a,b) (stricmp(a,b)==0)
|
|
102
|
+
# endif
|
|
103
|
+
#else
|
|
104
|
+
# define EQUALN(a,b,n) (strncasecmp(a,b,n)==0)
|
|
105
|
+
# define EQUAL(a,b) (strcasecmp(a,b)==0)
|
|
106
|
+
#endif
|
|
107
|
+
#endif
|
|
108
|
+
|
|
109
|
+
/* ==================================================================== */
|
|
110
|
+
/* VSI Services (just map directly onto Standard C services. */
|
|
111
|
+
/* ==================================================================== */
|
|
112
|
+
|
|
113
|
+
#define VSIFOpen fopen
|
|
114
|
+
#define VSIFClose fclose
|
|
115
|
+
#define VSIFEof feof
|
|
116
|
+
#define VSIFPrintf fprintf
|
|
117
|
+
#define VSIFPuts fputs
|
|
118
|
+
#define VSIFPutc fputc
|
|
119
|
+
#define VSIFGets fgets
|
|
120
|
+
#define VSIRewind rewind
|
|
121
|
+
#define VSIFSeek fseek
|
|
122
|
+
#define VSIFTell ftell
|
|
123
|
+
#define VSIFRead fread
|
|
124
|
+
|
|
125
|
+
#ifndef notdef
|
|
126
|
+
#define VSICalloc(x,y) _GTIFcalloc((x)*(y))
|
|
127
|
+
#define VSIMalloc _GTIFcalloc
|
|
128
|
+
#define VSIFree _GTIFFree
|
|
129
|
+
#define VSIRealloc _GTIFrealloc
|
|
130
|
+
#else
|
|
131
|
+
#define VSICalloc(x,y) (((char *) _GTIFcalloc((x)*(y)+4)) + 4)
|
|
132
|
+
#define VSIMalloc(x) (((char *) _GTIFcalloc((x)+4)) + 4)
|
|
133
|
+
#define VSIFree(x) _GTIFFree(((char *) (x)) - 4)
|
|
134
|
+
#define VSIRealloc(p,n) (((char *) _GTIFrealloc(((char *)(p))-4,(n)+4)) + 4)
|
|
135
|
+
#endif
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
#if !defined(GTIFAtof)
|
|
139
|
+
# define GTIFAtof atof
|
|
140
|
+
#endif
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
/* -------------------------------------------------------------------- */
|
|
144
|
+
/* Safe malloc() API. Thin cover over VSI functions with fatal */
|
|
145
|
+
/* error reporting if memory allocation fails. */
|
|
146
|
+
/* -------------------------------------------------------------------- */
|
|
147
|
+
CPL_C_START
|
|
148
|
+
|
|
149
|
+
#define CPLMalloc gtCPLMalloc
|
|
150
|
+
#define CPLCalloc gtCPLCalloc
|
|
151
|
+
#define CPLRealloc gtCPLRealloc
|
|
152
|
+
#define CPLStrdup gtCPLStrdup
|
|
153
|
+
|
|
154
|
+
void GTIF_DLL *CPLMalloc( int );
|
|
155
|
+
void GTIF_DLL *CPLCalloc( int, int );
|
|
156
|
+
void GTIF_DLL *CPLRealloc( void *, int );
|
|
157
|
+
char GTIF_DLL *CPLStrdup( const char * );
|
|
158
|
+
|
|
159
|
+
#define CPLFree(x) { if( x != NULL ) VSIFree(x); }
|
|
160
|
+
|
|
161
|
+
/* -------------------------------------------------------------------- */
|
|
162
|
+
/* Locale insensitive string to float conversion. */
|
|
163
|
+
/* -------------------------------------------------------------------- */
|
|
164
|
+
/*double GTIFAtof(const char *nptr); */
|
|
165
|
+
double GTIFStrtod(const char *nptr, char **endptr);
|
|
166
|
+
|
|
167
|
+
/* -------------------------------------------------------------------- */
|
|
168
|
+
/* Read a line from a text file, and strip of CR/LF. */
|
|
169
|
+
/* -------------------------------------------------------------------- */
|
|
170
|
+
|
|
171
|
+
#define CPLReadLine gtCPLReadLine
|
|
172
|
+
|
|
173
|
+
const char GTIF_DLL *CPLReadLine( FILE * );
|
|
174
|
+
|
|
175
|
+
/*=====================================================================
|
|
176
|
+
Error handling functions (cpl_error.c)
|
|
177
|
+
=====================================================================*/
|
|
178
|
+
|
|
179
|
+
typedef enum
|
|
180
|
+
{
|
|
181
|
+
CE_None = 0,
|
|
182
|
+
CE_Log = 1,
|
|
183
|
+
CE_Warning = 2,
|
|
184
|
+
CE_Failure = 3,
|
|
185
|
+
CE_Fatal = 4
|
|
186
|
+
} CPLErr;
|
|
187
|
+
|
|
188
|
+
#define CPLError gtCPLError
|
|
189
|
+
#define CPLErrorReset gtCPLErrorReset
|
|
190
|
+
#define CPLGetLastErrorNo gtCPLGetLastErrorNo
|
|
191
|
+
#define CPLGetLastErrorMsg gtCPLGetLastErrorMsg
|
|
192
|
+
#define CPLSetErrorHandler gtCPLSetErrorHandler
|
|
193
|
+
#define _CPLAssert gt_CPLAssert
|
|
194
|
+
|
|
195
|
+
void GTIF_DLL CPLError(CPLErr eErrClass, int err_no, const char *fmt, ...);
|
|
196
|
+
void GTIF_DLL CPLErrorReset();
|
|
197
|
+
int GTIF_DLL CPLGetLastErrorNo();
|
|
198
|
+
const char GTIF_DLL * CPLGetLastErrorMsg();
|
|
199
|
+
void GTIF_DLL CPLSetErrorHandler(void(*pfnErrorHandler)(CPLErr,int,
|
|
200
|
+
const char *));
|
|
201
|
+
void GTIF_DLL _CPLAssert( const char *, const char *, int );
|
|
202
|
+
|
|
203
|
+
#ifdef DEBUG
|
|
204
|
+
# define CPLAssert(expr) ((expr) ? (void)(0) : _CPLAssert(#expr,__FILE__,__LINE__))
|
|
205
|
+
#else
|
|
206
|
+
# define CPLAssert(expr)
|
|
207
|
+
#endif
|
|
208
|
+
|
|
209
|
+
CPL_C_END
|
|
210
|
+
|
|
211
|
+
/* ==================================================================== */
|
|
212
|
+
/* Well known error codes. */
|
|
213
|
+
/* ==================================================================== */
|
|
214
|
+
|
|
215
|
+
#define CPLE_AppDefined 1
|
|
216
|
+
#define CPLE_OutOfMemory 2
|
|
217
|
+
#define CPLE_FileIO 3
|
|
218
|
+
#define CPLE_OpenFailed 4
|
|
219
|
+
#define CPLE_IllegalArg 5
|
|
220
|
+
#define CPLE_NotSupported 6
|
|
221
|
+
#define CPLE_AssertionFailed 7
|
|
222
|
+
#define CPLE_NoWriteAccess 8
|
|
223
|
+
|
|
224
|
+
/*=====================================================================
|
|
225
|
+
Stringlist functions (strlist.c)
|
|
226
|
+
=====================================================================*/
|
|
227
|
+
CPL_C_START
|
|
228
|
+
|
|
229
|
+
#define CSLAddString gtCSLAddString
|
|
230
|
+
#define CSLCount gtCSLCount
|
|
231
|
+
#define CSLGetField gtCSLGetField
|
|
232
|
+
#define CSLDestroy gtCSLDestroy
|
|
233
|
+
#define CSLDuplicate gtCSLDuplicate
|
|
234
|
+
#define CSLTokenizeString gtCSLTokenizeString
|
|
235
|
+
#define CSLTokenizeStringComplex gtCSLTokenizeStringComplex
|
|
236
|
+
|
|
237
|
+
char GTIF_DLL **CSLAddString(char **papszStrList, const char *pszNewString);
|
|
238
|
+
int GTIF_DLL CSLCount(char **papszStrList);
|
|
239
|
+
const char GTIF_DLL *CSLGetField( char **, int );
|
|
240
|
+
void GTIF_DLL CSLDestroy(char **papszStrList);
|
|
241
|
+
char GTIF_DLL **CSLDuplicate(char **papszStrList);
|
|
242
|
+
|
|
243
|
+
char GTIF_DLL **CSLTokenizeString(const char *pszString );
|
|
244
|
+
char GTIF_DLL **CSLTokenizeStringComplex(const char *pszString,
|
|
245
|
+
const char *pszDelimiter,
|
|
246
|
+
int bHonourStrings, int bAllowEmptyTokens );
|
|
247
|
+
|
|
248
|
+
/*
|
|
249
|
+
* The following functions were used up to libgeotiff 1.4.X series, but
|
|
250
|
+
* are now no-operation, since there is no longer any CSV use in libgeotiff.
|
|
251
|
+
*/
|
|
252
|
+
#define SetCSVFilenameHook gtSetCSVFilenameHook
|
|
253
|
+
void GTIF_DLL SetCSVFilenameHook( const char *(*CSVFileOverride)(const char *) );
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
CPL_C_END
|
|
257
|
+
|
|
258
|
+
#endif /* ndef CPL_SERV_H_INCLUDED */
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* EPSG/POSC Datum database -- GeoTIFF Rev. 0.2
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* C database for Geotiff include files. */
|
|
6
|
+
/* the macro ValuePair() must be defined */
|
|
7
|
+
/* by the enclosing include file */
|
|
8
|
+
|
|
9
|
+
#ifdef INCLUDE_OLD_CODES
|
|
10
|
+
#include old_datum.inc
|
|
11
|
+
#endif /* OLD Codes */
|
|
12
|
+
|
|
13
|
+
/* New datums */
|
|
14
|
+
ValuePair(Datum_Dealul_Piscului_1970,6317)
|
|
15
|
+
|
|
16
|
+
/* Datums for which only the ellipsoid is known */
|
|
17
|
+
ValuePair(DatumE_Airy1830, 6001)
|
|
18
|
+
ValuePair(DatumE_AiryModified1849, 6002)
|
|
19
|
+
ValuePair(DatumE_AustralianNationalSpheroid, 6003)
|
|
20
|
+
ValuePair(DatumE_Bessel1841, 6004)
|
|
21
|
+
ValuePair(DatumE_BesselModified, 6005)
|
|
22
|
+
ValuePair(DatumE_BesselNamibia, 6006)
|
|
23
|
+
ValuePair(DatumE_Clarke1858, 6007)
|
|
24
|
+
ValuePair(DatumE_Clarke1866, 6008)
|
|
25
|
+
ValuePair(DatumE_Clarke1866Michigan, 6009)
|
|
26
|
+
ValuePair(DatumE_Clarke1880_Benoit, 6010)
|
|
27
|
+
ValuePair(DatumE_Clarke1880_IGN, 6011)
|
|
28
|
+
ValuePair(DatumE_Clarke1880_RGS, 6012)
|
|
29
|
+
ValuePair(DatumE_Clarke1880_Arc, 6013)
|
|
30
|
+
ValuePair(DatumE_Clarke1880_SGA1922, 6014)
|
|
31
|
+
ValuePair(DatumE_Everest1830_1937Adjustment, 6015)
|
|
32
|
+
ValuePair(DatumE_Everest1830_1967Definition, 6016)
|
|
33
|
+
ValuePair(DatumE_Everest1830_1975Definition, 6017)
|
|
34
|
+
ValuePair(DatumE_Everest1830Modified, 6018)
|
|
35
|
+
ValuePair(DatumE_GRS1980, 6019)
|
|
36
|
+
ValuePair(DatumE_Helmert1906, 6020)
|
|
37
|
+
ValuePair(DatumE_IndonesianNationalSpheroid, 6021)
|
|
38
|
+
ValuePair(DatumE_International1924, 6022)
|
|
39
|
+
ValuePair(DatumE_International1967, 6023)
|
|
40
|
+
ValuePair(DatumE_Krassowsky1960, 6024)
|
|
41
|
+
ValuePair(DatumE_NWL9D, 6025)
|
|
42
|
+
ValuePair(DatumE_NWL10D, 6026)
|
|
43
|
+
ValuePair(DatumE_Plessis1817, 6027)
|
|
44
|
+
ValuePair(DatumE_Struve1860, 6028)
|
|
45
|
+
ValuePair(DatumE_WarOffice, 6029)
|
|
46
|
+
ValuePair(DatumE_WGS84, 6030)
|
|
47
|
+
ValuePair(DatumE_GEM10C, 6031)
|
|
48
|
+
ValuePair(DatumE_OSU86F, 6032)
|
|
49
|
+
ValuePair(DatumE_OSU91A, 6033)
|
|
50
|
+
ValuePair(DatumE_Clarke1880, 6034)
|
|
51
|
+
ValuePair(DatumE_Sphere, 6035)
|
|
52
|
+
|
|
53
|
+
/* standard datums */
|
|
54
|
+
ValuePair(Datum_Adindan, 6201)
|
|
55
|
+
ValuePair(Datum_Australian_Geodetic_Datum_1966, 6202)
|
|
56
|
+
ValuePair(Datum_Australian_Geodetic_Datum_1984, 6203)
|
|
57
|
+
ValuePair(Datum_Ain_el_Abd_1970, 6204)
|
|
58
|
+
ValuePair(Datum_Afgooye, 6205)
|
|
59
|
+
ValuePair(Datum_Agadez, 6206)
|
|
60
|
+
ValuePair(Datum_Lisbon, 6207)
|
|
61
|
+
ValuePair(Datum_Aratu, 6208)
|
|
62
|
+
ValuePair(Datum_Arc_1950, 6209)
|
|
63
|
+
ValuePair(Datum_Arc_1960, 6210)
|
|
64
|
+
ValuePair(Datum_Batavia, 6211)
|
|
65
|
+
ValuePair(Datum_Barbados, 6212)
|
|
66
|
+
ValuePair(Datum_Beduaram, 6213)
|
|
67
|
+
ValuePair(Datum_Beijing_1954, 6214)
|
|
68
|
+
ValuePair(Datum_Reseau_National_Belge_1950, 6215)
|
|
69
|
+
ValuePair(Datum_Bermuda_1957, 6216)
|
|
70
|
+
ValuePair(Datum_Bern_1898, 6217)
|
|
71
|
+
ValuePair(Datum_Bogota, 6218)
|
|
72
|
+
ValuePair(Datum_Bukit_Rimpah, 6219)
|
|
73
|
+
ValuePair(Datum_Camacupa, 6220)
|
|
74
|
+
ValuePair(Datum_Campo_Inchauspe, 6221)
|
|
75
|
+
ValuePair(Datum_Cape, 6222)
|
|
76
|
+
ValuePair(Datum_Carthage, 6223)
|
|
77
|
+
ValuePair(Datum_Chua, 6224)
|
|
78
|
+
ValuePair(Datum_Corrego_Alegre, 6225)
|
|
79
|
+
ValuePair(Datum_Cote_d_Ivoire, 6226)
|
|
80
|
+
ValuePair(Datum_Deir_ez_Zor, 6227)
|
|
81
|
+
ValuePair(Datum_Douala, 6228)
|
|
82
|
+
ValuePair(Datum_Egypt_1907, 6229)
|
|
83
|
+
ValuePair(Datum_European_Datum_1950, 6230)
|
|
84
|
+
ValuePair(Datum_European_Datum_1987, 6231)
|
|
85
|
+
ValuePair(Datum_Fahud, 6232)
|
|
86
|
+
ValuePair(Datum_Gandajika_1970, 6233)
|
|
87
|
+
ValuePair(Datum_Garoua, 6234)
|
|
88
|
+
ValuePair(Datum_Guyane_Francaise, 6235)
|
|
89
|
+
ValuePair(Datum_Hu_Tzu_Shan, 6236)
|
|
90
|
+
ValuePair(Datum_Hungarian_Datum_1972, 6237)
|
|
91
|
+
ValuePair(Datum_Indonesian_Datum_1974, 6238)
|
|
92
|
+
ValuePair(Datum_Indian_1954, 6239)
|
|
93
|
+
ValuePair(Datum_Indian_1975, 6240)
|
|
94
|
+
ValuePair(Datum_Jamaica_1875, 6241)
|
|
95
|
+
ValuePair(Datum_Jamaica_1969, 6242)
|
|
96
|
+
ValuePair(Datum_Kalianpur, 6243)
|
|
97
|
+
ValuePair(Datum_Kandawala, 6244)
|
|
98
|
+
ValuePair(Datum_Kertau, 6245)
|
|
99
|
+
ValuePair(Datum_Kuwait_Oil_Company, 6246)
|
|
100
|
+
ValuePair(Datum_La_Canoa, 6247)
|
|
101
|
+
ValuePair(Datum_Provisional_S_American_Datum_1956, 6248)
|
|
102
|
+
ValuePair(Datum_Lake, 6249)
|
|
103
|
+
ValuePair(Datum_Leigon, 6250)
|
|
104
|
+
ValuePair(Datum_Liberia_1964, 6251)
|
|
105
|
+
ValuePair(Datum_Lome, 6252)
|
|
106
|
+
ValuePair(Datum_Luzon_1911, 6253)
|
|
107
|
+
ValuePair(Datum_Hito_XVIII_1963, 6254)
|
|
108
|
+
ValuePair(Datum_Herat_North, 6255)
|
|
109
|
+
ValuePair(Datum_Mahe_1971, 6256)
|
|
110
|
+
ValuePair(Datum_Makassar, 6257)
|
|
111
|
+
ValuePair(Datum_European_Reference_System_1989, 6258)
|
|
112
|
+
ValuePair(Datum_Malongo_1987, 6259)
|
|
113
|
+
ValuePair(Datum_Manoca, 6260)
|
|
114
|
+
ValuePair(Datum_Merchich, 6261)
|
|
115
|
+
ValuePair(Datum_Massawa, 6262)
|
|
116
|
+
ValuePair(Datum_Minna, 6263)
|
|
117
|
+
ValuePair(Datum_Mhast, 6264)
|
|
118
|
+
ValuePair(Datum_Monte_Mario, 6265)
|
|
119
|
+
ValuePair(Datum_M_poraloko, 6266)
|
|
120
|
+
ValuePair(Datum_North_American_Datum_1927, 6267)
|
|
121
|
+
ValuePair(Datum_NAD_Michigan, 6268)
|
|
122
|
+
ValuePair(Datum_North_American_Datum_1983, 6269)
|
|
123
|
+
ValuePair(Datum_Nahrwan_1967, 6270)
|
|
124
|
+
ValuePair(Datum_Naparima_1972, 6271)
|
|
125
|
+
ValuePair(Datum_New_Zealand_Geodetic_Datum_1949, 6272)
|
|
126
|
+
ValuePair(Datum_NGO_1948, 6273)
|
|
127
|
+
ValuePair(Datum_Datum_73, 6274)
|
|
128
|
+
ValuePair(Datum_Nouvelle_Triangulation_Francaise, 6275)
|
|
129
|
+
ValuePair(Datum_NSWC_9Z_2, 6276)
|
|
130
|
+
ValuePair(Datum_OSGB_1936, 6277)
|
|
131
|
+
ValuePair(Datum_OSGB_1970_SN, 6278)
|
|
132
|
+
ValuePair(Datum_OS_SN_1980, 6279)
|
|
133
|
+
ValuePair(Datum_Padang_1884, 6280)
|
|
134
|
+
ValuePair(Datum_Palestine_1923, 6281)
|
|
135
|
+
ValuePair(Datum_Pointe_Noire, 6282)
|
|
136
|
+
ValuePair(Datum_Geocentric_Datum_of_Australia_1994, 6283)
|
|
137
|
+
ValuePair(Datum_Pulkovo_1942, 6284)
|
|
138
|
+
ValuePair(Datum_Qatar, 6285)
|
|
139
|
+
ValuePair(Datum_Qatar_1948, 6286)
|
|
140
|
+
ValuePair(Datum_Qornoq, 6287)
|
|
141
|
+
ValuePair(Datum_Loma_Quintana, 6288)
|
|
142
|
+
ValuePair(Datum_Amersfoort, 6289)
|
|
143
|
+
ValuePair(Datum_RT38, 6290)
|
|
144
|
+
ValuePair(Datum_South_American_Datum_1969, 6291)
|
|
145
|
+
ValuePair(Datum_Sapper_Hill_1943, 6292)
|
|
146
|
+
ValuePair(Datum_Schwarzeck, 6293)
|
|
147
|
+
ValuePair(Datum_Segora, 6294)
|
|
148
|
+
ValuePair(Datum_Serindung, 6295)
|
|
149
|
+
ValuePair(Datum_Sudan, 6296)
|
|
150
|
+
ValuePair(Datum_Tananarive_1925, 6297)
|
|
151
|
+
ValuePair(Datum_Timbalai_1948, 6298)
|
|
152
|
+
ValuePair(Datum_TM65, 6299)
|
|
153
|
+
ValuePair(Datum_TM75, 6300)
|
|
154
|
+
ValuePair(Datum_Tokyo, 6301)
|
|
155
|
+
ValuePair(Datum_Trinidad_1903, 6302)
|
|
156
|
+
ValuePair(Datum_Trucial_Coast_1948, 6303)
|
|
157
|
+
ValuePair(Datum_Voirol_1875, 6304)
|
|
158
|
+
ValuePair(Datum_Voirol_Unifie_1960, 6305)
|
|
159
|
+
ValuePair(Datum_Bern_1938, 6306)
|
|
160
|
+
ValuePair(Datum_Nord_Sahara_1959, 6307)
|
|
161
|
+
ValuePair(Datum_Stockholm_1938, 6308)
|
|
162
|
+
ValuePair(Datum_Yacare, 6309)
|
|
163
|
+
ValuePair(Datum_Yoff, 6310)
|
|
164
|
+
ValuePair(Datum_Zanderij, 6311)
|
|
165
|
+
ValuePair(Datum_Militar_Geographische_Institut, 6312)
|
|
166
|
+
ValuePair(Datum_Reseau_National_Belge_1972, 6313)
|
|
167
|
+
ValuePair(Datum_Deutsche_Hauptdreiecksnetz, 6314)
|
|
168
|
+
ValuePair(Datum_Conakry_1905, 6315)
|
|
169
|
+
ValuePair(Datum_WGS72, 6322)
|
|
170
|
+
ValuePair(Datum_WGS72_Transit_Broadcast_Ephemeris, 6324)
|
|
171
|
+
ValuePair(Datum_WGS84, 6326)
|
|
172
|
+
ValuePair(Datum_Ancienne_Triangulation_Francaise, 6901)
|
|
173
|
+
ValuePair(Datum_Nord_de_Guerre, 6902)
|
|
174
|
+
/* end of list */
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* GeoTIFF Rev. 0.2 Ellipsoids
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* C database for Geotiff include files. */
|
|
6
|
+
/* the macro ValuePair() must be defined */
|
|
7
|
+
/* by the enclosing include file */
|
|
8
|
+
|
|
9
|
+
#ifdef INCLUDE_OLD_CODES
|
|
10
|
+
#include old_ellipse.inc
|
|
11
|
+
#endif /* OLD Codes */
|
|
12
|
+
|
|
13
|
+
ValuePair(Ellipse_Airy_1830, 7001)
|
|
14
|
+
ValuePair(Ellipse_Airy_Modified_1849, 7002)
|
|
15
|
+
ValuePair(Ellipse_Australian_National_Spheroid, 7003)
|
|
16
|
+
ValuePair(Ellipse_Bessel_1841, 7004)
|
|
17
|
+
ValuePair(Ellipse_Bessel_Modified, 7005)
|
|
18
|
+
ValuePair(Ellipse_Bessel_Namibia, 7006)
|
|
19
|
+
ValuePair(Ellipse_Clarke_1858, 7007)
|
|
20
|
+
ValuePair(Ellipse_Clarke_1866, 7008)
|
|
21
|
+
ValuePair(Ellipse_Clarke_1866_Michigan, 7009)
|
|
22
|
+
ValuePair(Ellipse_Clarke_1880_Benoit, 7010)
|
|
23
|
+
ValuePair(Ellipse_Clarke_1880_IGN, 7011)
|
|
24
|
+
ValuePair(Ellipse_Clarke_1880_RGS, 7012)
|
|
25
|
+
ValuePair(Ellipse_Clarke_1880_Arc, 7013)
|
|
26
|
+
ValuePair(Ellipse_Clarke_1880_SGA_1922, 7014)
|
|
27
|
+
ValuePair(Ellipse_Everest_1830_1937_Adjustment, 7015)
|
|
28
|
+
ValuePair(Ellipse_Everest_1830_1967_Definition, 7016)
|
|
29
|
+
ValuePair(Ellipse_Everest_1830_1975_Definition, 7017)
|
|
30
|
+
ValuePair(Ellipse_Everest_1830_Modified, 7018)
|
|
31
|
+
ValuePair(Ellipse_GRS_1980, 7019)
|
|
32
|
+
ValuePair(Ellipse_Helmert_1906, 7020)
|
|
33
|
+
ValuePair(Ellipse_Indonesian_National_Spheroid, 7021)
|
|
34
|
+
ValuePair(Ellipse_International_1924, 7022)
|
|
35
|
+
ValuePair(Ellipse_International_1967, 7023)
|
|
36
|
+
ValuePair(Ellipse_Krassowsky_1940, 7024)
|
|
37
|
+
ValuePair(Ellipse_NWL_9D, 7025)
|
|
38
|
+
ValuePair(Ellipse_NWL_10D, 7026)
|
|
39
|
+
ValuePair(Ellipse_Plessis_1817, 7027)
|
|
40
|
+
ValuePair(Ellipse_Struve_1860, 7028)
|
|
41
|
+
ValuePair(Ellipse_War_Office, 7029)
|
|
42
|
+
ValuePair(Ellipse_WGS_84, 7030)
|
|
43
|
+
ValuePair(Ellipse_GEM_10C, 7031)
|
|
44
|
+
ValuePair(Ellipse_OSU86F, 7032)
|
|
45
|
+
ValuePair(Ellipse_OSU91A, 7033)
|
|
46
|
+
ValuePair(Ellipse_Clarke_1880, 7034)
|
|
47
|
+
ValuePair(Ellipse_Sphere, 7035)
|
|
48
|
+
/* end of list */
|