Attribute Query
http://gisapps.co.union.nc.us/ws/rest/v2/geo_attributequery.ashx
Description
Performs an attribute query on one or more geotables.
Service Arguments
| PARAMETER | DESCRIPTION |
|---|---|
| geotable | The name of the geotable(s) to perform the query on |
| fields | Comma delimited list of fields to be returned |
| parameters | SQL where parameters |
| order | The field(s) to order the return by |
| 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, 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:""}
]}