0

Am I doing this wrong? I need to create hillshades for a set of raster, but I want the hillshades to retain the raster's original name. I used parse path for that, however there are names that are more than 13 characters so I used calculate value to edit the names. I used the expression r"%Value%".replace("-",""). It worked, I could see from the output that the value changed, however the hillshade does not adopt the naming even if I used %Value%. enter image description here

Here is my model. I preconditioned everything so that the hillshade will be the last process. enter image description here

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Feb 13, 2014 at 5:57

1 Answer 1

3

From your graphic it looks like you should use %output_value%, instead of %Value%? Value is the original name of the raster.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
answered Feb 13, 2014 at 6:33

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.