Skip to content

Comments

v.rast.stats: Mask is simply used, not touched#5002

Merged
petrasovaa merged 3 commits intoOSGeo:mainfrom
wenzeslaus:v_rast_stats-do-not-mention-mask
Jan 29, 2025
Merged

v.rast.stats: Mask is simply used, not touched#5002
petrasovaa merged 3 commits intoOSGeo:mainfrom
wenzeslaus:v_rast_stats-do-not-mention-mask

Conversation

@wenzeslaus
Copy link
Member

@wenzeslaus wenzeslaus commented Jan 27, 2025

Since 9b03a3c, v.rast.stats is using r.univar zones instead of looping through categories with individual masked r.univar calls. The note about restoring raster mask does not apply since the mask is not touched. It is just used in the background as with any other tool.

The raster grid alignment is modified by a g.region call with align, so that still applies, but the temporary part is not true anymore. It is purely internal instead.

Since 9b03a3c, v.rast.stats is using r.univar zones instead of looping through categories with individual masked r.univar calls. The note about restoring raster mask does not apply since the mask is not touched. It is just used in the background as with any other tool.
Since 9b03a3c, v.rast.stats is using r.univar zones instead of looping through categories with individual masked r.univar calls. The note about restoring raster mask does not apply since the mask is not touched. It is just used in the background as with any other tool.

The raster grid alignment is modified by a g.region call with align, so that still applies, but the temporary part is not true anymore. It is purely internal instead.
@github-actions github-actions bot added vector Related to vector data processing Python Related code is in Python HTML Related code is in HTML module docs labels Jan 27, 2025
@petrasovaa petrasovaa changed the title v rast stats do not mention mask v.rast.stats: Mask is simply used, not touched Jan 28, 2025
@petrasovaa petrasovaa enabled auto-merge (squash) January 28, 2025 16:01
@petrasovaa petrasovaa added this to the 8.5.0 milestone Jan 28, 2025
@petrasovaa petrasovaa merged commit 5626d0f into OSGeo:main Jan 29, 2025
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs HTML Related code is in HTML module Python Related code is in Python vector Related to vector data processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants