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

Support for multiple routes in one file / route collections #1874

Open
tkurki opened this issue Feb 1, 2025 · 2 comments
Open

Support for multiple routes in one file / route collections #1874

tkurki opened this issue Feb 1, 2025 · 2 comments

Comments

@tkurki
Copy link
Member

tkurki commented Feb 1, 2025

If one has a collection of routes (own collection from for example a plotter or another navigation program) the current storage format of uuid named files is not very convenient.

As a technical use I would like to convert the route data to either an array of route resources or a single FeatureCollection and have that in a file named myfeaturecolletionsomething.json and either place it in the ...resources/routes/ directory or use a UI (Freeboard?) to upload the file.

There's the issue of uuids for the routes that needs a permanently stored solution.

The resources plugin could

  • peek into the contents and recognize the format
  • assign uuids
  • save the file

This way management of route collections would be easy, just pass around the file. We should make the file also downloadable.

In our data model this also could introduce the idea of route collections: with name, source, description and updated properties.

@tkurki
Copy link
Member Author

tkurki commented Feb 1, 2025

It would also be useful to be able to select all the routes of a collection for display in Freeboard.

@tkurki
Copy link
Member Author

tkurki commented Feb 1, 2025

Closely related is the idea of read-only routes/resources. Not sure if editing routes in a collection from a source makes sense, maybe rather create a copy and edit that?

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

1 participant