This selects the intersection method in the rasterize function based on geometry types. Polygons and MultiPolygons use intersection of pixel centroids, (Multi)Lines and (Multi)Points use touch. Note: If at least one (Multi)LinesPolygon is in there, centroid intersection is used. See the following issue for more details.
Relates to #20
Type of change
Select one or more relevant options:
[ ] Bug fix (change which fixes a bug reported in a specific issue)
[x] New feature (change which adds a feature requested in a specific issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (improved documentation for existing functionality in the package)
[ ] Repository update (change related to non-package files or structures in the GitHub repository)
Description
This selects the intersection method in the rasterize function based on geometry types. Polygons and MultiPolygons use intersection of pixel centroids, (Multi)Lines and (Multi)Points use touch. Note: If at least one (Multi)LinesPolygon is in there, centroid intersection is used. See the following issue for more details.
Relates to #20
Type of change
Select one or more relevant options:
Checklist: