matsim-scenarios / matsim-berlin

The MATSim Open Berlin Scenario
GNU General Public License v2.0
36 stars 135 forks source link

Question about the coordinate system #112

Closed maishaoshao closed 1 year ago

maishaoshao commented 1 year ago

Hello, I am using MATSim Berlin events XML file to analyze the contact rate between agents. I include the coordinates of each agent and calculate their beeline distances. For example: sqrt((x1 - x2)^2 + (y1 - y2)^2). I am not sure whether this is correct to calculate the distance between two agents. If anyone could tell me, much appreciated. --------- update --------- I figure it out. Thank you.