Conversation
|
@m-mohr do you have any thoughts/comments on this PR? |
| | 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.
What purpose do the values have here?
There was a problem hiding this comment.
href and featureserver:layers can be used by a client to determine which layers are available for query directly without having to recursively search for layers in the json response.
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
Yes that's correct the layer key would be used for the featureserver query i.e. https://machine.domain.com/webadaptor/rest/services/Earthquakes/EarthquakesFromLastSevenDays/FeatureServer/0/query?... where "0" is the layer id. The value would be used for visualization labels for example.
Description
The NASA Impact VEDA project is working on referencing ArcGIS datasets in our STAC Catalog. We are doing this through the pyarc2stac library that gathers ArcGIS metadata and creates STAC collections. References to ArcGIS servers are captured in the Collection
linkslist while using the web-map-links extension.This PR adds FeatureServer as an option for web map links.