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

mapnik::attributes variables (to replace @tokens in postgis SQL sub-queries) #218

Closed
oleksii-leonov opened this issue Aug 25, 2016 · 1 comment · Fixed by #248
Closed
Milestone

Comments

@oleksii-leonov
Copy link

Is there any ability to set mapnik::attributes variables (used to replace @tokens in postgis SQL sub-queries) for rendering VectorTiles?

As example, with default mapnik raster tiles rendering it works next way:

mapnik::attributes vars;
// ... setting vars
mapnik::agg_renderer<mapnik::image_rgba8> ren(map, req, vars, im, scale_factor, 0, 0);

But looks like there no ability to set this variables with mapnik::vector_tile_impl::processor (https://github.com/mapbox/mapnik-vector-tile/blob/master/src/vector_tile_processor.hpp#L50).

rafatower pushed a commit to CartoDB/mapnik-vector-tile that referenced this issue Jul 17, 2017
rafatower pushed a commit to CartoDB/mapnik-vector-tile that referenced this issue Jul 18, 2017
rafatower pushed a commit to CartoDB/mapnik-vector-tile that referenced this issue Jul 18, 2017
@springmeyer
Copy link
Contributor

Solved in #248 thanks to @rafatower

@springmeyer springmeyer added this to the v1.5.0 milestone Sep 10, 2017
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

Successfully merging a pull request may close this issue.

2 participants