Imagine I have a PostGIS database with following pieces of information
- OSM (OpenStreetMap) of a city,
- the roads/streets inside the city and
- the routes of public transport in that city.
I want
- to calculate distance from building A to building B in that city via streets/roads (for people with cars) and
- to estimate the amount of time it takes to get from building A to building B using available public transport (for people without a car).
Is there any ready-made (open source or commercial) software for performing such calculations in PostGIS?
For public transport planning you should check OpenTripPlanner, too. After the link, you will see various examples, not all works, but Athens does.