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

View File

@@ -67,4 +67,5 @@ export const PROJECTIONS = [
new EPSG4326Projection('urn:ogc:def:crs:OGC:2:84'),
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:6.6:4326', 'neu'),
];

View File

@@ -215,12 +215,13 @@ describe('ol.proj', function () {
});
it(
'gives that CRS:84, urn:ogc:def:crs:EPSG:6.6:4326, EPSG:4326 are ' +
'equivalent',
'gives that CRS:84, urn:ogc:def:crs:EPSG:6.6:4326, EPSG:4326, ' +
'urn:x-ogc:def:crs:EPSG:6.6:4326 are equivalent',
function () {
_testAllEquivalent([
'CRS:84',
'urn:ogc:def:crs:EPSG:6.6:4326',
'urn:x-ogc:def:crs:EPSG:6.6:4326',
'EPSG:4326',
]);
}