Select to view content in your preferred language

OGC Feature Selection

57
0
Wednesday
Labels (1)
TimScheiber
Occasional Contributor

Hi,

Is there a way to retrieve individual features by ID from an OGC API - Features Service?

I have a list of feature IDs from an OGC API Feature Collection and want to select or highlight specific features on my map programmatically.

The issue is that I can't query features using the endpoint /collections/{collectionId}/items/{featureId}, as I can't find a way to do this with ArcGIS natively. Is there a solution for this?

For other feature layers like WFS, I’ve implemented selection using WfsFeatureTable.PopulateFromServiceAsync with an ID filter to return the desired feature. However, this doesn't work with all OGC APIs because the unique ID isn’t queryable in some cases. For example, see this service: https://demo.ldproxy.net/daraa/collections/TransportationGroundCrv/queryables.

Can I achieve this selection using the ArcGIS Maps SDK without manually implementing HTTPS requests?

0 Kudos
0 Replies