My current raster has positive values for all features but I need them all to be negative as it is for a seafloor basin. A handful of values are negative but most are positive. I have access to ArcGIS Pro.
-
When you say a handful of values are negative, are these correctly negative? Are the other values the correct number, just positive when they should be negative? Please edit your question to add more details about what you have, what you've tried, and where you are getting stuck.– ycartwhelenSep 3, 2020 at 13:07
-
yes, they all need to be negative. But only some of the values in the original data have the negative value. All of them need to have it as the surface is below sea level– communityecologistSep 3, 2020 at 13:08
1 Answer
Use the Conditional tool (either by itself or within Raster Calculator) to say "If value > 0 then multiply by -1; otherwise leave the original value alone". It should look something like this:
Con(raster > 0, raster*-1, raster)
-
Thank you very much; this was simple and worked! i appreciate your help Sep 3, 2020 at 14:17
-
1Great! When you find an answer that works the best thing to do is accept it (click the check mark on the left side of the answer, just below the voting arrows). This marks that a solution has been found, and removes it from the Unanswered Questions list. Sep 3, 2020 at 14:55