Closed ByronCinNZ closed 5 days ago
Fixed the issue by correcting the coordinate parsing in mapservice.js swapping the values in lines 766 and 769 (GN 4.2.5) Working code looks like this -
getDcExtent: function (extent, location) {
if (angular.isArray(extent)) {
var dc =
"North " +
extent[3] +
", " +
"South " +
extent[1] +
", " +
"East " +
extent[2] +
", " +
"West " +
extent[0];
if (location) {
dc += ". " + location;
}
return dc;
} else {
return "";
}
},
`
Describe the bug The result of setting a BBOX in Dublin Core reverses then East and West coordinate values.
To Reproduce Steps to reproduce the behavior:
<dc:coverage>North -9.2402, South -54.75, East 112.92, West 159.11. Australia</dc:coverage>
Expected behavior The result should look like:
<dc:coverage>North -9.2402, South -54.75, East 159.11, West 112.92. Australia</dc:coverage>
GeoNetwork version 4.2.5 Same result in GeoNetwork 4.4.4