This object is in archive! 

Custom Coordinate Systems for Taiwan TM2

Jing shared this problem 8 years ago
Solved

hi


i read this subject for custom coordinate systems

http://docs.locusmap.eu/doku.php?id=manual:advanced:customization:coord


there is EPSG code for Taiwan TM2 and i add it to config_projections.cfg

http://spatialreference.org/ref/?search=taiwan


1|3825|Penghu TM2(TWD97)|TWD97 TM2 zone 119|Taiwan

1|3826|Taiwan TM2(TWD97)|TWD97 TM2 zone 121|Taiwan

1|3827|Penghu TM2(TWD67)|TWD67 TM2 zone 119|Taiwan

1|3828|Taiwan TM2(TWD67)|TWD67 TM2 zone 121|Taiwan


i check the coords and location by this website (sorry it's only chinese)

http://www.sunriver.com.tw/taiwanmap/grid_tm2_convert.php


without problem when i set in Taiwan TM2(TWD97) or Penghu TM2(TWD97)

43fac786d8354e3c2b6c3fb98345c693


but wrong location in Taiwan TM2(TWD67) and Penghu TM2(TWD67)


9f43c19001df657d1cf01e2bf4500185

Replies (3)

photo
1

Good day Jing,


am I wrong or on your screenshots it looks correctly (on both of them) ?

photo
1

'think the point should be on same place - on both screenshots

isn't it?

photo
1

Ah it isn't, thanks! I was looking just on coordinate values :).

photo
1

That's what I mean, they should be in the same position on map.

thanks :)

photo
1

Hmm I'm worried I cannot help here.

This is internal configuration that Locus use for transformation

  1. # TWD97 / TM2 zone 119
  2. <3825> +proj=tmerc +lat_0=0 +lon_0=119 +k=0.9999 +x_0=250000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <>
  3. # TWD97 / TM2 zone 121
  4. <3826> +proj=tmerc +lat_0=0 +lon_0=121 +k=0.9999 +x_0=250000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <>
  5. # TWD67 / TM2 zone 119
  6. <3827> +proj=tmerc +lat_0=0 +lon_0=119 +k=0.9999 +x_0=250000 +y_0=0 +ellps=aust_SA +units=m +no_defs <>
  7. # TWD67 / TM2 zone 121
  8. <3828> +proj=tmerc +lat_0=0 +lon_0=121 +k=0.9999 +x_0=250000 +y_0=0 +ellps=aust_SA +units=m +no_defs <>

These parameters are used for Proj.4 library that is used in Locus. So if your web site is correct, and these Proj.4 parameters are also correct (for unknown reason they are not visible on web http://spatialreference.org/ref/epsg/3828/ - tap on proj.4) , then issue should be in Proj.4 library in Locus only.

Because Locus use older version of this lib, solution should be update to new version and if this helps, report to it's developers. Unfortunately update is not currently possible.

photo
1

can you fix it If i provide the correct parameters?

this is the parameter I set in QGIS, and i confirm for convert from WGS84 to TWD67 TM2 of coordinate is same that website.

# TWD67 / TM2 zone 119

+proj=tmerc +ellps=GRS67 +towgs84=-752,-358,-179,-.0000011698,.0000018398,.0000009822,.00002329 +lon_0=119 +x_0=250000 +k=0.9999 +to +proj=tmerc +datum=WGS84 +lon_0=119 +x_0=250000 +k=0.9999

# TWD67 / TM2 zone 121

+proj=tmerc +ellps=GRS67 +towgs84=-752,-358,-179,-.0000011698,.0000018398,.0000009822,.00002329 +lon_0=121 +x_0=250000 +k=0.9999 +to +proj=tmerc +datum=WGS84 +lon_0=121 +x_0=250000 +k=0.9999

photo
1

Jing, perfect answer!!!


Configuration of projection changed and seems to work as expected. So you will see in next version.


Thank you for your help!

photo
1

This problem that are fixed in 3.9.1


thank you Menion

:)

photo
1

Perfect, glad to hear it. Thank you too!

photo
1

Hi,Menion,sorry to dig out the post again,because we found that after the V3.38 relaesed ,the Taiwan TWD67 TM2 goes wrong again ,please fix the problem as Jing wrote to you 4 years ago. Thank you!

photo
1

Hello,

I've updated a few months ago system how the app works with coordinate systems and because these two projections still have an invalid configuration on the web, changes made 4 years ago reverted to the old system, sorry. In the next version, it should be ok. Thanks!

Replies have been locked on this page!