Buffer Feature
http://gisapps.co.union.nc.us/ws/rest/v2/geo_bufferfeature.ashx
Description
Buffer a feature in one layer and return buffered features of the same or a different layer.
Service Arguments
| PARAMETER | DESCRIPTION |
|---|---|
| from_geotable | The geotable that has the feature(s) to buffer. Example: If you want to buffer a parcel by 500 feet, you would set parcels as the from_geotable. |
| to_geotable | The geotable that has the features you want selected by the buffered feature(s) of the from_geotable. |
| fields | Comma delimited list of fields to be returned. Fields from the to_geotable should be given the prefix 't', like t.precno, while fields from the from_geotable should have a prefix of 'f', like f.acctno. |
| parameters | SQL where parameters. Parameters for the from_table must have a 'f' prefix, and parameters for the to_table must have a 't' prefix. Example: f.acctno = '11111111'. |
| distance | The number of units to be buffered. The units are the units of the from_geotable SRID, and for Union County data will be feet. |
| limit | Limit to the number of features returned. If left blank, the default is to return all records. |
| format | Format for the output (xml, json, or geojson) |
Service Output
Service output is entirely dependant upon the fields parameter.
Sample Output
Sample XML Output
<rows count="3"> <row> <column name="acctno">04282008</column> <column name="owner1">MOSLEY RUSSELL J & WIFE TAMERA</column> </row> <row> <column name="acctno">04312013</column> <column name="owner1">MOSLEY RUSSELL J & WIFE TAMERA O</column> </row> <row> <column name="acctno">04312018</column> <column name"=owner1">MOSLEY RUSSELL J & WIFE TAMERA O</column> </row> </rows>
Sample JSON Output
{rows:[
{acctno:"04282008",owner1:"MOSLEY RUSSELL J & WIFE TAMERA",owner2:""},
{acctno:"04312013",owner1:"MOSLEY RUSSELL J & WIFE TAMERA O",owner2:""},
{acctno:"04312018",owner1:"MOSLEY RUSSELL J & WIFE TAMMY O",owner2:""}
]}