1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
|
-- This file is hand generated.
--
-- NOTE: see also grid_alternatives_generated.sql for automatically generated
-- entries.
--
------------------------------------------------------
-- grid_packages
------------------------------------------------------
INSERT INTO grid_packages VALUES ('proj-datumgrid',
'Package with grids of general interest',
'https://download.osgeo.org/proj/proj-datumgrid-1.8.zip',
1,
1);
INSERT INTO grid_packages VALUES ('proj-datumgrid-north-america',
'Package with grids of interest for North-America',
'https://download.osgeo.org/proj/proj-datumgrid-north-america-1.1.zip',
1,
1);
INSERT INTO grid_packages VALUES ('proj-datumgrid-europe',
'Package with grids of interest for Europe',
'https://download.osgeo.org/proj/proj-datumgrid-europe-1.1.zip',
1,
1);
-- not released yet at the time of writing
INSERT INTO grid_packages VALUES ('proj-datumgrid-world',
'Package with grids of global extent (too large to be included in proj-datumgrid)',
'https://download.osgeo.org/proj/proj-datumgrid-world-1.0.zip',
1,
1);
------------------------------------------------------
-- grid_alternatives
------------------------------------------------------
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('null',
'null',
'CTable2',
'hgridshift',
0,
'proj-datumgrid',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('rgf93_ntf.gsb',
'ntf_r93.gsb', -- the PROJ grid is the reverse way of the EPSG one
'NTv2',
'hgridshift',
1,
'proj-datumgrid',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('NTv1_0.gsb',
'ntv1_can.dat',
'NTv1',
'hgridshift',
0,
'proj-datumgrid',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('NTv2_0.gsb',
'ntv2_0.gsb', -- just a case change
'NTv2',
'hgridshift',
0,
'proj-datumgrid-north-america',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('BETA2007.gsb',
'BETA2007.gsb', -- no change. Just document the package
'NTv2',
'hgridshift',
0,
'proj-datumgrid',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('nzgd2kgrid0005.gsb',
'nzgd2kgrid0005.gsb', -- no change. Just document the package
'NTv2',
'hgridshift',
0,
'proj-datumgrid',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('OSTN15_NTv2_OSGBtoETRS.gsb',
'OSTN15_NTv2_OSGBtoETRS.gsb', -- no change. Just document the package
'NTv2',
'hgridshift',
0,
'proj-datumgrid-europe',
NULL, NULL, NULL, NULL);
-- EGM models
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('WW15MGH.GRD',
'egm96_15.gtx',
'GTX',
'vgridshift',
1,
'proj-datumgrid',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('Und_min2.5x2.5_egm2008_isw=82_WGS84_TideFree.gz',
'egm08_25.gtx',
'GTX',
'vgridshift',
1,
'proj-datumgrid-world',
NULL, NULL, NULL, NULL);
-- Greenland height models
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('gr2000g.gri',
'gvr2000.gtx',
'GTX',
'vgridshift',
1,
'proj-datumgrid-north-america',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('ggeoid16.gri',
'gvr2016.gtx',
'GTX',
'vgridshift',
1,
'proj-datumgrid-north-america',
NULL, NULL, NULL, NULL);
-- Denmark height models
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('dvr90.gtx',
'dvr90.gtx', -- no change. Just document the package
'GTX',
'vgridshift',
0, -- do not reverse here as grid_transformation_custom does reference from VerticalCRS height to Geographic height
'proj-datumgrid-europe',
NULL, NULL, NULL, NULL);
INSERT INTO grid_alternatives(original_grid_name,
proj_grid_name,
proj_grid_format,
proj_method,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
VALUES ('dnn.gtx',
'dnn.gtx', -- no change. Just document the package
'GTX',
'vgridshift',
0, -- do not reverse here as grid_transformation_custom does reference from VerticalCRS height to Geographic height
'proj-datumgrid-europe',
NULL, NULL, NULL, NULL);
|