Esri / Esri/raster-functions

How to reference a field value in mosaic table to use in Python RFT

Open
#81 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
204
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Hi,
I made a simple Python RFT chained with another RFT template. I use a Rasterize Feature to access a value inside a feature table. Then I am able to apply my python RFT to a mosaic. But It is not optimal for me.
I would like to directly use this numeric value stored in a field of my mosaic (this value can change from one raster to another inside the mosaic).
I made lot of test but unsuccessful.
Does someone has an idea on how to do that ?

thanks for your help.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the chained Python RFT using Rasterize Feature and the mosaic field value described in the issue. Review how mosaic attributes are exposed to raster functions, then verify that the numeric value can be passed directly and varies correctly for each raster.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.