hackgvl / trolley-tracker-api-dot-net

API for tracking Greenville's trolleys with .NET
MIT License
4 stars 6 forks source link

Add Vector route editor #22

Closed bikeoid closed 7 years ago

bikeoid commented 7 years ago

There are frequent route deviations when one or more blocks are closed for an event. It is useful to have the capability to create derived routes based on standard routes, and schedule them for the duration of the event. The ideal solution is a Javascript-based vector editor to allow the client to edit route travel paths directly and easily. Should minimize mouse clicks and edit time to modify a route.

bikeoid commented 7 years ago

A doodle at http://yeahthattrolley.azurewebsites.net/Routes/RouteShape/1 (no login required to view). It's still very preliminary, but the route path is shown along with a blue dot at each intersection. There is no vector edit capability yet. The end result may not look anything like this.

alexdresko commented 7 years ago

Can't TT just defer the route based on where the driver actually travels rather than pre-designing and scheduling routes?

bikeoid commented 7 years ago

Yes, that would be possible, but the tradeoff is a loss of features that benefit riders.

bikeoid commented 7 years ago

Greenlink can now produce .KML files that match our needs: a full circle that matches the route path. All that is needed is to implement a proper KML upload with error checking / reporting and visual confirmation before applying to the route.