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

next Waypoint name on Route? #125

Open
DerTom1978 opened this issue Oct 8, 2023 · 2 comments
Open

next Waypoint name on Route? #125

DerTom1978 opened this issue Oct 8, 2023 · 2 comments

Comments

@DerTom1978
Copy link

Hello,
maybe there is a better place to ask this question.
If so - where?

I have created waypoints and given them a name.
When I drive a route with waypoints, I see DTG, TTG ETA etc. but not how the waypoint is labeled.
Is there a waypoint list: Example: show next 3 waypoints, designation, distance and arrival time?

Can I set this? - I have not found anything.

Thanks
Tom

@panaaj
Copy link
Member

panaaj commented Oct 9, 2023

Freeboard aligns to the Signal K specification for resources (i.e. waypoints, routes, etc).
It's current operation treats waypoints as single entities, so navigating to a waypoint is effectively a single destination.

The functionality you are alluding to is available using a Route.
Navigating a route will provide the controls to move to next /previous point, select the direction to follow the route (forward / reverse), etc.

When I drive a route with waypoints, I see DTG, TTG ETA etc. but not how the waypoint is labeled.

The course information displayed is for the current destination (waypoint or selected route point).
The waypoint on the map has a label, are you referring to something else?

Is there a waypoint list: Example: show next 3 waypoints, designation, distance and arrival time?

I presume you are referring to points within a route here.
You can view the list of points along the route and even change their sequence.
The screenshot below shows the detals currently displayed.
image

Note: There is a way of providing a name for route points but currently there is no UI in Freeboard for it (on the backlog). It requires manually editing the route file.

As per the example below, in the properties section, create an entry points with an attribute names which contains an array of names for your points.
Note: The names array must have the same number of entries as points in the route!

{
  "name":"static route 1",
  "description":"",
  "distance":3933,
  "feature":{
	"type":"Feature",
	"geometry":{
	   "type":"LineString",
	   "coordinates":[[-76.53131680794115,39.23561698516619],[-76.54623908617666,39.24275247556838],[-76.51885994958803,39.23792856152994]]
	},
	"properties":{
	  "points": {
		"names": ["pt one","pt two","pt three"]
	   }
	},
	"id":""
  }
}

Freeboard will then display the name when the point is the current destination and also in the points list as per the screen shot below.
image

I hope this answers your question.

@DerTom1978
Copy link
Author

That is exactly what I meant.
I have tried it and it works.

What could be adjusted:
Lat:
Lon:
Name:
Note:
ETA / TTG:
DTR:

Important: Each display should be activatable/deactivatable (I'm not interested in coordinates, for example).

The whole display field should be moved to the edge or be freely positionable.
And at route creation there should be an input field for name & note.

Then I think this is a good competitor to expensive "payment systems".
Whereby I would also donate something for this. The work does not make itself alone.

BR
Tom

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