Parameter: Output_Polygons
Data Type: GPFeatureRecordSetLayer
Display Name: Output Polygons
Direction: esriGPParameterDirectionOutput
Default Value:
Geometry Type: esriGeometryPoint
Spatial Reference: 4326
<?xml version="1.0"?> <configuration label="Buffer Tool"> <taskurl>http://nsesribap01vm/ArcGIS/rest/services/BufferService/GPServer/Buffer%20Points</taskurl> <inputparams> <param name="PointEntry" geometrytype="point" label="Start location" required="true" type="featurerecordset" visible="true"> <renderer type="simple"> <defaultsymbol color="0xBEEFEE" size="15" type="simplemarker"> <outline width="2" color="0x00AADD"/> </defaultsymbol> </renderer> </param> <param name="Distance" defaultvalue="3:Miles" label="Buffer Distance" required="true" type="string" visible="false"/> </inputparams> <outputparams> <param name="BufferOuput" geometrytype="polygon" label="Output Buffer" required="true" type="featurerecordset" visible="true"> <renderer attribute="Site" type="uniquevalue"> <defaultsymbol alpha="0.5" color="0xFF00FF" type="simplefill"> <outline color="0x000000"/> </defaultsymbol> <infos> <symbol color="0xFF0000" type="simplefill" value=" "> <outline color="0x000000"/> </symbol> </infos> </renderer> </param> </outputparams> <layerorder>PointEntry, BufferOutput</layerorder> </configuration>
Ok, got the buffer tool running...thanks for the help!
Another question that is driving me crazy: How do I use a layer in a model on the server?! I can create a functional model....in this case one which does a buffer, selects points from a layer, then does summary statistics on those points.
However, I cannot upload this model and have it work. At best I can get it to return an empty record set. I can move the tool to the table of contents and reference a layer in the map, but then my publish fails.
The data extract widget is a good example of one which references multiple layers, but I don't know how it's done and as far as I can tell it is explained nowhere. Any help is very much appreciated!
Thank in advance,
Sean