Cannot write to raster

11-10-2017 01:48 PM
New Contributor


I'm trying to write data to Raster. Even though the raster is editable, the result is always exactly the same as input. Am I missing something?

Code snippet:

Thank You for help

0 Kudos
1 Reply
Esri Contributor

The code looks good, just keep in mind that the raster and the raster dataset are different things, and that the raster is a transient entity. Take a quick look at the raster concepts page for the Pro SDK ProConcepts Raster · Esri/arcgis-pro-sdk Wiki · GitHub 

Save your manipulated raster out to disk and you will see the changes of your write operation.

- Thomas

0 Kudos