Closed Rennzie closed 1 year ago
Thanks for reporting this - I believe it is now corrected in de9e129
Awesome. Thanks for fixing. All working on my end now!
Awesome - thanks for the feedback, and sorry for taking 3 days to respond: I was mostly offline during the weekend, and did not see your bug report until monday morning
Not a problem in the slightest 😄
I've been testing things with a EPSG:27700 (BNG) to EPSG:3857 (webmerc) pipeline and the round trip result for the
tmerc
operation is incorrect.I've tested this with
kp
and withgeodesy-wasm
which implements theMinimal
context internally.Possibly useful pointers:
tmerc inv lat_0=49 lon_0=-2 k_0=0.9996012717 x_0=400000 y_0=-100000 ellps=airy | webmerc lat_0=0 lon_0=0 x_0=0 y_0=0 ellps=WGS84
tmerc
andwebmerc
correctly transform the equivalent coordinate to WGS84[gis] (0.118 52.).tmerc
does NOT transform thatWGS84
coordinate to cartesian coords correctly whilewebmerc
does.The last point I think suggests the
tmerc
FWD operation is producing incorrect results?Tested on latest main as of 18/08/2023. I've truncated all results to integers for readability