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

Headless #47

Open
maxammann opened this issue Apr 26, 2022 · 1 comment
Open

Headless #47

maxammann opened this issue Apr 26, 2022 · 1 comment
Labels
feature-request Request for a new feature

Comments

@maxammann
Copy link
Collaborator

maxammann commented Apr 26, 2022

The tileserver-gl can render raster tiles from vector data. This requires that the rendering component runs headless.
Essentially this means that the winit dependency needs to be decoupled. This is already prepared in maplibre-rs. The only winit dependencies are in the input and winit.rs module.

There are two major areas which need to be handled:

  • Rendering to a texture which then can be copied to a buffer. This buffer can be converted to a PNG file. Experimentally add a headless mode #70
  • Rendering single tiles with the maximum size to a quadratic surface. If the surface is not quadratic, then the generated PNGs will have borders.
@maxammann maxammann added the feature-request Request for a new feature label Apr 26, 2022
@maxammann maxammann changed the title Headless mode Headless Apr 27, 2022
@maxammann
Copy link
Collaborator Author

Part was implemented in #119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant