I would like to use the pixel values from a raster to proceed with different kind of analysis without converting to vector data. As you can see in the screenshot, in this case is the value from Band 0 (INT32) such as 50.
Best regards,
Felipe Verdú
I would like to use the pixel values from a raster to proceed with different kind of analysis without converting to vector data. As you can see in the screenshot, in this case is the value from Band 0 (INT32) such as 50.
Best regards,
Felipe Verdú
Hi @felipeverdu1
I believe you can use the transformer RasterCellCoercer and its possible to choose the point geometry.
Thanks,
Danilo
There is a similar question here: Extract Pixel from Raster
@felipeverdu1
You can create a point, offset or affine it by values like target_row,target_col. Using of course the raster extents (lower left corner for instance) and then use a PointOnRasterValueExtractor to extract the values at the target location.
@felipeverdu1
You can of course control the point creation any which way you like.
Still, GDAL or PIL (for python) can do pixel-targeting without having to create geometry first.
@felipeverdu1
You can of course control the point creation any which way you like.
Still, GDAL or PIL (for python) can do pixel-targeting without having to create geometry first.
There is a similar question here: Extract Pixel from Raster
I solved this thing using a RasterExpressionEvaluator. It was my little knowledge of implementing if statements in the expression evaluator what hinder my understanding. Thanks, @danilo_fme
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.