-
Notifications
You must be signed in to change notification settings - Fork 182
faq 110073968
by Jinkai Zhou on 2017-06-16 17:13:54
I'm running a PT scenario of New York. I have all my files(network, population, schedule) in WGS84 coordinate system. I should change it to UTM18N(New York zone) in order to run the simulation. I used GTFS2schedule.java application to change the coordinate system of schedule but it does not have the UTM18N option.(The closest one was UTM17N, the Toronto zone). So how to change the WGS84 coordinates in these file to UTM18N?
by Marcel Rieser on 2017-06-16 21:18:04
MATSim supports using EPSG-codes.
In code, you could write: TransformationFactory.getCoordinateTransformation("EPSG:4326", "EPSG:32168");
to transform from WGS84 to WGS84/UTM18N.
Please note, there is also a NAD83/UTM18N (EPSG:26918). Make sure you choose the right one.
If the EPSG-Code is not specified, you can try to look it up on spatialreference.org, for example NAD83 / UTM Zone 18N or WGS84 / UTM Zone 18N
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq