-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ArcGIS FeatureServer Link #27
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,6 +137,17 @@ Links to a [TileJSON](https://github.com/mapbox/tilejson-spec) document. | |
| href | string | **REQUIRED**. Link to the valid TileJSON document. | | ||
| type | string | Recommended to be set to `application/json`. | | ||
|
||
### FeatureServer | ||
|
||
Links to a [ArcGIS FeatureServer](https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/) service. | ||
|
||
| Field Name | Type | Description | | ||
| --------------- | -------------------- | ----------- | | ||
| rel | string | **REQUIRED**. Must be set to `featureserver`. | | ||
| href | string | **REQUIRED**. Link to a FeatureServer service. Usually has the following form `https://<root>/<serviceName>/FeatureServer` | | ||
| type | string | Recommended to be set to `application/json` | | ||
| featureserver:layers | Map<string, string> | The layers included in the service. The key should be used as the `LayerId` when querying the service. For example: `https://<root>/<serviceName>/FeatureServer/<layerId>/query` | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What purpose do the values have here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see that the key is used in the URL template, but the value is just for visualization purposes then? I don't see that being used directly... |
||
|
||
### General | ||
|
||
The following field applies to multiple types of web mapping services: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,6 +165,31 @@ | |
} | ||
} | ||
} | ||
}, | ||
{ | ||
"$comment": "Defines FeatureServer links", | ||
"if": { | ||
"properties": { | ||
"rel": { | ||
"const": "featureserver" | ||
} | ||
} | ||
}, | ||
"then": { | ||
"properties": { | ||
"pmtiles:layers": { | ||
"type": "object", | ||
"items": { | ||
"type": "string", | ||
"minItems": 1, | ||
"items": { | ||
"type": "string", | ||
"minLength": 1 | ||
Comment on lines
+178
to
+187
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The schema is wrong. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will look at this again |
||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that a well-known standard or is the only software for this ArcGIS? If not, I'd propose to switch to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is specific to Arcgis only. Agree.