Select to view content in your preferred language

Can a raster service be used as input to a GPK that uses the LOS tool?

08-27-2015 07:24 AM
Esri Contributor

I'm looking into Runtime SDK 10.2.6 for .NET if it can support using raster services as input to a GPK that uses the line of sight tool.  I created a model and generated a GPK from a successful run.  The local server shows the service input as type GPRasterDataLayer and this is supported by the GPRasterData object.  Can you create a GPRasterData parameter with a url to a service?

Trying to use

I get the following {"Error code '400' : 'Unable to complete operation.'"}

0 Kudos
2 Replies
Regular Contributor II


From my understanding you cannot create GPRasterData parameter from (elevation) service so using it as a parameter for a runtime GP model won't work.

0 Kudos
Occasional Contributor

Did you ever figure out how to create the GPRasterData using the service path?

0 Kudos