Resources
Resources
It's useful to understand the common terminology and resources that compose the GeoServices API.
URI structure
The GeoServices REST API follows a common structure.
http://{host}/{site}/rest/services/{folder}/{serviceName}/{serviceType}/{layerIndex}
For example the layer "DC Public Schools" has the URI address of: http://maps2.dcgis.dc.gov/dcgis/rest/services/DCGIS_DATA/Education_WebMercator/MapServer/5
- Server
- a web server that connects a database and provides many services.
- Folder
- a collection of Services organized by a topic.
- Service a high-level container of many layers, _e.g. Education_. A Service is often a thematic grouping of ldters. Examples include `FeatureServer`, `MapServer`, `ImageServer`</dd>
- Layer
- a collection of data that have a common schema, _e.g. Public Schools in DC_. Layers are addressed as their index, starting at 0. A Layer has many features. aka Dataset
- Feature
- an individual location, e.g. a School. A Feature has a geometry and many attributes.
- Attribute
- an aspect of a feature, e.g. Number of Students. An attribute can be a string, number, timestamp, id, or blob.