eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.58k stars 1.44k forks source link

Read MATSim projection information #13953

Open m-kro opened 1 year ago

m-kro commented 1 year ago

It seems MATSIM networks may carry projection information, too. This should be read during import of a MATSim network. Example of a projection tag in MATSim:

<attribute name="crs" class="java.lang.String">epsg:27700</attribute>

Still didn't find the correct place in the formal MATSim network definition, though.

m-kro commented 1 year ago

There does not seem to be any standardised format except for using the attribute element.

The most recent MATSim net file DTD doesn't mention projection information explicitly, it just allows attribute elements like the example in the first post (above). Other MATSim users reported using "coordinateReferenceSystem" as name attribute and other codes than EPSG as node values, too.