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

Adds mask option to @turf/point-grid #791

Merged
merged 4 commits into from
Jun 17, 2017
Merged

Adds mask option to @turf/point-grid #791

merged 4 commits into from
Jun 17, 2017

Conversation

stebogit
Copy link
Collaborator

@stebogit stebogit commented Jun 15, 2017

Enhances @turf/point-grid so that it can interpret bbox as mask (if (Multi)Polygon) to filter the generated points.
Ref: #220

Example:

var polypiemonte = // piedemont polygon;
var grid = turf.pointGrid(polypiemonte, 15, 'miles', true, true);

screen shot 2017-06-15 at 12 58 52 am

@stebogit stebogit self-assigned this Jun 15, 2017
@DenisCarriere DenisCarriere added this to the 4.5.0 milestone Jun 15, 2017
@DenisCarriere
Copy link
Member

👍 Looks great

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

Successfully merging this pull request may close these issues.

2 participants