2

I have a GP service I would like to consume in a Flex application, but one of the input data types can be a raster. ArcGIS Server does not support a raster data type as an input parameter, but according to their documentation here - Input and Output Data Types - you can create a variable in your model/script of type String and convert that into the data type your model requires. In their example they use an Areal Unit, but I need to convert to a raster dataset/raster layer. How would I implement this?

asked Oct 5, 2011 at 15:12

1 Answer 1

0

If I'm reading the docs correctly, isn't it just a matter of selecting "Raster Dataset" from the Data type dropdown and feeding in your string value as the Expression, and that will convert it from string to raster?

enter image description here

answered Oct 5, 2011 at 15:49
1
  • I've tried that, but I have run into two issues: 1) The String representation of a raster dataset is the catalogPath. When I use that as the value for the string I get a syntax error. 2) I have no idea what to do with the output, it just says "1" and cannot be changed Commented Oct 5, 2011 at 17:29

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.