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

Implement the Mulibuffer Point Function #261

Open
Tracked by #260 ...
mvmaltitz opened this issue Sep 16, 2024 · 0 comments
Open
Tracked by #260 ...

Implement the Mulibuffer Point Function #261

mvmaltitz opened this issue Sep 16, 2024 · 0 comments
Assignees

Comments

@mvmaltitz
Copy link
Collaborator

mvmaltitz commented Sep 16, 2024

We need a function that generates buffers from a point at different increment buffer distances.

##Signature:
Grid(bbox, country_boundary, cellsize, output_path, crs, increment_values, input_point_layer)

##Inputs:
bbox - the grid aligned bounding box for the analysis area. e.g. if the grid size is 100m the length and width will be exactly divisible by 100m
country_boundary - a QgsVectorLayer of type polygon or multipart polygon. Areas outside of this boundary will be assigned nodata.
output_path - the place in the filesystem where the dataset should be written. ⚠️ If it already exists it will be overwritten without confirmation.
crs - typically a UTM zone for the analysis area. Should be m based.
cellsize - based on the analysis environment, typically 100m
increment_values - based on user input, these are the values that are going to be used to create the buffer. Maximum number of increment values = 5. The default should be 250, 500, 750, 1000, 1250
input_point_layer - the input point layer will be the center points of the buffer

##Outputs:
a QgsRasterLayer
The analysis will generate a new raster layer in the input CRS and dimensions of the input bbox and cell size. It will be assigned a value between 0 and 5. All values outside of the country_boundary will be assigned as no data values.
The suggested thresholds should be adjusted to:
0 to 250 meters: 5
251 to 500 meters: 4
501 to 750 meters: 3
751 to 1,000 meters: 2
1,001 to 1,250 meters: 1
Over 1,250 meters: 0

##Testing:
Prepare a small sample dataset for the boundary and verify that the buffer generates correctly

@mvmaltitz mvmaltitz changed the title Implement the buffer point function Implement the Mulibuffer Point Function Sep 16, 2024
@mvmaltitz mvmaltitz mentioned this issue Sep 16, 2024
41 tasks
@mvmaltitz mvmaltitz added this to the Code Improvements milestone Sep 16, 2024
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