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

Use mapnik scale factor #14

Open
yhahn opened this issue Oct 7, 2014 · 1 comment
Open

Use mapnik scale factor #14

yhahn opened this issue Oct 7, 2014 · 1 comment

Comments

@yhahn
Copy link
Member

yhahn commented Oct 7, 2014

Currently polyline strokes are not width-doubled. Blue sky:

  • Upstream geojson-mapnikify, makizushi use composed svg markers (???)
  • Less complexity with @2x raster marker caching, just use a single set of SVG and use the mapnik scale param

For a rainy day.

cc @springmeyer @tmcw

@springmeyer
Copy link
Contributor

SVG would be doable, but for the current iteration I pushed for marker caching in-front of Mapnik because Mapnik does not currently have caching internally for SVG - we literally render the SVG from scratch for each feature processed. The task on the mapnik side would be to selectively cache a rendered SVG for a symbolizer like <MarkerSymbolizer file="some.svg" /> at 1x and 2x scale_factor while avoiding caching a render SVG for a symbolizer like <MarkerSymbolizer file="some.svg" opacity="[some float value]" fill="[another float value]"/ ... etc ... > since the combinations could be infinite.

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