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

Automatically generate maps using existing internal API #1885

Open
andchiind opened this issue Dec 16, 2024 · 0 comments
Open

Automatically generate maps using existing internal API #1885

andchiind opened this issue Dec 16, 2024 · 0 comments
Labels
backend Backend related functionality feature New feature or request frontend Frontend related functionality

Comments

@andchiind
Copy link
Contributor

Describe the new feature you would like to see
There is an existing API which lets us generate png maps of Echo 3D maps, with given bounds. We should use this to automatically generate maps for missions when they are created (so that we get one map per mission definition, which is large enough to cover each tag, but not much more)

Describe the solution you'd like
We should find the bounds of the list of tags in the mission (smallest/largest x and y coordinate) and then send this to the API to generate a PNG map. This map should then be uploaded to blob storage and used in the mission. The map name in blob store can include the bounds of the image and the installation code, so that we don't need to generate a new map if one already exists.

How will this feature affect the current Threat Model?
We should use the same user permissions for this API as we do in Flotilla, so that people need to apply for access to use this feature. We should then verify this solution with Echo.

@andchiind andchiind added backend Backend related functionality feature New feature or request frontend Frontend related functionality labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related functionality feature New feature or request frontend Frontend related functionality
Projects
None yet
Development

No branches or pull requests

1 participant