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

Investigate vector based map tiles #3

Open
aSemy opened this issue Jul 17, 2022 · 0 comments
Open

Investigate vector based map tiles #3

aSemy opened this issue Jul 17, 2022 · 0 comments

Comments

@aSemy
Copy link
Contributor

aSemy commented Jul 17, 2022

The web-map uses PNG tiles. There would be several advantages to using vector tiles

  • styling can be dynamic, the frontend can use CSS to make it look nice
  • reduced storage requirements
  • rendering entities as separate PNGs is not possible - there are too many. Rendering them in a single tile means they can't be selected. Rendering them as vectors allows for them to be separately selectable.
  • processing the tiles would be easier - I wouldn't have to group updates into chunks and fuss about with handling edgecases when an entity is rendered across a chunk border.

This change requires either changes to the web-map, as Leaflet does not natively support vector tiles

I need some way to convert the data from Factorio into a vector format. Some of these have some sort of 'raster polygonize' tool:

  • PostGIS
  • GDAL
  • GeoTools
  • Kotlin letsPlot
  • GeoServer

Other notes:

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

No branches or pull requests

1 participant