Passed
Branch master (b57997)
by Doug
12:41
created

Geographic3D   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 1587
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 218
dl 0
loc 1587
ccs 23
cts 23
cp 1
rs 10
c 1
b 0
f 0
wmc 7

3 Methods

Rating   Name   Duplication   Size   Complexity  
A fromSRID() 0 18 3
A getSupportedSRIDs() 0 9 3
A __construct() 0 12 1
1
<?php
2
/**
3
 * PHPCoord.
4
 *
5
 * @author Doug Wright
6
 */
7
declare(strict_types=1);
8
9
namespace PHPCoord\CoordinateReferenceSystem;
10
11
use function assert;
12
use function count;
13
use PHPCoord\CoordinateSystem\CoordinateSystem;
14
use PHPCoord\CoordinateSystem\Ellipsoidal;
15
use PHPCoord\Datum\Datum;
16
use PHPCoord\Exception\UnknownCoordinateReferenceSystemException;
17
use PHPCoord\Geometry\BoundingArea;
18
19
class Geographic3D extends Geographic
20
{
21
    use Geographic3DSRIDData;
22
    /**
23
     * ATRF2014
24
     * Extent: Australia including Lord Howe Island, Macquarie Islands, Ashmore and Cartier Islands, Christmas Island,
25
     * Cocos (Keeling) Islands, Norfolk Island. All onshore and offshore.
26
     */
27
    public const EPSG_ATRF2014 = 'urn:ogc:def:crs:EPSG::9308';
28
29
    /**
30
     * Australian Antarctic
31
     * Extent: Antarctica between 45°E and 136°E and between 142°E and 160°E - Australian sector.
32
     */
33
    public const EPSG_AUSTRALIAN_ANTARCTIC = 'urn:ogc:def:crs:EPSG::4931';
34
35
    /**
36
     * BDA2000
37
     * Extent: Bermuda - onshore and offshore.
38
     */
39
    public const EPSG_BDA2000 = 'urn:ogc:def:crs:EPSG::4887';
40
41
    /**
42
     * BGS2005
43
     * Extent: Bulgaria - onshore and offshore.
44
     * Adopted 2010-07-29.
45
     */
46
    public const EPSG_BGS2005 = 'urn:ogc:def:crs:EPSG::7797';
47
48
    /**
49
     * CGRS93
50
     * Extent: Cyprus - onshore.
51
     */
52
    public const EPSG_CGRS93 = 'urn:ogc:def:crs:EPSG::6310';
53
54
    /**
55
     * CHTRF95
56
     * Extent: Liechtenstein; Switzerland.
57
     * Referenced to ETRS89 at epoch 1993.0. For CRS used for topographic and cadastral purposes see CH1903+ (CRS code
58
     * 4150).
59
     */
60
    public const EPSG_CHTRF95 = 'urn:ogc:def:crs:EPSG::4933';
61
62
    /**
63
     * CIGD11
64
     * Extent: Cayman Islands - onshore and offshore. Includes Grand Cayman, Little Cayman and Cayman Brac.
65
     */
66
    public const EPSG_CIGD11 = 'urn:ogc:def:crs:EPSG::6134';
67
68
    /**
69
     * CR-SIRGAS
70
     * Extent: Costa Rica - onshore and offshore.
71
     * Replaces CR05 (CRS code 5364) from April 2018.
72
     */
73
    public const EPSG_CR_SIRGAS = 'urn:ogc:def:crs:EPSG::8906';
74
75
    /**
76
     * CR05
77
     * Extent: Costa Rica - onshore and offshore.
78
     * Replaced by CR-SIRGAS (CRS code 8906) from April 2018.
79
     */
80
    public const EPSG_CR05 = 'urn:ogc:def:crs:EPSG::5364';
81
82
    /**
83
     * Cadastre 1997
84
     * Extent: Mayotte - onshore.
85
     */
86
    public const EPSG_CADASTRE_1997 = 'urn:ogc:def:crs:EPSG::4472';
87
88
    /**
89
     * China Geodetic Coordinate System 2000
90
     * Extent: China - onshore and offshore.
91
     */
92
    public const EPSG_CHINA_GEODETIC_COORDINATE_SYSTEM_2000 = 'urn:ogc:def:crs:EPSG::4480';
93
94
    /**
95
     * DB_REF
96
     * Extent: Germany - onshore - states of Baden-Wurtemberg, Bayern, Berlin, Brandenburg, Bremen, Hamburg, Hessen,
97
     * Mecklenburg-Vorpommern, Niedersachsen, Nordrhein-Westfalen, Rheinland-Pfalz, Saarland, Sachsen, Sachsen-Anhalt,
98
     * Schleswig-Holstein, Thuringen.
99
     */
100
    public const EPSG_DB_REF = 'urn:ogc:def:crs:EPSG::5830';
101
102
    /**
103
     * DGN95
104
     * Extent: Indonesia - onshore and offshore.
105
     */
106
    public const EPSG_DGN95 = 'urn:ogc:def:crs:EPSG::4898';
107
108
    /**
109
     * DRUKREF 03
110
     * Extent: Bhutan.
111
     */
112
    public const EPSG_DRUKREF_03 = 'urn:ogc:def:crs:EPSG::5263';
113
114
    /**
115
     * EST97
116
     * Extent: Estonia - onshore and offshore.
117
     */
118
    public const EPSG_EST97 = 'urn:ogc:def:crs:EPSG::4935';
119
120
    /**
121
     * ETRF2000
122
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
123
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
124
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
125
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
126
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
127
     * of Man; Vatican City State.
128
     * Replaces ETRF97 (code 7929). On the publication of ETRF2005 (code 8399),  the EUREF Technical Working Group
129
     * recommended that ETRF2000 be the realization of ETRS89. ETRF2014 (code 8403) is technically superior to all
130
     * earlier realizations of ETRS89.
131
     */
132
    public const EPSG_ETRF2000 = 'urn:ogc:def:crs:EPSG::7931';
133
134
    /**
135
     * ETRF2000-PL
136
     * Extent: Poland - onshore and offshore.
137
     * Adopted from 2012-12-01.
138
     */
139
    public const EPSG_ETRF2000_PL = 'urn:ogc:def:crs:EPSG::9701';
140
141
    /**
142
     * ETRF2005
143
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
144
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
145
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
146
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
147
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
148
     * of Man; Vatican City State.
149
     * On publication in 2007 of this CRS, the EUREF Technical Working Group recommended that ETRF2000 (EPSG code 7931)
150
     * remained as the preferred realization of ETRS89. Replaced by ETRF2014 (code 8403).
151
     */
152
    public const EPSG_ETRF2005 = 'urn:ogc:def:crs:EPSG::8399';
153
154
    /**
155
     * ETRF2014
156
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
157
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
158
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
159
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
160
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
161
     * of Man; Vatican City State.
162
     * Replaces ETRF2005 (code 8399). ETRF2014 is technically superior to ETRF2000 but ETRF2000 and other previous
163
     * realizations may be preferred for backward compatibility reasons. Differences between ETRF2014 and ETRF2000 can
164
     * reach 7cm.
165
     */
166
    public const EPSG_ETRF2014 = 'urn:ogc:def:crs:EPSG::8403';
167
168
    /**
169
     * ETRF89
170
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
171
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
172
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
173
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
174
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
175
     * of Man; Vatican City State.
176
     * Replaced by ETRF90 (code 7917).
177
     */
178
    public const EPSG_ETRF89 = 'urn:ogc:def:crs:EPSG::7915';
179
180
    /**
181
     * ETRF90
182
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
183
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
184
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
185
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
186
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
187
     * of Man; Vatican City State.
188
     * Replaces ETRF89 (code 7915). Replaced by ETRF91 (code 7919).
189
     */
190
    public const EPSG_ETRF90 = 'urn:ogc:def:crs:EPSG::7917';
191
192
    /**
193
     * ETRF91
194
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
195
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
196
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
197
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
198
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
199
     * of Man; Vatican City State.
200
     * Replaces ETRF90 (code 7917). Replaced by ETRF92 (code 7921).
201
     */
202
    public const EPSG_ETRF91 = 'urn:ogc:def:crs:EPSG::7919';
203
204
    /**
205
     * ETRF92
206
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
207
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
208
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
209
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
210
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
211
     * of Man; Vatican City State.
212
     * Replaces ETRF91 (code 7919). Replaced by ETRF93 (code 7923).
213
     */
214
    public const EPSG_ETRF92 = 'urn:ogc:def:crs:EPSG::7921';
215
216
    /**
217
     * ETRF93
218
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
219
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
220
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
221
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
222
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
223
     * of Man; Vatican City State.
224
     * Replaces ETRF92 (code 7921). Replaced by ETRF94 (code 7925).
225
     */
226
    public const EPSG_ETRF93 = 'urn:ogc:def:crs:EPSG::7923';
227
228
    /**
229
     * ETRF94
230
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
231
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
232
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
233
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
234
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
235
     * of Man; Vatican City State.
236
     * Replaces ETRF93 (code 7923). Replaced by ETRF96 (code 7927).
237
     */
238
    public const EPSG_ETRF94 = 'urn:ogc:def:crs:EPSG::7925';
239
240
    /**
241
     * ETRF96
242
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
243
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
244
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
245
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
246
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
247
     * of Man; Vatican City State.
248
     * Replaces ETRF94 (code 7925). Replaced by ETRF97 (code 7929).
249
     */
250
    public const EPSG_ETRF96 = 'urn:ogc:def:crs:EPSG::7927';
251
252
    /**
253
     * ETRF97
254
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
255
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
256
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
257
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
258
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
259
     * of Man; Vatican City State.
260
     * Replaces ETRF96 (code 7927). Replaced by ETRF2000 (code 7931).
261
     */
262
    public const EPSG_ETRF97 = 'urn:ogc:def:crs:EPSG::7929';
263
264
    /**
265
     * ETRS89
266
     * Extent: Europe - onshore and offshore: Albania; Andorra; Austria; Belgium; Bosnia and Herzegovina; Bulgaria;
267
     * Croatia; Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France; Germany; Gibraltar; Greece; Hungary;
268
     * Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro;
269
     * Netherlands; North Macedonia; Norway including Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
270
     * Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United Kingdom (UK) including Channel Islands and Isle
271
     * of Man; Vatican City State.
272
     * Has been realized through ETRF89, ETRF90, ETRF91, ETRF92, ETRF93, ETRF94, ETRF96, ETRF97, ETRF2000, ETRF2005 and
273
     * ETRF2014. This 'ensemble' covers any or all of these realizations without distinction.
274
     */
275
    public const EPSG_ETRS89 = 'urn:ogc:def:crs:EPSG::4937';
276
277
    /**
278
     * FEH2010
279
     * Extent: Fehmarnbelt area of Denmark and Germany.
280
     */
281
    public const EPSG_FEH2010 = 'urn:ogc:def:crs:EPSG::5592';
282
283
    /**
284
     * GDA2020
285
     * Extent: Australia including Lord Howe Island, Macquarie Islands, Ashmore and Cartier Islands, Christmas Island,
286
     * Cocos (Keeling) Islands, Norfolk Island. All onshore and offshore.
287
     */
288
    public const EPSG_GDA2020 = 'urn:ogc:def:crs:EPSG::7843';
289
290
    /**
291
     * GDA94
292
     * Extent: Australia including Lord Howe Island, Macquarie Islands, Ashmore and Cartier Islands, Christmas Island,
293
     * Cocos (Keeling) Islands, Norfolk Island. All onshore and offshore.
294
     */
295
    public const EPSG_GDA94 = 'urn:ogc:def:crs:EPSG::4939';
296
297
    /**
298
     * GDBD2009
299
     * Extent: Brunei Darussalam - onshore and offshore.
300
     */
301
    public const EPSG_GDBD2009 = 'urn:ogc:def:crs:EPSG::5245';
302
303
    /**
304
     * GDM2000
305
     * Extent: Malaysia - onshore and offshore. Includes peninsular Malayasia, Sabah and Sarawak.
306
     */
307
    public const EPSG_GDM2000 = 'urn:ogc:def:crs:EPSG::4921';
308
309
    /**
310
     * GR96
311
     * Extent: Greenland - onshore and offshore.
312
     */
313
    public const EPSG_GR96 = 'urn:ogc:def:crs:EPSG::4909';
314
315
    /**
316
     * GSK-2011
317
     * Extent: Russian Federation - onshore and offshore.
318
     */
319
    public const EPSG_GSK_2011 = 'urn:ogc:def:crs:EPSG::7682';
320
321
    /**
322
     * HTRS96
323
     * Extent: Croatia - onshore and offshore.
324
     */
325
    public const EPSG_HTRS96 = 'urn:ogc:def:crs:EPSG::4889';
326
327
    /**
328
     * Hartebeesthoek94
329
     * Extent: Eswatini (Swaziland); Lesotho; South Africa - onshore and offshore.
330
     */
331
    public const EPSG_HARTEBEESTHOEK94 = 'urn:ogc:def:crs:EPSG::4941';
332
333
    /**
334
     * Hong Kong Geodetic CS
335
     * Extent: China - Hong Kong - onshore and offshore.
336
     * Locally sometimes referred to as ITRF96 or WGS 84, these are not strictly correct.
337
     */
338
    public const EPSG_HONG_KONG_GEODETIC_CS = 'urn:ogc:def:crs:EPSG::8426';
339
340
    /**
341
     * IG05 Intermediate CRS
342
     * Extent: Israel - onshore; Palestine Territory - onshore.
343
     * Intermediate system not used for spatial referencing - use IGD05 (CRS code 6979).
344
     */
345
    public const EPSG_IG05_INTERMEDIATE_CRS = 'urn:ogc:def:crs:EPSG::6982';
346
347
    /**
348
     * IG05/12 Intermediate CRS
349
     * Extent: Israel - onshore; Palestine Territory - onshore.
350
     * Intermediate system not used for spatial referencing - use IGD05/12 (CRS code 6986).
351
     */
352
    public const EPSG_IG05_12_INTERMEDIATE_CRS = 'urn:ogc:def:crs:EPSG::6989';
353
354
    /**
355
     * IGD05
356
     * Extent: Israel - onshore and offshore.
357
     * Replaced by IGD05/12 (CRS code 7138).
358
     */
359
    public const EPSG_IGD05 = 'urn:ogc:def:crs:EPSG::7135';
360
361
    /**
362
     * IGD05/12
363
     * Extent: Israel - onshore and offshore.
364
     * Replaces IGD05 (CRS code 7135).
365
     */
366
    public const EPSG_IGD05_12 = 'urn:ogc:def:crs:EPSG::7138';
367
368
    /**
369
     * IGM95
370
     * Extent: Italy - onshore and offshore; San Marino, Vatican City State.
371
     * Replaced by RDN2008 (CRS code 6705) from 2011-11-10.
372
     */
373
    public const EPSG_IGM95 = 'urn:ogc:def:crs:EPSG::4983';
374
375
    /**
376
     * IGRS
377
     * Extent: Iraq - onshore and offshore.
378
     */
379
    public const EPSG_IGRS = 'urn:ogc:def:crs:EPSG::3888';
380
381
    /**
382
     * IGS00
383
     * Extent: World.
384
     * Adopted by the International GNSS Service (IGS) from 2001-12-02 through 2004-01-10. Replaces IGS97, replaced by
385
     * IGb00 (CRS codes 9002 and 9008). For all practical purposes IGS00 is equivalent to ITRF2000.
386
     */
387
    public const EPSG_IGS00 = 'urn:ogc:def:crs:EPSG::9005';
388
389
    /**
390
     * IGS05
391
     * Extent: World.
392
     * Adopted by the International GNSS Service (IGS) from 2006-11-05 through 2011-04-16. Replaces IGb00, replaced by
393
     * IGS08 (CRS codes 9008 and 9013). For all practical purposes IGS05 is equivalent to ITRF2005.
394
     */
395
    public const EPSG_IGS05 = 'urn:ogc:def:crs:EPSG::9011';
396
397
    /**
398
     * IGS08
399
     * Extent: World.
400
     * Used for products from International GNSS Service (IGS) analysis centres from 2011-04-17 through 2012-10-06.
401
     * Replaces IGS05 (code 9011). Replaced by IGb08 (code 9016). For most practical purposes IGS08 is equivalent to
402
     * ITRF2008.
403
     */
404
    public const EPSG_IGS08 = 'urn:ogc:def:crs:EPSG::9013';
405
406
    /**
407
     * IGS14
408
     * Extent: World.
409
     * Used for products from the International GNSS Service (IGS) from 2017-01-29 to 2020-05-16. Replaces IGb08 (code
410
     * 9016), replaced by IGb14 (code 9379). For most practical purposes IGS14 is equivalent to ITRF2014.
411
     */
412
    public const EPSG_IGS14 = 'urn:ogc:def:crs:EPSG::9018';
413
414
    /**
415
     * IGS97
416
     * Extent: World.
417
     * Adopted by the International GNSS Service (IGS) from 2000-06-04 through 2001-12-01. Replaced by IGS00 (CRS code
418
     * 9005). For all practical purposes IGS97 is equivalent to ITRF97.
419
     */
420
    public const EPSG_IGS97 = 'urn:ogc:def:crs:EPSG::9002';
421
422
    /**
423
     * IGb00
424
     * Extent: World.
425
     * Adopted by the International GNSS Service (IGS) from 2004-01-11 through 2006-11-04. Replaces IGS00, replaced by
426
     * IGS05 (CRS codes 9005 and 9011). For all practical purposes IGb00 is equivalent to ITRF2000.
427
     */
428
    public const EPSG_IGB00 = 'urn:ogc:def:crs:EPSG::9008';
429
430
    /**
431
     * IGb08
432
     * Extent: World.
433
     * Adopted by the International GNSS Service (IGS) from 2012-10-07 through 2017-01-28. Replaces IGS08, replaced by
434
     * IGS14 (CRS codes 9013 and 9018). For all practical purposes IGb08 is equivalent to ITRF2008.
435
     */
436
    public const EPSG_IGB08 = 'urn:ogc:def:crs:EPSG::9016';
437
438
    /**
439
     * IGb14
440
     * Extent: World.
441
     * Used for products from the International GNSS Service (IGS) from 2020-05-17. Replaces IGS14 (code 9018). For
442
     * most practical purposes IGb14 is equivalent to ITRF2014.
443
     */
444
    public const EPSG_IGB14 = 'urn:ogc:def:crs:EPSG::9379';
445
446
    /**
447
     * IRENET95
448
     * Extent: Ireland - onshore. United Kingdom (UK) - Northern Ireland (Ulster) - onshore.
449
     */
450
    public const EPSG_IRENET95 = 'urn:ogc:def:crs:EPSG::4943';
451
452
    /**
453
     * ISN2004
454
     * Extent: Iceland - onshore and offshore.
455
     * Replaces ISN93 (CRS code 4945).
456
     */
457
    public const EPSG_ISN2004 = 'urn:ogc:def:crs:EPSG::5323';
458
459
    /**
460
     * ISN2016
461
     * Extent: Iceland - onshore and offshore.
462
     * Replaces ISN2004 (CRS code 5323) from September 2017.
463
     */
464
    public const EPSG_ISN2016 = 'urn:ogc:def:crs:EPSG::8085';
465
466
    /**
467
     * ISN93
468
     * Extent: Iceland - onshore and offshore.
469
     * Replaced by ISN2004 (CRS code 5323).
470
     */
471
    public const EPSG_ISN93 = 'urn:ogc:def:crs:EPSG::4945';
472
473
    /**
474
     * ITRF2000
475
     * Extent: World.
476
     * Replaces ITRF97 (code 7908). Replaced by ITRF2005 (code 7910).
477
     */
478
    public const EPSG_ITRF2000 = 'urn:ogc:def:crs:EPSG::7909';
479
480
    /**
481
     * ITRF2005
482
     * Extent: World.
483
     * Replaces ITRF2000 (code 7909). Replaced by ITRF2008 (code 7911).
484
     */
485
    public const EPSG_ITRF2005 = 'urn:ogc:def:crs:EPSG::7910';
486
487
    /**
488
     * ITRF2008
489
     * Extent: World.
490
     * Replaces ITRF2005 (code 7910). Replaced by ITRF2014 (code 7912).
491
     */
492
    public const EPSG_ITRF2008 = 'urn:ogc:def:crs:EPSG::7911';
493
494
    /**
495
     * ITRF2014
496
     * Extent: World.
497
     * Replaces ITRF2008 (code 7911).
498
     */
499
    public const EPSG_ITRF2014 = 'urn:ogc:def:crs:EPSG::7912';
500
501
    /**
502
     * ITRF88
503
     * Extent: World.
504
     * Replaced by ITRF89 (code 7901).
505
     */
506
    public const EPSG_ITRF88 = 'urn:ogc:def:crs:EPSG::7900';
507
508
    /**
509
     * ITRF89
510
     * Extent: World.
511
     * Replaces ITRF88 (code 7900). Replaced by ITRF90 (code 7902).
512
     */
513
    public const EPSG_ITRF89 = 'urn:ogc:def:crs:EPSG::7901';
514
515
    /**
516
     * ITRF90
517
     * Extent: World.
518
     * Replaces ITRF89 (code 7901). Replaced by ITRF91 (code 7903).
519
     */
520
    public const EPSG_ITRF90 = 'urn:ogc:def:crs:EPSG::7902';
521
522
    /**
523
     * ITRF91
524
     * Extent: World.
525
     * Replaces ITRF90 (code 7902). Replaced by ITRF92 (code 7904).
526
     */
527
    public const EPSG_ITRF91 = 'urn:ogc:def:crs:EPSG::7903';
528
529
    /**
530
     * ITRF92
531
     * Extent: World.
532
     * Replaces ITRF91 (code 7903). Replaced by ITRF93 (code 7905).
533
     */
534
    public const EPSG_ITRF92 = 'urn:ogc:def:crs:EPSG::7904';
535
536
    /**
537
     * ITRF93
538
     * Extent: World.
539
     * Replaces ITRF92 (code 7904). Replaced by ITRF94 (code 7906).
540
     */
541
    public const EPSG_ITRF93 = 'urn:ogc:def:crs:EPSG::7905';
542
543
    /**
544
     * ITRF94
545
     * Extent: World.
546
     * Replaces ITRF93 (code 7905). Replaced by ITRF96 (code 7907).
547
     */
548
    public const EPSG_ITRF94 = 'urn:ogc:def:crs:EPSG::7906';
549
550
    /**
551
     * ITRF96
552
     * Extent: World.
553
     * Replaces ITRF94 (code 7906). Replaced by ITRF97 (code 7908).
554
     */
555
    public const EPSG_ITRF96 = 'urn:ogc:def:crs:EPSG::7907';
556
557
    /**
558
     * ITRF97
559
     * Extent: World.
560
     * Replaces ITRF96 (code 7907). Replaced by ITRF2000 (code 7909).
561
     */
562
    public const EPSG_ITRF97 = 'urn:ogc:def:crs:EPSG::7908';
563
564
    /**
565
     * JAD2001
566
     * Extent: Jamaica - onshore and offshore. Includes Morant Cays and Pedro Cays.
567
     */
568
    public const EPSG_JAD2001 = 'urn:ogc:def:crs:EPSG::4895';
569
570
    /**
571
     * JGD2000
572
     * Extent: Japan - onshore and offshore.
573
     * From 21st October 2011 replaced by JGD2011 (CRS code 6667).
574
     */
575
    public const EPSG_JGD2000 = 'urn:ogc:def:crs:EPSG::4947';
576
577
    /**
578
     * JGD2011
579
     * Extent: Japan - onshore and offshore.
580
     * Replaces JGD2000 (CRS code 4947) with effect from 21st October 2011.
581
     */
582
    public const EPSG_JGD2011 = 'urn:ogc:def:crs:EPSG::6667';
583
584
    /**
585
     * KOSOVAREF01
586
     * Extent: Kosovo.
587
     */
588
    public const EPSG_KOSOVAREF01 = 'urn:ogc:def:crs:EPSG::9139';
589
590
    /**
591
     * KSA-GRF17
592
     * Extent: Saudi Arabia - onshore and offshore.
593
     */
594
    public const EPSG_KSA_GRF17 = 'urn:ogc:def:crs:EPSG::9332';
595
596
    /**
597
     * Korea 2000
598
     * Extent: Republic of Korea (South Korea) - onshore and offshore.
599
     */
600
    public const EPSG_KOREA_2000 = 'urn:ogc:def:crs:EPSG::4927';
601
602
    /**
603
     * Kyrg-06
604
     * Extent: Kyrgyzstan.
605
     */
606
    public const EPSG_KYRG_06 = 'urn:ogc:def:crs:EPSG::7685';
607
608
    /**
609
     * LGD2006
610
     * Extent: Libya - onshore and offshore.
611
     */
612
    public const EPSG_LGD2006 = 'urn:ogc:def:crs:EPSG::4900';
613
614
    /**
615
     * LKS92
616
     * Extent: Latvia - onshore and offshore.
617
     */
618
    public const EPSG_LKS92 = 'urn:ogc:def:crs:EPSG::4949';
619
620
    /**
621
     * LKS94
622
     * Extent: Lithuania - onshore and offshore.
623
     */
624
    public const EPSG_LKS94 = 'urn:ogc:def:crs:EPSG::4951';
625
626
    /**
627
     * LTF2004(G)
628
     * Extent: France and Italy - on or related to the rail route from Lyon to Turin.
629
     */
630
    public const EPSG_LTF2004_G = 'urn:ogc:def:crs:EPSG::9546';
631
632
    /**
633
     * Lao 1993
634
     * Extent: Laos.
635
     * Replaced by Lao 1997. Lao 1993 coordinate values are within 1m of Lao 1997 values.
636
     */
637
    public const EPSG_LAO_1993 = 'urn:ogc:def:crs:EPSG::4991';
638
639
    /**
640
     * Lao 1997
641
     * Extent: Laos.
642
     * Replaces Lao 1993. Lao 1993 coordinate values are within 1m of Lao 1997 values.
643
     */
644
    public const EPSG_LAO_1997 = 'urn:ogc:def:crs:EPSG::4993';
645
646
    /**
647
     * MACARIO SOLIS
648
     * Extent: Panama - onshore and offshore.
649
     * Densification of SIRGAS 2000 within Panama.
650
     */
651
    public const EPSG_MACARIO_SOLIS = 'urn:ogc:def:crs:EPSG::5370';
652
653
    /**
654
     * MAGNA-SIRGAS
655
     * Extent: Colombia - onshore and offshore. Includes San Andres y Providencia, Malpelo Islands, Roncador Bank,
656
     * Serrana Bank and Serranilla Bank.
657
     */
658
    public const EPSG_MAGNA_SIRGAS = 'urn:ogc:def:crs:EPSG::4997';
659
660
    /**
661
     * MARGEN
662
     * Extent: Bolivia.
663
     */
664
    public const EPSG_MARGEN = 'urn:ogc:def:crs:EPSG::5353';
665
666
    /**
667
     * MGI
668
     * Extent: Austria.
669
     * Created retrospectively to support geoid model based on Bessel ellipsoid.
670
     */
671
    public const EPSG_MGI = 'urn:ogc:def:crs:EPSG::9267';
672
673
    /**
674
     * MOLDREF99
675
     * Extent: Moldova.
676
     */
677
    public const EPSG_MOLDREF99 = 'urn:ogc:def:crs:EPSG::4017';
678
679
    /**
680
     * MTRF-2000
681
     * Extent: Saudi Arabia - onshore and offshore.
682
     */
683
    public const EPSG_MTRF_2000 = 'urn:ogc:def:crs:EPSG::8817';
684
685
    /**
686
     * Macao 2008
687
     * Extent: China - Macao - onshore and offshore.
688
     * Locally sometimes referred to as ITRF2005, this is not strictly correct.
689
     */
690
    public const EPSG_MACAO_2008 = 'urn:ogc:def:crs:EPSG::8430';
691
692
    /**
693
     * Mauritania 1999
694
     * Extent: Mauritania - onshore and offshore.
695
     */
696
    public const EPSG_MAURITANIA_1999 = 'urn:ogc:def:crs:EPSG::4925';
697
698
    /**
699
     * Mexico ITRF2008
700
     * Extent: Mexico - onshore and offshore.
701
     * Replaces Mexico ITRF92 (CRS code 4482) from December 2010.
702
     */
703
    public const EPSG_MEXICO_ITRF2008 = 'urn:ogc:def:crs:EPSG::6364';
704
705
    /**
706
     * Mexico ITRF92
707
     * Extent: Mexico - onshore and offshore.
708
     * Replaced by Mexico ITRF2008 (CRS code 6364) from December 2010.
709
     */
710
    public const EPSG_MEXICO_ITRF92 = 'urn:ogc:def:crs:EPSG::4482';
711
712
    /**
713
     * Moznet
714
     * Extent: Mozambique - onshore and offshore.
715
     */
716
    public const EPSG_MOZNET = 'urn:ogc:def:crs:EPSG::4953';
717
718
    /**
719
     * NAD83(2011)
720
     * Extent: Puerto Rico - onshore and offshore. United States (USA) onshore and offshore - Alabama; Alaska; Arizona;
721
     * Arkansas; California; Colorado; Connecticut; Delaware; Florida; Georgia; Idaho; Illinois; Indiana; Iowa; Kansas;
722
     * Kentucky; Louisiana; Maine; Maryland; Massachusetts; Michigan; Minnesota; Mississippi; Missouri; Montana;
723
     * Nebraska; Nevada; New Hampshire; New Jersey; New Mexico; New York; North Carolina; North Dakota; Ohio; Oklahoma;
724
     * Oregon; Pennsylvania; Rhode Island; South Carolina; South Dakota; Tennessee; Texas; Utah; Vermont; Virginia;
725
     * Washington; West Virginia; Wisconsin; Wyoming. US Virgin Islands - onshore and offshore.
726
     * Note: this CRS includes longitudes which are POSITIVE EAST. Replaces NAD83(CORS96) and NAD83(NSRS2007) (CRS
727
     * codes 6782 and 4893).
728
     */
729
    public const EPSG_NAD83_2011 = 'urn:ogc:def:crs:EPSG::6319';
730
731
    /**
732
     * NAD83(CORS96)
733
     * Extent: Puerto Rico - onshore and offshore. United States (USA) onshore and offshore - Alabama; Alaska; Arizona;
734
     * Arkansas; California; Colorado; Connecticut; Delaware; Florida; Georgia; Idaho; Illinois; Indiana; Iowa; Kansas;
735
     * Kentucky; Louisiana; Maine; Maryland; Massachusetts; Michigan; Minnesota; Mississippi; Missouri; Montana;
736
     * Nebraska; Nevada; New Hampshire; New Jersey; New Mexico; New York; North Carolina; North Dakota; Ohio; Oklahoma;
737
     * Oregon; Pennsylvania; Rhode Island; South Carolina; South Dakota; Tennessee; Texas; Utah; Vermont; Virginia;
738
     * Washington; West Virginia; Wisconsin; Wyoming. US Virgin Islands - onshore and offshore.
739
     * Note: this CRS includes POSITIVE EAST longitudes. Replaced by NAD83(2011) (CRS code 6319) from 2011-09-06.
740
     */
741
    public const EPSG_NAD83_CORS96 = 'urn:ogc:def:crs:EPSG::6782';
742
743
    /**
744
     * NAD83(CSRS)
745
     * Extent: Canada - onshore and offshore - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and
746
     * Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan;
747
     * Yukon.
748
     * Includes all versions of NAD83(CSRS) from v2 [CSRS98] onwards without specific identification. As such it has an
749
     * accuracy of approximately 1m. Note: this CRS includes longitudes which are POSITIVE EAST.
750
     */
751
    public const EPSG_NAD83_CSRS = 'urn:ogc:def:crs:EPSG::4955';
752
753
    /**
754
     * NAD83(CSRS)v2
755
     * Extent: Canada - onshore and offshore - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and
756
     * Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan;
757
     * Yukon.
758
     * Adopted by the Canadian federal government from 1998-01-01 and by the provincial governments of British
759
     * Columbia, New Brunswick, Prince Edward Island and Quebec. Replaces NAD83(CSRS96). Replaced by NAD83(CSRS)v3
760
     * (code 8239). Longitudes are POSITIVE EAST.
761
     */
762
    public const EPSG_NAD83_CSRS_V2 = 'urn:ogc:def:crs:EPSG::8235';
763
764
    /**
765
     * NAD83(CSRS)v3
766
     * Extent: Canada - onshore and offshore - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and
767
     * Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan;
768
     * Yukon.
769
     * Adopted by the Canadian federal government from 1999-01-01 and by the provincial governments of Alberta, British
770
     * Columbia, Manitoba, Newfoundland and Labrador, Nova Scotia, Ontario and Saskatchewan. Replaces NAD83(CSRS)v2.
771
     * Replaced by NAD83(CSRS)v4.
772
     */
773
    public const EPSG_NAD83_CSRS_V3 = 'urn:ogc:def:crs:EPSG::8239';
774
775
    /**
776
     * NAD83(CSRS)v4
777
     * Extent: Canada - onshore and offshore - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and
778
     * Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan;
779
     * Yukon.
780
     * Adopted by the Canadian federal government from 2002-01-01 and by the provincial governments of Alberta and
781
     * British Columbia. Replaces NAD83(CSRS)v3. Replaced by NAD83(CSRS)v5 (CRS code 8248). Longitudes are POSITIVE
782
     * EAST.
783
     */
784
    public const EPSG_NAD83_CSRS_V4 = 'urn:ogc:def:crs:EPSG::8244';
785
786
    /**
787
     * NAD83(CSRS)v5
788
     * Extent: Canada - onshore and offshore - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and
789
     * Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan;
790
     * Yukon.
791
     * Adopted by the Canadian federal government from 2006-01-01. Replaces NAD83(CSRS)v4. Replaced by NAD83(CSRS)v6.
792
     * Longitudes are POSITIVE EAST.
793
     */
794
    public const EPSG_NAD83_CSRS_V5 = 'urn:ogc:def:crs:EPSG::8248';
795
796
    /**
797
     * NAD83(CSRS)v6
798
     * Extent: Canada - onshore and offshore - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and
799
     * Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan;
800
     * Yukon.
801
     * Adopted by the Canadian federal government from 2010-01-01 and the provincial governments of Alberta, British
802
     * Columbia, Manitoba, Newfoundland and Labrador, Nova Scotia, Ontario and Prince Edward Island. Replaces
803
     * NAD83(CSRS)v5. Replaced by NAD83(CSRS)v7.
804
     */
805
    public const EPSG_NAD83_CSRS_V6 = 'urn:ogc:def:crs:EPSG::8251';
806
807
    /**
808
     * NAD83(CSRS)v7
809
     * Extent: Canada - onshore and offshore - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and
810
     * Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan;
811
     * Yukon.
812
     * Adopted by the Canadian federal government from 2017-05-01. Replaces NAD83(CSRS)v6. Longitudes are POSITIVE
813
     * EAST.
814
     */
815
    public const EPSG_NAD83_CSRS_V7 = 'urn:ogc:def:crs:EPSG::8254';
816
817
    /**
818
     * NAD83(CSRS96)
819
     * Extent: Canada - onshore and offshore - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and
820
     * Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan;
821
     * Yukon.
822
     * Adopted by the Canadian federal government from 1996-01-01. Replaced by NAD83(CSRS)v2 (CRS code 8235). Note:
823
     * this CRS includes longitudes which are POSITIVE EAST.
824
     */
825
    public const EPSG_NAD83_CSRS96 = 'urn:ogc:def:crs:EPSG::8231';
826
827
    /**
828
     * NAD83(FBN)
829
     * Extent: American Samoa - Tutuila, Aunu'u, Ofu, Olesega, Ta'u and Rose islands - onshore. Guam - onshore.
830
     * Northern Mariana Islands - onshore. Puerto Rico - onshore. United States (USA) - CONUS - Alabama; Arizona;
831
     * Arkansas; California; Colorado; Connecticut; Delaware; Florida; Georgia; Idaho; Illinois; Indiana; Iowa; Kansas;
832
     * Kentucky; Louisiana; Maine; Maryland; Massachusetts; Michigan; Minnesota; Mississippi; Missouri; Montana;
833
     * Nebraska; Nevada; New Hampshire; New Jersey; New Mexico; New York; North Carolina; North Dakota; Ohio; Oklahoma;
834
     * Oregon; Pennsylvania; Rhode Island; South Carolina; South Dakota; Tennessee; Texas; Utah; Vermont; Virginia;
835
     * Washington; West Virginia; Wisconsin; Wyoming - onshore plus Gulf of Mexico offshore continental shelf (GoM
836
     * OCS). US Virgin Islands - onshore.
837
     * Continental US, American Samoa, Guam/NMI and PRVI, replaces NAD83(HARN). In Continental US, Puerto Rico and US
838
     * Virgin Islands replaced by NAD83(NSRS2007). In American Samoa and Hawaii replaced by NAD83(PA11). In Guam/NMI
839
     * replaced by NAD83(MA11).
840
     */
841
    public const EPSG_NAD83_FBN = 'urn:ogc:def:crs:EPSG::8542';
842
843
    /**
844
     * NAD83(HARN Corrected)
845
     * Extent: Puerto Rico and US Virgin Islands - onshore.
846
     * Note: this CRS includes POSITIVE EAST longitudes. In PRVI replaces NAD83(HARN) = NAD83(1993 PRVI) to correct
847
     * errors. Replaced by NAD83(FBN) = NAD83(2002 PRVI).
848
     */
849
    public const EPSG_NAD83_HARN_CORRECTED = 'urn:ogc:def:crs:EPSG::8544';
850
851
    /**
852
     * NAD83(HARN)
853
     * Extent: American Samoa - onshore - Tutuila, Aunu'u, Ofu, Olesega, Ta'u and Rose islands. Guam - onshore.
854
     * Northern Mariana Islands - onshore. Puerto Rico - onshore. United States (USA) - onshore Alabama, Alaska,
855
     * Arizona, Arkansas, California, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois,
856
     * Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi,
857
     * Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North
858
     * Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee, Texas,
859
     * Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin and Wyoming; offshore Gulf of Mexico continental
860
     * shelf (GoM OCS). US Virgin Islands - onshore.
861
     * In CONUS and Hawaii replaces NAD83 for applications with an accuracy of better than 1m. Replaced by NAD83(FBN)
862
     * in CONUS, American Samoa and Guam / NMI, by NAD83(NSRS2007) in Alaska, by NAD83(PA11) in Hawaii and by
863
     * NAD83(HARN Corrected) in PRVI.
864
     */
865
    public const EPSG_NAD83_HARN = 'urn:ogc:def:crs:EPSG::4957';
866
867
    /**
868
     * NAD83(MA11)
869
     * Extent: Guam, Northern Mariana Islands and Palau; onshore and offshore.
870
     * Note: this CRS includes longitudes which are POSITIVE EAST. Replaces NAD83(HARN) (GGN93) and NAD83(FBN) in Guam.
871
     */
872
    public const EPSG_NAD83_MA11 = 'urn:ogc:def:crs:EPSG::6324';
873
874
    /**
875
     * NAD83(MARP00)
876
     * Extent: Guam, Northern Mariana Islands and Palau; onshore and offshore.
877
     * Replaces NAD83(HARN) (GGN93) and NAD83(FBN) in Guam. Replaced by NAD83(MA11).
878
     */
879
    public const EPSG_NAD83_MARP00 = 'urn:ogc:def:crs:EPSG::9071';
880
881
    /**
882
     * NAD83(NSRS2007)
883
     * Extent: Puerto Rico - onshore and offshore. United States (USA) onshore and offshore - Alabama; Alaska; Arizona;
884
     * Arkansas; California; Colorado; Connecticut; Delaware; Florida; Georgia; Idaho; Illinois; Indiana; Iowa; Kansas;
885
     * Kentucky; Louisiana; Maine; Maryland; Massachusetts; Michigan; Minnesota; Mississippi; Missouri; Montana;
886
     * Nebraska; Nevada; New Hampshire; New Jersey; New Mexico; New York; North Carolina; North Dakota; Ohio; Oklahoma;
887
     * Oregon; Pennsylvania; Rhode Island; South Carolina; South Dakota; Tennessee; Texas; Utah; Vermont; Virginia;
888
     * Washington; West Virginia; Wisconsin; Wyoming. US Virgin Islands - onshore and offshore.
889
     * Note: this CRS includes longitudes which are POSITIVE EAST. Replaces NAD83(HARN) and NAD83(FBN). Replaced by
890
     * NAD83(2011).
891
     */
892
    public const EPSG_NAD83_NSRS2007 = 'urn:ogc:def:crs:EPSG::4893';
893
894
    /**
895
     * NAD83(PA11)
896
     * Extent: American Samoa, Marshall Islands, United States (USA) - Hawaii, United States minor outlying islands;
897
     * onshore and offshore.
898
     * Note: this CRS includes longitudes which are POSITIVE EAST. Replaces NAD83(HARN) and NAD83(FBN) in Hawaii and
899
     * American Samoa.
900
     */
901
    public const EPSG_NAD83_PA11 = 'urn:ogc:def:crs:EPSG::6321';
902
903
    /**
904
     * NAD83(PACP00)
905
     * Extent: American Samoa, Marshall Islands, United States (USA) - Hawaii, United States minor outlying islands;
906
     * onshore and offshore.
907
     * Replaces NAD83(HARN) and NAD83(FBN) in Hawaii and American Samoa. Replaced by NAD83(PA11).
908
     */
909
    public const EPSG_NAD83_PACP00 = 'urn:ogc:def:crs:EPSG::9074';
910
911
    /**
912
     * NZGD2000
913
     * Extent: New Zealand - onshore and offshore. Includes Antipodes Islands, Auckland Islands, Bounty Islands,
914
     * Chatham Islands, Cambell Island, Kermadec Islands, Raoul Island and Snares Islands.
915
     */
916
    public const EPSG_NZGD2000 = 'urn:ogc:def:crs:EPSG::4959';
917
918
    /**
919
     * ONGD14
920
     * Extent: Oman - onshore and offshore.
921
     * In Oman replaces usage of WGS 84 (G873) from 2014. Replaced by ONGD17 (CRS code 9293) from March 2019.
922
     */
923
    public const EPSG_ONGD14 = 'urn:ogc:def:crs:EPSG::7372';
924
925
    /**
926
     * ONGD17
927
     * Extent: Oman - onshore and offshore.
928
     * Replaces ONGD14 (CRS code 7372) from March 2019.
929
     */
930
    public const EPSG_ONGD17 = 'urn:ogc:def:crs:EPSG::9293';
931
932
    /**
933
     * PNG94
934
     * Extent: Papua New Guinea - onshore and offshore. Includes Bismark archipelago, Louisade archipelago, Admiralty
935
     * Islands, d'Entrecasteaux Islands, northern Solomon Islands, Trobriand Islands, New Britain, New Ireland,
936
     * Woodlark, and associated islands.
937
     */
938
    public const EPSG_PNG94 = 'urn:ogc:def:crs:EPSG::5545';
939
940
    /**
941
     * POSGAR 2007
942
     * Extent: Argentina - onshore and offshore.
943
     * Adopted as official replacement of POSGAR 94 in May 2009.   Also replaces de facto use of POSGAR 98 as of same
944
     * date.
945
     */
946
    public const EPSG_POSGAR_2007 = 'urn:ogc:def:crs:EPSG::5342';
947
948
    /**
949
     * POSGAR 94
950
     * Extent: Argentina - onshore and offshore.
951
     * Legally adopted in May 1997. Replaced by POSGAR 98 for scientific and many practical purposes until May 2009.
952
     * Officially replaced by POSGAR 2007 in May 2009.
953
     */
954
    public const EPSG_POSGAR_94 = 'urn:ogc:def:crs:EPSG::4929';
955
956
    /**
957
     * POSGAR 98
958
     * Extent: Argentina - onshore and offshore.
959
     * Densification in Argentina of SIRGAS 1995. Until May 2009 replaced POSGAR 94 for many practical purposes (but
960
     * not as the legal system).  POSGAR 94 was officially replaced by POSGAR 2007 in May 2009.
961
     */
962
    public const EPSG_POSGAR_98 = 'urn:ogc:def:crs:EPSG::4961';
963
964
    /**
965
     * PRS92
966
     * Extent: Philippines - onshore and offshore.
967
     */
968
    public const EPSG_PRS92 = 'urn:ogc:def:crs:EPSG::4995';
969
970
    /**
971
     * PTRA08
972
     * Extent: Portugal - Azores and Madeira island groups and surrounding EEZ - Flores, Corvo; Graciosa, Terceira, Sao
973
     * Jorge, Pico, Faial; Sao Miguel, Santa Maria; Madeira, Porto Santo, Desertas; Selvagens.
974
     */
975
    public const EPSG_PTRA08 = 'urn:ogc:def:crs:EPSG::5012';
976
977
    /**
978
     * PZ-90
979
     * Extent: World.
980
     * Replaced by PZ-90.02 from 2007-09-20.
981
     */
982
    public const EPSG_PZ_90 = 'urn:ogc:def:crs:EPSG::4923';
983
984
    /**
985
     * PZ-90.02
986
     * Extent: World.
987
     * Replaces PZ-90 (CRS code 4923) from 2007-09-20. Replaced by PZ-90.11 (CRS code 7680) from 2014-01-15.
988
     */
989
    public const EPSG_PZ_90_02 = 'urn:ogc:def:crs:EPSG::7678';
990
991
    /**
992
     * PZ-90.11
993
     * Extent: World.
994
     * Replaces PZ-90.02 (CRS code 7678) from 2014-01-15.
995
     */
996
    public const EPSG_PZ_90_11 = 'urn:ogc:def:crs:EPSG::7680';
997
998
    /**
999
     * Peru96
1000
     * Extent: Peru - onshore and offshore.
1001
     */
1002
    public const EPSG_PERU96 = 'urn:ogc:def:crs:EPSG::5372';
1003
1004
    /**
1005
     * RDN2008
1006
     * Extent: Italy - onshore and offshore; San Marino, Vatican City State.
1007
     * Replaces IGM95 (CRS code 4983) from 2011-11-10.
1008
     */
1009
    public const EPSG_RDN2008 = 'urn:ogc:def:crs:EPSG::6705';
1010
1011
    /**
1012
     * REDGEOMIN
1013
     * Extent: Chile - onshore and offshore. Includes Easter Island, Juan Fernandez Islands, San Felix, and Sala y
1014
     * Gomez.
1015
     */
1016
    public const EPSG_REDGEOMIN = 'urn:ogc:def:crs:EPSG::9695';
1017
1018
    /**
1019
     * REGCAN95
1020
     * Extent: Spain - Canary Islands onshore and offshore.
1021
     */
1022
    public const EPSG_REGCAN95 = 'urn:ogc:def:crs:EPSG::4080';
1023
1024
    /**
1025
     * REGVEN
1026
     * Extent: Venezuela - onshore and offshore.
1027
     * Densification in Venezuela of SIRGAS.
1028
     */
1029
    public const EPSG_REGVEN = 'urn:ogc:def:crs:EPSG::4963';
1030
1031
    /**
1032
     * RGAF09
1033
     * Extent: French Antilles onshore and offshore - Guadeloupe (including Grande Terre, Basse Terre, Marie Galante,
1034
     * Les Saintes, Iles de la Petite Terre, La Desirade, St Barthélemy, and northern St Martin) and Martinique.
1035
     * Replaces RRAF 1991 (CRS code 4557). See CRS code 7085 for alternate system with horizontal axes reversed used by
1036
     * IGN for GIS purposes.
1037
     */
1038
    public const EPSG_RGAF09 = 'urn:ogc:def:crs:EPSG::5488';
1039
1040
    /**
1041
     * RGAF09 (lon-lat)
1042
     * Extent: French Antilles onshore and offshore - Guadeloupe (including Grande Terre, Basse Terre, Marie Galante,
1043
     * Les Saintes, Iles de la Petite Terre, La Desirade, St Barthélemy, and northern St Martin) and Martinique.
1044
     * Replaces RRAF 1991 (CRS code 4557). See CRS code 5488 for system with horizontal axes in sequence lat-lon to be
1045
     * used for air, land and sea navigation and safety of life purposes.
1046
     */
1047
    public const EPSG_RGAF09_LON_LAT = 'urn:ogc:def:crs:EPSG::7085';
1048
1049
    /**
1050
     * RGF93
1051
     * Extent: France - onshore and offshore, mainland and Corsica.
1052
     * See CRS code 7042 for alternate system with horizontal axes reversed used by IGN for GIS purposes.
1053
     */
1054
    public const EPSG_RGF93 = 'urn:ogc:def:crs:EPSG::4965';
1055
1056
    /**
1057
     * RGF93 (lon-lat)
1058
     * Extent: France - onshore and offshore, mainland and Corsica.
1059
     * See CRS code 4965 for system with horizontal axes in sequence lat-lon to be used for air, land and sea
1060
     * navigation and safety of life purposes.
1061
     */
1062
    public const EPSG_RGF93_LON_LAT = 'urn:ogc:def:crs:EPSG::7042';
1063
1064
    /**
1065
     * RGFG95
1066
     * Extent: French Guiana - onshore and offshore.
1067
     * See CRS code 7040 for alternate system with horizontal axes reversed used by IGN for GIS purposes.
1068
     */
1069
    public const EPSG_RGFG95 = 'urn:ogc:def:crs:EPSG::4967';
1070
1071
    /**
1072
     * RGFG95 (lon-lat)
1073
     * Extent: French Guiana - onshore and offshore.
1074
     * See CRS code 4967 for system with horizontal axes in sequence lat-lon to be used for air, land and sea
1075
     * navigation and safety of life purposes.
1076
     */
1077
    public const EPSG_RGFG95_LON_LAT = 'urn:ogc:def:crs:EPSG::7040';
1078
1079
    /**
1080
     * RGM04
1081
     * Extent: Mayotte - onshore and offshore.
1082
     * See CRS code 7038 for alternate system with horizontal axes reversed used by IGN for GIS purposes.
1083
     */
1084
    public const EPSG_RGM04 = 'urn:ogc:def:crs:EPSG::4469';
1085
1086
    /**
1087
     * RGM04 (lon-lat)
1088
     * Extent: Mayotte - onshore and offshore.
1089
     * See CRS code 4469 for system with horizontal axes in sequence lat-lon to be used for air, land and sea
1090
     * navigation and safety of life purposes.
1091
     */
1092
    public const EPSG_RGM04_LON_LAT = 'urn:ogc:def:crs:EPSG::7038';
1093
1094
    /**
1095
     * RGNC91-93
1096
     * Extent: New Caledonia - onshore and offshore. Isle de Pins, Loyalty Islands, Huon Islands, Belep archipelago,
1097
     * Chesterfield Islands, and Walpole.
1098
     * Replaces older local 2D systems IGN56 Lifou, IGN72 Grande Terre, ST87 Ouvea, IGN53 Mare, ST84 Ile des Pins, ST71
1099
     * Belep and NEA74 Noumea (CRS codes 4633, 4641-44, 4662 and 4750).
1100
     */
1101
    public const EPSG_RGNC91_93 = 'urn:ogc:def:crs:EPSG::4907';
1102
1103
    /**
1104
     * RGPF
1105
     * Extent: French Polynesia - onshore and offshore. Includes Society archipelago, Tuamotu archipelago, Marquesas
1106
     * Islands, Gambier Islands and Austral Islands.
1107
     */
1108
    public const EPSG_RGPF = 'urn:ogc:def:crs:EPSG::4999';
1109
1110
    /**
1111
     * RGR92
1112
     * Extent: Reunion - onshore and offshore.
1113
     * See CRS code 7036 for alternate system with horizontal axes reversed used by IGN for GIS purposes.
1114
     */
1115
    public const EPSG_RGR92 = 'urn:ogc:def:crs:EPSG::4971';
1116
1117
    /**
1118
     * RGR92 (lon-lat)
1119
     * Extent: Reunion - onshore and offshore.
1120
     * See CRS code 4971 for system with horizontal axes in sequence lat-lon to be used for air, land and sea
1121
     * navigation and safety of life purposes.
1122
     */
1123
    public const EPSG_RGR92_LON_LAT = 'urn:ogc:def:crs:EPSG::7036';
1124
1125
    /**
1126
     * RGRDC 2005
1127
     * Extent: The Democratic Republic of the Congo (Zaire) - south of a line through Bandundu, Seke and Pweto -
1128
     * onshore and offshore.
1129
     */
1130
    public const EPSG_RGRDC_2005 = 'urn:ogc:def:crs:EPSG::4040';
1131
1132
    /**
1133
     * RGSPM06
1134
     * Extent: St Pierre and Miquelon - onshore and offshore.
1135
     * See CRS code 7034 for alternate system with horizontal axes reversed used by IGN for GIS purposes.
1136
     */
1137
    public const EPSG_RGSPM06 = 'urn:ogc:def:crs:EPSG::4466';
1138
1139
    /**
1140
     * RGSPM06 (lon-lat)
1141
     * Extent: St Pierre and Miquelon - onshore and offshore.
1142
     * See CRS code 4466 for system with horizontal axes in sequence lat-lon to be used for air, land and sea
1143
     * navigation and safety of life purposes.
1144
     */
1145
    public const EPSG_RGSPM06_LON_LAT = 'urn:ogc:def:crs:EPSG::7034';
1146
1147
    /**
1148
     * RGTAAF07
1149
     * Extent: French Southern Territories - onshore and offshore: Amsterdam and St Paul, Crozet, Europa and Kerguelen.
1150
     * Antarctica - Adelie Land coastal area.
1151
     * See CRS code 7087 for alternate system with horizontal axes reversed used by IGN for GIS purposes.
1152
     */
1153
    public const EPSG_RGTAAF07 = 'urn:ogc:def:crs:EPSG::7072';
1154
1155
    /**
1156
     * RGTAAF07 (lon-lat)
1157
     * Extent: French Southern Territories - onshore and offshore: Amsterdam and St Paul, Crozet, Europa and Kerguelen.
1158
     * Antarctica - Adelie Land coastal area.
1159
     * See CRS code 7072 for alternate system with horizontal axes in sequence lat-lon to be used for air, land and sea
1160
     * navigation purposes.
1161
     */
1162
    public const EPSG_RGTAAF07_LON_LAT = 'urn:ogc:def:crs:EPSG::7087';
1163
1164
    /**
1165
     * RGWF96
1166
     * Extent: Wallis and Futuna - onshore and offshore - Uvea, Futuna, and Alofi.
1167
     * See CRS code 8901 for alternate system with horizontal axes reversed used by IGN for GIS purposes.
1168
     */
1169
    public const EPSG_RGWF96 = 'urn:ogc:def:crs:EPSG::8899';
1170
1171
    /**
1172
     * RGWF96 (lon-lat)
1173
     * Extent: Wallis and Futuna - onshore and offshore - Uvea, Futuna, and Alofi.
1174
     * See CRS code 8899 for system with horizontal axes in sequence lat-lon to be used for air, land and sea
1175
     * navigation and safety of life purposes.
1176
     */
1177
    public const EPSG_RGWF96_LON_LAT = 'urn:ogc:def:crs:EPSG::8901';
1178
1179
    /**
1180
     * RRAF 1991
1181
     * Extent: French Antilles onshore and offshore - Guadeloupe (including Grande Terre, Basse Terre, Marie Galante,
1182
     * Les Saintes, Iles de la Petite Terre, La Desirade, St Barthélemy, and northern St Martin) and Martinique.
1183
     * Replaces older local 2D systems Fort Marigot and Sainte Anne CRS (codes 4621-22) in Guadeloupe and Fort Desaix
1184
     * (CRS code 4625) in Martinique. Replaced by RGAF09 (CRS code 5488).
1185
     */
1186
    public const EPSG_RRAF_1991 = 'urn:ogc:def:crs:EPSG::4557';
1187
1188
    /**
1189
     * RSAO13
1190
     * Extent: Angola - onshore and offshore.
1191
     */
1192
    public const EPSG_RSAO13 = 'urn:ogc:def:crs:EPSG::8698';
1193
1194
    /**
1195
     * RSRGD2000
1196
     * Extent: Antarctica - Ross Sea Region - nominally between 160°E and 150°W but includes buffer on eastern
1197
     * hemisphere margin to include Transantarctic Mountains.
1198
     */
1199
    public const EPSG_RSRGD2000 = 'urn:ogc:def:crs:EPSG::4885';
1200
1201
    /**
1202
     * SHGD2015
1203
     * Extent: St Helena, Ascension and Tristan da Cunha - St Helena Island - onshore.
1204
     * Closely aligned to SHGD2015 (CRS code xxxx) with difference attributable to different reference epoch and 10 cm
1205
     * difference in ellipsoid height.
1206
     */
1207
    public const EPSG_SHGD2015 = 'urn:ogc:def:crs:EPSG::7885';
1208
1209
    /**
1210
     * SIRGAS 1995
1211
     * Extent: South America - onshore and offshore. Ecuador (mainland and Galapagos) - onshore and offshore.
1212
     * Replaced by SIRGAS 2000 (CRS code 4989).
1213
     */
1214
    public const EPSG_SIRGAS_1995 = 'urn:ogc:def:crs:EPSG::4975';
1215
1216
    /**
1217
     * SIRGAS 2000
1218
     * Extent: Latin America - Central America and South America - onshore and offshore. Brazil - onshore and offshore.
1219
     * Replaces SIRGAS 1995 system (CRS code 4975) for South America; expands SIRGAS to Central America.
1220
     */
1221
    public const EPSG_SIRGAS_2000 = 'urn:ogc:def:crs:EPSG::4989';
1222
1223
    /**
1224
     * SIRGAS-CON DGF00P01
1225
     * Extent: Latin America - Central America and South America, onshore and offshore.
1226
     * Replaced by SIRGAS-CON DGF01P01 (CRS code 8918).
1227
     */
1228
    public const EPSG_SIRGAS_CON_DGF00P01 = 'urn:ogc:def:crs:EPSG::8916';
1229
1230
    /**
1231
     * SIRGAS-CON DGF01P01
1232
     * Extent: Latin America - Central America and South America, onshore and offshore.
1233
     * Replaces SIRGAS-CON DGF00P01 (CRS code 8916). Replaced by SIRGAS-CON DGF01P02 (CRS code 8920).
1234
     */
1235
    public const EPSG_SIRGAS_CON_DGF01P01 = 'urn:ogc:def:crs:EPSG::8918';
1236
1237
    /**
1238
     * SIRGAS-CON DGF01P02
1239
     * Extent: Latin America - Central America and South America, onshore and offshore.
1240
     * Replaces SIRGAS-CON DGF01P01 (CRS code 8918). Replaced by SIRGAS-CON DGF02P01 (CRS code 8922).
1241
     */
1242
    public const EPSG_SIRGAS_CON_DGF01P02 = 'urn:ogc:def:crs:EPSG::8920';
1243
1244
    /**
1245
     * SIRGAS-CON DGF02P01
1246
     * Extent: Latin America - Central America and South America, onshore and offshore.
1247
     * Replaces SIRGAS-CON DGF01P02 (CRS code 8920). Replaced by SIRGAS-CON DGF04P01 (CRS code 8924).
1248
     */
1249
    public const EPSG_SIRGAS_CON_DGF02P01 = 'urn:ogc:def:crs:EPSG::8922';
1250
1251
    /**
1252
     * SIRGAS-CON DGF04P01
1253
     * Extent: Latin America - Central America and South America, onshore and offshore.
1254
     * Replaces SIRGAS-CON DGF02P01 (CRS code 8922). Replaced by SIRGAS-CON DGF05P01 (CRS code 8926).
1255
     */
1256
    public const EPSG_SIRGAS_CON_DGF04P01 = 'urn:ogc:def:crs:EPSG::8924';
1257
1258
    /**
1259
     * SIRGAS-CON DGF05P01
1260
     * Extent: Latin America - Central America and South America, onshore and offshore.
1261
     * Replaces SIRGAS-CON DGF04P01 (CRS code 8924). Replaced by SIRGAS-CON DGF06P01 (CRS code 8928).
1262
     */
1263
    public const EPSG_SIRGAS_CON_DGF05P01 = 'urn:ogc:def:crs:EPSG::8926';
1264
1265
    /**
1266
     * SIRGAS-CON DGF06P01
1267
     * Extent: Latin America - Central America and South America, onshore and offshore.
1268
     * Replaces SIRGAS-CON DGF05P01 (CRS code 8926). Replaced by SIRGAS-CON DGF07P01 (CRS code 8930).
1269
     */
1270
    public const EPSG_SIRGAS_CON_DGF06P01 = 'urn:ogc:def:crs:EPSG::8928';
1271
1272
    /**
1273
     * SIRGAS-CON DGF07P01
1274
     * Extent: Latin America - Central America and South America, onshore and offshore.
1275
     * Replaces SIRGAS-CON DGF06P01 (CRS code 8928). Replaced by SIRGAS-CON DGF08P01 (CRS code 8932).
1276
     */
1277
    public const EPSG_SIRGAS_CON_DGF07P01 = 'urn:ogc:def:crs:EPSG::8930';
1278
1279
    /**
1280
     * SIRGAS-CON DGF08P01
1281
     * Extent: Latin America - Central America and South America, onshore and offshore.
1282
     * Replaces SIRGAS-CON DGF07P01 (CRS code 8930). Replaced by SIRGAS-CON SIR09P01 (CRS code 8934).
1283
     */
1284
    public const EPSG_SIRGAS_CON_DGF08P01 = 'urn:ogc:def:crs:EPSG::8932';
1285
1286
    /**
1287
     * SIRGAS-CON SIR09P01
1288
     * Extent: Latin America - Central America and South America, onshore and offshore.
1289
     * Replaces SIRGAS-CON DGF08P01 (CRS code 8932). Replaced by SIRGAS-CON SIR10P01 (CRS code 8936).
1290
     */
1291
    public const EPSG_SIRGAS_CON_SIR09P01 = 'urn:ogc:def:crs:EPSG::8934';
1292
1293
    /**
1294
     * SIRGAS-CON SIR10P01
1295
     * Extent: Latin America - Central America and South America, onshore and offshore.
1296
     * Replaces SIRGAS-CON SIR09P01 (CRS code 8934). Replaced by SIRGAS-CON SIR11P01 (CRS code 8938).
1297
     */
1298
    public const EPSG_SIRGAS_CON_SIR10P01 = 'urn:ogc:def:crs:EPSG::8936';
1299
1300
    /**
1301
     * SIRGAS-CON SIR11P01
1302
     * Extent: Latin America - Central America and South America, onshore and offshore.
1303
     * Replaces SIRGAS-CON SIR10P01 (CRS code 8936). Replaced by SIRGAS-CON SIR13P01 (CRS code 8940).
1304
     */
1305
    public const EPSG_SIRGAS_CON_SIR11P01 = 'urn:ogc:def:crs:EPSG::8938';
1306
1307
    /**
1308
     * SIRGAS-CON SIR13P01
1309
     * Extent: Latin America - Central America and South America, onshore and offshore.
1310
     * Replaces SIRGAS-CON SIR11P01 (CRS code 8938). Replaced by SIRGAS-CON SIR14P01 (CRS code 8942).
1311
     */
1312
    public const EPSG_SIRGAS_CON_SIR13P01 = 'urn:ogc:def:crs:EPSG::8940';
1313
1314
    /**
1315
     * SIRGAS-CON SIR14P01
1316
     * Extent: Latin America - Central America and South America, onshore and offshore.
1317
     * Replaces SIRGAS-CON SIR13P01 (CRS code 8940). Replaced by SIRGAS-CON SIR15P01 (CRS code 8944).
1318
     */
1319
    public const EPSG_SIRGAS_CON_SIR14P01 = 'urn:ogc:def:crs:EPSG::8942';
1320
1321
    /**
1322
     * SIRGAS-CON SIR15P01
1323
     * Extent: Latin America - Central America and South America, onshore and offshore.
1324
     * Replaces SIRGAS-CON SIR14P01 (CRS code 8942). Replaced by SIRGAS-CON SIR17P01 (CRS code 8946).
1325
     */
1326
    public const EPSG_SIRGAS_CON_SIR15P01 = 'urn:ogc:def:crs:EPSG::8944';
1327
1328
    /**
1329
     * SIRGAS-CON SIR17P01
1330
     * Extent: Latin America - Central America and South America, onshore and offshore.
1331
     * Replaces SIRGAS-CON SIR15P01 (CRS code 8944).
1332
     */
1333
    public const EPSG_SIRGAS_CON_SIR17P01 = 'urn:ogc:def:crs:EPSG::8946';
1334
1335
    /**
1336
     * SIRGAS-Chile 2002
1337
     * Extent: Chile - onshore and offshore. Includes Easter Island, Juan Fernandez Islands, San Felix, and Sala y
1338
     * Gomez.
1339
     * Densification of SIRGAS 2000 within Chile. Replaced by SIRGAS-Chile 2010 (CRS code 8948).
1340
     */
1341
    public const EPSG_SIRGAS_CHILE_2002 = 'urn:ogc:def:crs:EPSG::5359';
1342
1343
    /**
1344
     * SIRGAS-Chile 2010
1345
     * Extent: Chile - onshore and offshore. Includes Easter Island, Juan Fernandez Islands, San Felix, and Sala y
1346
     * Gomez.
1347
     * Densification of SIRGAS-CON within Chile at epoch 2010.00. Replaces SIRGAS-Chile 2002 (CRS code 5359), replaced
1348
     * by SIRGAS-Chile 2013 (CRS code 9147) due to significant tectonic deformation.
1349
     */
1350
    public const EPSG_SIRGAS_CHILE_2010 = 'urn:ogc:def:crs:EPSG::8948';
1351
1352
    /**
1353
     * SIRGAS-Chile 2013
1354
     * Extent: Chile - onshore and offshore. Includes Easter Island, Juan Fernandez Islands, San Felix, and Sala y
1355
     * Gomez.
1356
     * Densification of SIRGAS-CON within Chile at epoch 2013.00. Replaces SIRGAS-Chile 2010 (CRS code 8948), replaced
1357
     * by SIRGAS-Chile 2016 (CRS code 9152) due to significant tectonic deformation.
1358
     */
1359
    public const EPSG_SIRGAS_CHILE_2013 = 'urn:ogc:def:crs:EPSG::9147';
1360
1361
    /**
1362
     * SIRGAS-Chile 2016
1363
     * Extent: Chile - onshore and offshore. Includes Easter Island, Juan Fernandez Islands, San Felix, and Sala y
1364
     * Gomez.
1365
     * Densification of SIRGAS-CON within Chile at epoch 2016.00. Replaces SIRGAS-Chile 2013 (CRS code 9147) due to
1366
     * significant tectonic deformation.
1367
     */
1368
    public const EPSG_SIRGAS_CHILE_2016 = 'urn:ogc:def:crs:EPSG::9152';
1369
1370
    /**
1371
     * SIRGAS-ROU98
1372
     * Extent: Uruguay - onshore and offshore.
1373
     * Densification of SIRGAS 1995 in Uruguay.
1374
     */
1375
    public const EPSG_SIRGAS_ROU98 = 'urn:ogc:def:crs:EPSG::5380';
1376
1377
    /**
1378
     * SIRGAS_ES2007.8
1379
     * Extent: El Salvador - onshore and offshore.
1380
     * Densification of SIRGAS 2000 within El Salvador.
1381
     */
1382
    public const EPSG_SIRGAS_ES2007_8 = 'urn:ogc:def:crs:EPSG::5392';
1383
1384
    /**
1385
     * SRB_ETRS89
1386
     * Extent: Serbia including Vojvodina.
1387
     * Replaces SREF98 (CRS code 4074).
1388
     */
1389
    public const EPSG_SRB_ETRS89 = 'urn:ogc:def:crs:EPSG::8684';
1390
1391
    /**
1392
     * SREF98
1393
     * Extent: Serbia including Vojvodina.
1394
     * Replaced by SRB_ETRS89 (STRS00) (CRS code 8684).
1395
     */
1396
    public const EPSG_SREF98 = 'urn:ogc:def:crs:EPSG::4074';
1397
1398
    /**
1399
     * SRGI2013
1400
     * Extent: Indonesia - onshore and offshore.
1401
     * Supports horizontal component of national horizontal control network (JKHN). Adopted 2013-10-11. Replaces DGN95
1402
     * and all older systems.
1403
     */
1404
    public const EPSG_SRGI2013 = 'urn:ogc:def:crs:EPSG::9469';
1405
1406
    /**
1407
     * SWEREF99
1408
     * Extent: Sweden - onshore and offshore.
1409
     */
1410
    public const EPSG_SWEREF99 = 'urn:ogc:def:crs:EPSG::4977';
1411
1412
    /**
1413
     * Slovenia 1996
1414
     * Extent: Slovenia - onshore and offshore.
1415
     */
1416
    public const EPSG_SLOVENIA_1996 = 'urn:ogc:def:crs:EPSG::4883';
1417
1418
    /**
1419
     * St. Helena Tritan
1420
     * Extent: St Helena, Ascension and Tristan da Cunha - St Helena Island - onshore.
1421
     * Closely aligned to SHGD2015 (CRS code 7885) with difference attributable to different reference epoch and 10 cm
1422
     * difference in ellipsoid height. Replaced by SHGD2015 from 2015.
1423
     */
1424
    public const EPSG_ST_HELENA_TRITAN = 'urn:ogc:def:crs:EPSG::7880';
1425
1426
    /**
1427
     * TGD2005
1428
     * Extent: Tonga - onshore and offshore.
1429
     */
1430
    public const EPSG_TGD2005 = 'urn:ogc:def:crs:EPSG::5885';
1431
1432
    /**
1433
     * TUREF
1434
     * Extent: Turkey - onshore and offshore.
1435
     */
1436
    public const EPSG_TUREF = 'urn:ogc:def:crs:EPSG::5251';
1437
1438
    /**
1439
     * TWD97
1440
     * Extent: Taiwan, Republic of China - onshore and offshore - Taiwan Island, Penghu (Pescadores) Islands.
1441
     */
1442
    public const EPSG_TWD97 = 'urn:ogc:def:crs:EPSG::3823';
1443
1444
    /**
1445
     * UCS-2000
1446
     * Extent: Ukraine - onshore and offshore.
1447
     * Adopted 1st January 2007.
1448
     */
1449
    public const EPSG_UCS_2000 = 'urn:ogc:def:crs:EPSG::5560';
1450
1451
    /**
1452
     * WGS 66
1453
     * Extent: World.
1454
     * Replaced by WGS 72.
1455
     */
1456
    public const EPSG_WGS_66 = 'urn:ogc:def:crs:EPSG::4891';
1457
1458
    /**
1459
     * WGS 72
1460
     * Extent: World.
1461
     * Replaced by WGS 84.
1462
     */
1463
    public const EPSG_WGS_72 = 'urn:ogc:def:crs:EPSG::4985';
1464
1465
    /**
1466
     * WGS 72BE
1467
     * Extent: World.
1468
     * Broadcast ephemeris. Replaced by WGS 84.
1469
     */
1470
    public const EPSG_WGS_72BE = 'urn:ogc:def:crs:EPSG::4987';
1471
1472
    /**
1473
     * WGS 84
1474
     * Extent: World: Afghanistan, Albania, Algeria, American Samoa, Andorra, Angola, Anguilla, Antarctica, Antigua and
1475
     * Barbuda, Argentina, Armenia, Aruba, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados,
1476
     * Belgium, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Bonaire, Saint Eustasius and Saba, Bosnia and
1477
     * Herzegovina, Botswana, Bouvet Island, Brazil, British Indian Ocean Territory, British Virgin Islands, Brunei
1478
     * Darussalam, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Cayman Islands, Central
1479
     * African Republic, Chad, Chile, China, Christmas Island, Cocos (Keeling) Islands, Comoros, Congo, Cook Islands,
1480
     * Costa Rica, Côte d'Ivoire (Ivory Coast), Croatia, Cuba, Curacao, Cyprus, Czechia, Denmark, Djibouti, Dominica,
1481
     * Dominican Republic, East Timor, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Eswatini
1482
     * (Swaziland), Ethiopia, Falkland Islands (Malvinas), Faroe Islands, Fiji, Finland, France, French Guiana, French
1483
     * Polynesia, French Southern Territories, Gabon, Gambia, Georgia, Germany, Ghana, Gibraltar, Greece, Greenland,
1484
     * Grenada, Guadeloupe, Guam, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Heard Island and McDonald Islands,
1485
     * Holy See (Vatican City State), Honduras, China - Hong Kong, Hungary, Iceland, India, Indonesia, Islamic Republic
1486
     * of Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Democratic People's
1487
     * Republic of Korea (North Korea), Republic of Korea (South Korea), Kosovo, Kuwait, Kyrgyzstan, Lao People's
1488
     * Democratic Republic (Laos), Latvia, Lebanon, Lesotho, Liberia, Libyan Arab Jamahiriya, Liechtenstein, Lithuania,
1489
     * Luxembourg, China - Macao, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshall Islands, Martinique,
1490
     * Mauritania, Mauritius, Mayotte, Mexico, Federated States of Micronesia, Monaco, Mongolia, Montenegro,
1491
     * Montserrat, Morocco, Mozambique, Myanmar (Burma), Namibia, Nauru, Nepal, Netherlands, New Caledonia, New
1492
     * Zealand, Nicaragua, Niger, Nigeria, Niue, Norfolk Island, North Macedonia, Northern Mariana Islands, Norway,
1493
     * Oman, Pakistan, Palau, Panama, Papua New Guinea (PNG), Paraguay, Peru, Philippines, Pitcairn, Poland, Portugal,
1494
     * Puerto Rico, Qatar, Reunion, Romania, Russian Federation, Rwanda, Saint Kitts and Nevis, Saint Helena, Ascension
1495
     * and Tristan da Cunha, Saint Lucia, Saint Pierre and Miquelon, Saint Vincent and the Grenadines, Samoa, San
1496
     * Marino, Sao Tome and Principe, Saudi Arabia, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Slovakia
1497
     * (Slovak Republic), Slovenia, Sint Maarten, Solomon Islands, Somalia, South Africa, South Georgia and the South
1498
     * Sandwich Islands, South Sudan, Spain, Sri Lanka, Sudan, Suriname, Svalbard and Jan Mayen, Sweden, Switzerland,
1499
     * Syrian Arab Republic, Taiwan, Tajikistan, United Republic of Tanzania, Thailand, The Democratic Republic of the
1500
     * Congo (Zaire), Togo, Tokelau, Tonga, Trinidad and Tobago, Tunisia, Turkey, Turkmenistan, Turks and Caicos
1501
     * Islands, Tuvalu, Uganda, Ukraine, United Arab Emirates (UAE), United Kingdom (UK), United States (USA), United
1502
     * States Minor Outlying Islands, Uruguay, Uzbekistan, Vanuatu, Venezuela, Vietnam, US Virgin Islands, Wallis and
1503
     * Futuna, Western Sahara, Yemen, Zambia, Zimbabwe.
1504
     */
1505
    public const EPSG_WGS_84 = 'urn:ogc:def:crs:EPSG::4979';
1506
1507
    /**
1508
     * WGS 84 (G1150)
1509
     * Extent: World.
1510
     * Replaces  WGS 84 (G873) (CRS code 7659) from 2002-01-20. Replaced by WGS 84 (G1674) (CRS code 7663) from
1511
     * 2012-02-08.
1512
     */
1513
    public const EPSG_WGS_84_G1150 = 'urn:ogc:def:crs:EPSG::7661';
1514
1515
    /**
1516
     * WGS 84 (G1674)
1517
     * Extent: World.
1518
     * Replaces WGS 84 (G1150) (CRS code 7661) from 2012-02-08. Replaced by WGS 84 (G1762) (CRS code 7665) from
1519
     * 2013-10-16.
1520
     */
1521
    public const EPSG_WGS_84_G1674 = 'urn:ogc:def:crs:EPSG::7663';
1522
1523
    /**
1524
     * WGS 84 (G1762)
1525
     * Extent: World.
1526
     * Replaces WGS 84 (G1674) (CRS code 7663) from 2013-10-16.
1527
     */
1528
    public const EPSG_WGS_84_G1762 = 'urn:ogc:def:crs:EPSG::7665';
1529
1530
    /**
1531
     * WGS 84 (G730)
1532
     * Extent: World.
1533
     * Replaces WGS 84 (Transit) (CRS code 7816) from 1994-06-29. Replaced by WGS84 (G873) (CRS code 7659) from
1534
     * 1997-01-29.
1535
     */
1536
    public const EPSG_WGS_84_G730 = 'urn:ogc:def:crs:EPSG::7657';
1537
1538
    /**
1539
     * WGS 84 (G873)
1540
     * Extent: World.
1541
     * Replaces WGS 84 (G730) (CRS code 7657) from 1997-01-29. Replaced by WGS 84 (G1150) (CRS code 7661) from
1542
     * 2002-01-20.
1543
     */
1544
    public const EPSG_WGS_84_G873 = 'urn:ogc:def:crs:EPSG::7659';
1545
1546
    /**
1547
     * WGS 84 (Transit)
1548
     * Extent: World.
1549
     * Replaced by WGS84 (G730) (CRS code 7657) from 1994-06-29.
1550
     */
1551
    public const EPSG_WGS_84_TRANSIT = 'urn:ogc:def:crs:EPSG::7816';
1552
1553
    /**
1554
     * Yemen NGN96
1555
     * Extent: Yemen - onshore and offshore.
1556
     */
1557
    public const EPSG_YEMEN_NGN96 = 'urn:ogc:def:crs:EPSG::4981';
1558
1559
    private static array $cachedObjects = [];
1560
1561
    private static array $supportedCache = [];
1562
1563 36
    public function __construct(
1564
        string $srid,
1565
        CoordinateSystem $coordinateSystem,
1566
        Datum $datum,
1567
        BoundingArea $boundingArea
1568
    ) {
1569 36
        $this->srid = $srid;
1570 36
        $this->coordinateSystem = $coordinateSystem;
1571 36
        $this->datum = $datum;
1572 36
        $this->boundingArea = $boundingArea;
1573
1574 36
        assert(count($coordinateSystem->getAxes()) === 3);
1575 36
    }
1576
1577 198
    public static function fromSRID(string $srid): self
1578
    {
1579 198
        if (!isset(static::$sridData[$srid])) {
1580 9
            throw new UnknownCoordinateReferenceSystemException($srid);
1581
        }
1582
1583 189
        if (!isset(self::$cachedObjects[$srid])) {
1584 36
            $data = static::$sridData[$srid];
1585
1586 36
            self::$cachedObjects[$srid] = new self(
1587 36
                $srid,
1588 36
                Ellipsoidal::fromSRID($data['coordinate_system']),
1589 36
                Datum::fromSRID($data['datum']),
1590 36
                BoundingArea::createFromExtentCodes($data['extent_code']),
1591
            );
1592
        }
1593
1594 189
        return self::$cachedObjects[$srid];
1595
    }
1596
1597 72
    public static function getSupportedSRIDs(): array
1598
    {
1599 72
        if (!self::$supportedCache) {
0 ignored issues
show
Bug Best Practice introduced by
The expression self::supportedCache of type array is implicitly converted to a boolean; are you sure this is intended? If so, consider using empty($expr) instead to make it clear that you intend to check for an array without elements.

This check marks implicit conversions of arrays to boolean values in a comparison. While in PHP an empty array is considered to be equal (but not identical) to false, this is not always apparent.

Consider making the comparison explicit by using empty(..) or ! empty(...) instead.

Loading history...
1600 9
            foreach (static::$sridData as $srid => $data) {
1601 9
                self::$supportedCache[$srid] = $data['name'];
1602
            }
1603
        }
1604
1605 72
        return self::$supportedCache;
1606
    }
1607
}
1608