Cannot write to raster

386
1
11-10-2017 01:48 PM
JakubCech
New Contributor

Hello,

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: https://pastebin.com/Z89SVkD2

Thank You for help

0 Kudos
1 Reply
ThomasEmge
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