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

Writing vector tiles #25

Open
mourner opened this issue Mar 14, 2015 · 5 comments
Open

Writing vector tiles #25

mourner opened this issue Mar 14, 2015 · 5 comments

Comments

@mourner
Copy link
Member

mourner commented Mar 14, 2015

It needs an API to write a vector tile dynamically from JS into PBF.

@anandthakker
Copy link
Contributor

@mourner Do you know if there's been any work on this already? I think I may need this in a few weeks, so I was gonna start up a PR, but don't want to duplicate..

@anandthakker
Copy link
Contributor

Did this here: https://github.com/anandthakker/vt-pbf

@nyurik
Copy link
Contributor

nyurik commented Sep 27, 2016

@anandthakker, @mourner, @jakepruitt I have made a proposal on how to encode objects (hstore) and arrays as values at mapbox/vector-tile-spec#75 (comment) , and as part of a trial implementation, I need to take a vector tile, decode it in JS, reorganize tags, and save it back. I do not need to touch geometries. I see there was a few efforts to do it, like @jakepruitt https://github.com/mapbox/vector-tile-js/compare/serialize branch, and the one by @anandthakker above. What is the status of it? Any interest in doing it soonish? Thanks!

@jfirebaugh
Copy link
Contributor

I think we should merge vt-pbf into this library.

@nyurik
Copy link
Contributor

nyurik commented Sep 5, 2017

I'm already using PBF-re-writing functionality (without geometry modifications) in the https://github.com/kartotherian/babel library - it converts JSON blob (single string in one field) into multiple fields - e.g. name_: "{en:xxx, ru:yyy, fr:zzz, ...}" into name_en:xxx, name_ru:yyy, name_fr:zzz, ...

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

4 participants