-
Notifications
You must be signed in to change notification settings - Fork 179
faq 138805251
by Daoge Wang on 2017-12-28 07:15:07
Hi all,
In the MATSim, I plan to use UTM_51N as Cartesian coordinate system. However, the data I used (such as facilities coordinate) is in the form of WGS_84. Therefore, is there a method to transform WGS_84 to UTM_51N in the MATSim?
Thank you!
by Thibaut Dubernet on 2018-01-03 10:33:56
Dear Daoge,
yes, the MATSim readers provide a way to convert coordinates from one system to another at reading. It can all be setup in the config file, in the following way:
in the "global" config group, set the "coordinateSystem" value to your local cartesian system (UTM_51N). It is the coordinate system all coordinates will be transformed to.
in each config group where you can define an input file (plans, network, etc), there is an "inputCRS" parameter, that you should set to the coordinate system used in your file (in your case WGS_84)
At output, all coordinates will be converted back.
The names are resolved by the geotools library, so I cannot tell you for sure whether the name "UTM_51N" will be recognized, but the EPSG code should (EPSG:32651).
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq