Skip to content

Commit

Permalink
https://github.com/Indicia-Team/warehouse/issues/510
Browse files Browse the repository at this point in the history
  • Loading branch information
johnvanbreda committed May 22, 2024
1 parent 4c15b13 commit a7b30b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/drivers/sref/osie.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (typeof indiciaData.srefHandlers==="undefined") {

indiciaData.srefHandlers['osie'] = {

srid: 29901,
srid: 29903,

returns: ['wkt', 'precisions', 'gridNotation'],

Expand Down
6 changes: 3 additions & 3 deletions js/jquery.indiciaMapPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,7 @@ var destroyAllFeatures;
&& wmPoint.x >= -1196000 && wmPoint.x <= -599200 && wmPoint.y >= 6687800 && wmPoint.y <= 7442470) {
// Got a rough match, now transform to the correct system so we can do exact match. Note that we are not testing against
// a pure rectangle now.
proj = new OpenLayers.Projection('EPSG:29901');
proj = new OpenLayers.Projection('EPSG:29903');
testpoint = wmPoint.clone().transform(wmProj, proj);
if (testpoint.x >= 10000 && testpoint.x <= 367300 && testpoint.y >= 10000 && testpoint.y <= 468100
&& (testpoint.x < 332000 || testpoint.y < 445900)) {
Expand Down Expand Up @@ -2319,7 +2319,7 @@ var destroyAllFeatures;
if (wmPoint.x >= -1196000 && wmPoint.x <= -599200 && wmPoint.y >= 6687800 && wmPoint.y <= 7442470) {
// Got a rough match, now transform to the correct system so we can do exact match. Note that we are not testing against
// a pure rectangle now.
proj = new OpenLayers.Projection('EPSG:29901');
proj = new OpenLayers.Projection('EPSG:29903');
testpoint = wmPoint.clone().transform(wmProj, proj);
if (testpoint.x >= 10000 && testpoint.x <= 367300 && testpoint.y >= 10000 && testpoint.y <= 468100
&& (testpoint.x < 332000 || testpoint.y < 445900)) {
Expand Down Expand Up @@ -3860,7 +3860,7 @@ jQuery.fn.indiciaMapPanel.defaults = {
intervals: [100000, 10000, 1000, 100]
},
'OSIE': {
projection: 29901,
projection: 29903,
bounds: [0, 0, 400000, 500000],
intervals: [100000, 10000, 1000, 100]
},
Expand Down
1 change: 1 addition & 0 deletions js/proj4defs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7b30b8

Please sign in to comment.