Skip to content

Add addtional AddRaster nodes at runtime #207#208

Open
Chamlika wants to merge 1 commit into
masterfrom
chs_ar_dynamic_207
Open

Add addtional AddRaster nodes at runtime #207#208
Chamlika wants to merge 1 commit into
masterfrom
chs_ar_dynamic_207

Conversation

@Chamlika

@Chamlika Chamlika commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Sample usage from within the user function.

    def update(self, data):
        base = data[
            "base"
        ] 
        dynamic_data = {
            "AR": [
                {
                    "data_path": "c:/temp",
                    "filter": "*",
                    "dataset_id":"007",
                    "raster_type":"Table / Raster Catalog"
                },
                {
                    "data_path": "c:/temp",
                    "filter": "*",
                    "dataset_id":"008",
                    "raster_type":"Raster Dataset"
                }
            ]
        }
        ret = base.add_raster_nodes(dynamic_data)
        return ret

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants