Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier

This commit is contained in:
Florent gravin
2020-09-03 15:42:56 +02:00
parent 3a01e083c6
commit 8eb5ac900d
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -67,4 +67,5 @@ export const PROJECTIONS = [
new EPSG4326Projection('urn:ogc:def:crs:OGC:2:84'), new EPSG4326Projection('urn:ogc:def:crs:OGC:2:84'),
new EPSG4326Projection('http://www.opengis.net/gml/srs/epsg.xml#4326', 'neu'), new EPSG4326Projection('http://www.opengis.net/gml/srs/epsg.xml#4326', 'neu'),
new EPSG4326Projection('urn:x-ogc:def:crs:EPSG:4326', 'neu'), new EPSG4326Projection('urn:x-ogc:def:crs:EPSG:4326', 'neu'),
new EPSG4326Projection('urn:x-ogc:def:crs:EPSG:6.6:4326', 'neu'),
]; ];
+3 -2
View File
@@ -215,12 +215,13 @@ describe('ol.proj', function () {
}); });
it( it(
'gives that CRS:84, urn:ogc:def:crs:EPSG:6.6:4326, EPSG:4326 are ' + 'gives that CRS:84, urn:ogc:def:crs:EPSG:6.6:4326, EPSG:4326, ' +
'equivalent', 'urn:x-ogc:def:crs:EPSG:6.6:4326 are equivalent',
function () { function () {
_testAllEquivalent([ _testAllEquivalent([
'CRS:84', 'CRS:84',
'urn:ogc:def:crs:EPSG:6.6:4326', 'urn:ogc:def:crs:EPSG:6.6:4326',
'urn:x-ogc:def:crs:EPSG:6.6:4326',
'EPSG:4326', 'EPSG:4326',
]); ]);
} }