Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - Length/duration in browse Route panel #85

Open
JimmyS83 opened this issue Mar 30, 2024 · 7 comments
Open

[FEATURE] - Length/duration in browse Route panel #85

JimmyS83 opened this issue Mar 30, 2024 · 7 comments

Comments

@JimmyS83
Copy link
Contributor

JimmyS83 commented Mar 30, 2024

Hello,

would be possible to show (optionally?) very usefull parameters length/distance in Browser window for route? Currently, there is hardcoded just name and creator columns.

Use case: I have XX routes in folders, all by me. So author is not imported for me at all, but I would welcome options above, to quick glance into distance/ (especially) length parameters, when comparing / changing routes, without need to click to Convert panel and back in every route change :)

@cpesch
Copy link
Owner

cpesch commented Apr 5, 2024

Hi @JimmyS83,

everything is possible. But...

  1. I don't want RouteConverter to download all files just to extract that tiny bit of information since it overloads the network.
  2. I don't want to parse the information on the server when RouteConverter requests it since it overloads the server.

So one could
a. let RouteConverter pass the information to the server – doesn't work for already uploaded stuff.
b. let the server do the parsing – somehow calling Java from Django/Python with limited resources.

Not easy...

@JimmyS83
Copy link
Contributor Author

JimmyS83 commented Apr 6, 2024

Understood..

I am using files locally (.routeconverter/routes) in gpx "track" format, for me, it seems that online route calculation isnt called, when I click to the Convert panel.. I didnt dig deep, its just a feeling.. When I load kml, then definitivelly I noticing route calculation. Personally, I have (higher) tens of tracks, polished, which I am tracking in folders within .routeconverter routes, they are already calculated, I believe. I dont use cloud at all (generally), bcoz its usually slower, so I am (r)syncing/unisoning my files locally, when more devices are needed.

My typical use case is choose folder (geo region), then first rough filter is choose, what length of track I wanna ride (therefore clicking between tabs all the time, considering number of saved tracks), and finally, compare "finalists" and choose optimal route using map viewer and browsing them, based on feeling, route closures etc.

But I understand your concerns, if your UI is aligned local+online, certain restriction regarding online could be expected. It was just thought, as I can see these info are already present in other tab like "immediatelly" when I click..

@cpesch
Copy link
Owner

cpesch commented Apr 8, 2024

Currently the UI is the same for local+online, but this could be changed. When describing your use case:

  • what does length precisely mean? Distance in kilometers or duration in minutes?
  • is it beeline for tracks? and routed over the street network for routes?
  • how many positions do your tracks and/or routes typically have? How large are the files?

@JimmyS83
Copy link
Contributor Author

JimmyS83 commented Apr 8, 2024

  • Actually both values interests me, as it depends heavilly if the track went through a lot cities, or countryside. The time would be more important, but distance is also good indicator (20km and 60mins - and you know instantly it will be lot of cities/traffics/lights without need to study map)

  • Not sure if I understand, attaching picture how it looks
    image

  • I checked randomly, for example for 153km / 3h:20m route has 2149 positions. My gpx files has usually 70kB - 800kB per trip/track, depending on their length.

@cpesch
Copy link
Owner

cpesch commented Apr 8, 2024

That's a track which is rendered and calculated as a beeline, i.e. positions are connected with a straight line and no routing engine is involved.

A route typically consists of fewer positions which a routing engine connects with positions on the street network.

@JimmyS83
Copy link
Contributor Author

JimmyS83 commented Apr 8, 2024

Yes, thats why I thought routing isnt actually called (therefore no load against server(s)), and I would still very welcome distance/time infos instead author in browse panel :)

These gpx which I am using are used for compatibility with a lot of my devices/apps - they are final product for "my library" - which is so usefull in Routeconverter in browser panel, when I figure out my next trip.

When I need to correct them, I am using multiple tools on multiple platforms (Routeconverter, Cruiser, Kurviger ..), usually via .kml or .kurviger formats, but eventually, they are exported as gpx to my "library", and if thats not new route/track, old gpx is replaced.

So, when i edit time to time route, I really dont mind tabs whatsoever. But, when it comes to "library" function - ie. Browse panel, then distance/time are missed very much, and clicking back and forth to Convert tab is not convienient.

I understand, that primary goal for Routeconverter is convert/change.. But when you have very nice browser feature, switching offline gpx is fast, map view nearby, supporting even google traffic.. I just adopt this tool for library purposes as well, simply because I didnt find any tool better for that.. And possible adding time+distance in browse panel for offline gpx (which doesnt need to call exhausting routing engine) would be great..

I hope that clarify my use case little bit more...

@JimmyS83
Copy link
Contributor Author

JimmyS83 commented Jun 15, 2024

One thing comes to my mind - when I read
I don't want RouteConverter to download all files just to extract

I am fine with showing that info only for current track/route after its selected and shown on map, if that would help minimize risk to overload servers.. Just like Conversion Tab, it also show length / time of one current, choosen track.

I reckon, after clicking on the route/track this values are loaded from gpx or calculated by routing anyway, so its more like matter of showing them also on Browse panel? (Or on separate optional mini window, or maybe optional overlay box somewhere in the corner of map? - basically anything, which would made them visibile also for other panels than only Conversion)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants