ad-freiburg / loom

Software suite for the automated generation of geographically correct or schematic transit maps.
GNU General Public License v3.0
77 stars 10 forks source link

Use loom for non-transit data #13

Open Elmetayer opened 3 months ago

Elmetayer commented 3 months ago

Hello loom project,

I would like to know if you (or other people) explored the possibility to use loom in other context than transit : I'm thinking that loom could be great to render electricity grids. Do you know if this has already been done ? And if there is any limit to the number of nodes that loom can process ?

Bruno

gammapopolam commented 3 months ago

I was working on electricity network visualization a couple months ago and they have a lot of differences compared to public transit networks. When I've implemented electricity lines through GTFS pseudo-feed, LOOM tried to aggregate all of the electricity lines in one hallway, and changed the order of lines in hallway. Regarding the network topology, lines cannot cross each other and change lines order where it is not true. So the visualization of electricity network was terrible: lines were too smooth and not connected correctly at intersections.

I'm sure I haven't fully understood the functionality of LOOM, but you can try to implement your grid through GTFS or JSON graph and add some rules such as --no-untangle --no-prune and detail scoring parameters.