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

modifications to the python script to make it more flexible. #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

abrin
Copy link

@abrin abrin commented Sep 3, 2011

Note, you may not want to take the changes to the output part of the script as we've customized this a bit more to our own needs than rendering an tag.

abrin and others added 4 commits July 27, 2011 15:23
Added title, alt, iso of g elements.
__To Limit the Shapes Rendered (and improve loading performance)__
1. adds a smoothing parameter which says, combine points if they're less than _smoothing_ (makes shapes simpler)
2. adds a minPixelSize parameter which will not render polygons that are less than _minPixelSize_ in width and height (good for getting rid of small islands)
3. adds a minPolygonSides parameter which will not render polygons with less than _minPolygonSides_ (good for getting rid of points and vectors on a map)

__other (from mcordial)__
1. allows propagation of ids from parent <g> elements down
2. handles numeric widths and heights with units
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.

1 participant