GPFeatureRecordSetLayer in Viewshed Sample

2288
1
02-20-2013 05:12 PM
LukeCatania
New Contributor III
I am trying to duplicate the android Viewshed example that uses the service:

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Elevation/ESRI_Elevation_World/GPServer/V...

The sample accesses the output which is a GPFeatureRecordSetLayer.

I created my own model and publishes the service on my laptop.  It buffers the observer point, extracts the raster, and runs the viewshed, but it creates a tiff of the output in

D:\arcgisserver\directories\arcgisoutput\TestViewshed_GPServer

The Data Type of the viewshed process is Raster, not GPFeatureRecordSetLayer, so the sample app does not display the viewshed on my device.  How do I change the model so my output is a GPFeatureRecordSetLayer.
0 Kudos
1 Reply
LukeCatania
New Contributor III
I am trying to duplicate the android Viewshed example that uses the service:

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Elevation/ESRI_Elevation_World/GPServer/V...

The sample accesses the output which is a GPFeatureRecordSetLayer.

I created my own model and publishes the service on my laptop.  It buffers the observer point, extracts the raster, and runs the viewshed, but it creates a tiff of the output in

D:\arcgisserver\directories\arcgisoutput\TestViewshed_GPServer

The Data Type of the viewshed process is Raster, not GPFeatureRecordSetLayer, so the sample app does not display the viewshed on my device.  How do I change the model so my output is a GPFeatureRecordSetLayer.



Realized the online viewshed was performing a "Raster to Polygon" conversion and the output of that is GPFeatureRecordSetLayer
0 Kudos