I am using PostgreSQL with PostGIS (for spatial queries like ST_LineLocatePoint()) and pgRouting (for shortest path).
The road network I have does not include links for ferries, which is the preferable route in some cases, and is the shortest route predicted by Google/Bing etc. Our state (WA) has 10 ferries, so I can maybe manually connect the points to create links in QGIS and then potentially re-create the topology.
Is this a suggested approach for solving this problem? Is there any other easier or robust way to achieve this?
Another specific complication for my case is that the vehicles are electric, so the ferry section of the route, should not add distance to electric vehicle miles traveled. So, ideally the ferry section should have zero distance for all associated calculations. Is it possible to join the start and end points with a zero dist line? This would be analogous to shorting two points in an electric circuit.