Opened 10 years ago

Last modified 10 years ago

#12188 closed defect

ProjectionRegressionTest failure after [9106] — at Initial Version

Reported by: bastiK Owned by: team
Priority: normal Milestone: 15.12
Component: Core Version:
Keywords: Cc:

Description

After [9106], there is a considereable change for the projections "NAD27(76) / MTM" and "Monte Mario / Italy" with offsets of up to several hundred meters: test report

The reason for this is a missing datum in the definition and how this is handled by JOSM. Before r9106, we would implicitly add +towgs84=0,0,0, now we add +nadgrids=null. The first means that the ellipsoids are converted, but it is assumed they have the same center and orientation. The second skips datum conversion entirely and "casts" the lat/lon value.

I've changed this to mimic the behavior of the proj.4 software (unaware that we already have entries with unspecified datum).

Now is this change good or bad? I'm not sure, but I've tested toronto wms and it matches much better than before. Therefore, I keep it like this for now. If the previous version is preferred, it should be specified explicitly in the projection definition (add +towgs84=0,0,0).

Change History (2)

by bastiK, 10 years ago

Attachment: toronto-towgs84.png added

by bastiK, 10 years ago

Attachment: toronto-nadgrids.png added
Note: See TracTickets for help on using tickets.