Get Layers
http://gisapps.co.union.nc.us/ws/rest/v2/geo_getlayers.ashx
Description
List the geo layers in PostGIS.
Service Arguments
| PARAMETER | DESCRIPTION |
|---|---|
| format | Format for the output (xml or json) |
Service Output
| PARAMETER | DESCRIPTION |
|---|---|
| layer_name | The name of the geotable. |
| srid | The SRID of the layer. |
| geom_type | The type of geometry contained in geotable. |
Sample Output
Sample XML Output
<rows count="6"> <row> <column name="layer_name">address_points</column> <column name="srid">2264</column> <column name="geom_type">2264</POINT> </row> <row> <column name="layer_name">parcels</column> <column name="srid">2264</column> <column name="geom_type">2264</MULTIPOLYGON> </row> <row> <column name="layer_name">subdivisions</column> <column name="srid">2264</column> <column name="geom_type">2264</MULTIPOLYGON> </row> </rows>
Sample JSON Output
{rows:[
{layer_name:"address_points",srid:"2264"},
{layer_name:"parcels",srid:"2264"},
{layer_name:"subdivisions",srid:"2264"}
]}