matsim-org / pt2matsim

Package to create a multi-modal MATSim network and schedule from public transit data (GTFS or HAFAS) and an OSM map of the area.
http://www.ivt.ethz.ch/publikationen/studenten/530.html
GNU General Public License v2.0
48 stars 67 forks source link

Coordinate transformation during schedule building not working #31

Closed stelehm closed 6 years ago

stelehm commented 6 years ago

Hello,

I created my transit schedule with the following command: java -cp pt2matsim-18.1.1-shaded.jar org.matsim.pt2matsim.run.Gtfs2TransitSchedule input/gtfs "dayWithMostServices" "EPSG:2154" input/interm/schedule.xml input/interm/vehicles.xml This runs without error messages, but after checking the coordinates of my stopping facilities, I noticed that they where still in WGS84. As a test, I inserted a wrongly formatted coordinate system (say just "2154") and got an error at org.matsim.core.utils.geometry.transformations.TransformationFactory.getCoordinateTransformation. So the transformation procedure seems to be called correctly but somehow afterwards isn't applied to the outputs. I was thinking, this might be causing #29 because the network and schedule end up being in different coordinate systems.

polettif commented 6 years ago

I actually came across this issue last week and should've been fixed by 0a89148.... However, it's not in the release version yet.