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

Way to drop certain columns #77

Open
ljbade opened this issue Feb 5, 2015 · 1 comment
Open

Way to drop certain columns #77

ljbade opened this issue Feb 5, 2015 · 1 comment

Comments

@ljbade
Copy link

ljbade commented Feb 5, 2015

I was struggling with gid and fid columns bloating the size of my vector tiles.

@springmeyer suggested editing start_tile_feature to add support to drop certain columns during encoding.

E.g.

void start_tile_feature(mapnik::feature_impl const& feature)

to

void start_tile_feature(mapnik::feature_impl const& feature, std::vector<std::string> const& fields_to_exclude)
@ljbade
Copy link
Author

ljbade commented Feb 5, 2015

I will take a stab at this.

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

Successfully merging a pull request may close this issue.

1 participant