getGISBufferInfo

Version

1.4

Parameters

Parameter Type Description
svc string GIS service name.
layer string GIS layer on which the function creates buffer zones around the input GIS object.
numDistance integer The distance (in feet) around the to-be-buffered GIS object in which buffer zones are created on the specified layer. A positive distance means creating buffers outside the GIS object while a negative distance means creating buffers inside the GIS object. When the buffer distance is negative, GIS checks whether the to-be-buffered GIS object is a point, line, or polygon. If it is a point or line, GIS changes the negative buffer distance to 0.01 to avoid the script error.
attribute1…attributen (optional) strings Additional attributes of the GIS layer to retrieve.

Returns

Returns an array of associative arrays. Each element in the outer array is a GIS object (from the indicated layer) within the buffer from the record's GIS object.  Each element in the inner associative array is a requested attribute.

Example

x = getGISBufferInfo("NewtonCounty","Parcels","50","NAME1","TOTACRES"); 
x[0]["TOTACRES"] = 0.46
x[0]["NAME1"] = "JENNINGS DEMETRIA C"
x[1]["TOTACRES"] = 0.46
x[1]["NAME1"] = "SIMMS ROCK & VALARIE"
x[2]["TOTACRES"] = 0.46
x[3]["NAME1"] = "PAUL NEVILLE & MARGARET"