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

Generate protobuf TileLayer and UTFGrid #37

Open
brunosmartin opened this issue Nov 30, 2016 · 1 comment
Open

Generate protobuf TileLayer and UTFGrid #37

brunosmartin opened this issue Nov 30, 2016 · 1 comment

Comments

@brunosmartin
Copy link

brunosmartin commented Nov 30, 2016

This would make it possible to work with django and https://github.com/Leaflet/Leaflet.VectorGrid using Protobuf, and make it possible to use serveral stuff from MapBox.

I thing this work would be implement a new renderer. The best way should be user Mapinik to generate protobuf from serializer, but a renderer that just convert geojson in protobuf would be nice (with litle overhead, but I think it's ok).
Well, just an inprovement sugestion. I think this can promote this project, as there is no django app that make this happens...
UTFGrid would be great too.
I think this project is a good reference: https://github.com/TileStache/TileStache but its not django.
Thanks for this great work!

@brunosmartin brunosmartin changed the title Generate protobuf TileLayer Generate protobuf TileLayer and UTFGrid Nov 30, 2016
@bkg
Copy link
Owner

bkg commented Dec 7, 2016

Thanks for the suggestion. In another project, I took advantage of mapbox-vector-tile with a renderer to do the encoding which turned out pretty well.

Unfortunately, it's not the most efficient approach here since the vector tile encoding should be handled directly in the DB. It sounds like PostGIS provides most of the necessary functions to handle this although I would like to continue supporting SpatiaLite as well if possible.

As to UTFGrid, is this still useful with vector tiles as they already include the attribute info in the tile?

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