Last active
May 30, 2018 17:41
-
-
Save rgwozdz/5080e5e66ee1b3452bdb300602150247 to your computer and use it in GitHub Desktop.
Koop Provider metadata
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| metadata: { | |
| name: String, // The name of the layer | |
| description: String, // The description of the layer | |
| extent: Array, // valid extent array e.g. [[180,90],[-180,-90]] | |
| displayField: String, // The display field to be used by a client | |
| geometryType: String // REQUIRED if no features are returned with this object Point || MultiPoint || LineString || MultiLineString || Polygon || MultiPolygon | |
| idField: Integer || String, // unique identifier field, | |
| maxRecordCount: Number, // the maximum number of features a provider can return at once | |
| limitExceeded: Boolean, // whether or not the server has limited the features returned | |
| timeInfo: Object // describes the time extent and capabilities of the layer, | |
| transform: Object // describes a quantization transformation | |
| fields: [ | |
| { // Subkeys are optional | |
| name: String, | |
| type: String, // 'Date' || 'Double' || 'Integer' || 'String' | |
| alias: String, // how should clients display this field name | |
| length: Number // max length for a String or Date field (optional) | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment