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

Render only single shape #10

Merged
merged 3 commits into from May 21, 2018
Merged

Conversation

lukasmartinelli
Copy link
Contributor

@amishas157 this branch was used for https://github.com/mapbox/cartoshapes.

This PR:

  • Changes the whole options format (which means will be a breaking version change)
  • Allows rendering only an overlay without a background
  • Adds a black style which is only the black feature outline
  • Adds option to specify overlay stylesheet in CLI
  • Move render params guessing into a renderparams module
  • Refactor renderThumbnail into renderOverlayWithBackground and renderOverlay
  • One can also pipe in a feature from stdin now when doing echo '{}' | render-thumbnail - mythumb.png

@lukasmartinelli lukasmartinelli changed the title [wip] Render only single shape Render only single shape May 2, 2018
@coveralls
Copy link

Coverage Status

Coverage decreased (-4.9%) to 82.564% when pulling ec03029 on render-only-single-shape into b7327f6 on master.

@lukasmartinelli lukasmartinelli merged commit dae723b into master May 21, 2018
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 this pull request may close these issues.

None yet

2 participants