Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier
This commit is contained in:
@@ -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'),
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user