opengeospatial / opengeospatial/ogcapi-features

Support response that returns only the ids of the selected features

Open
#13 14 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Part 6: Property Selection
Dominant language
CSS
Stars
386
Forks
92
Avg merge
3d 4h
Merged PRs (30d)
15

Description

The following was implementation feedback from using an implementation:

If a client already has a copy of the relevant features locally, a query to a feature collection would only need to return the feature ids, not the whole features. This can reduce network load and improve application performance.

This could be implemented in several ways. One option could be to use resultType=ids. However, to be consistent with the media types, this would still need to be a feature collection (but without geometries or other properties). In that sense it would be a special projection case and could also be handled in the extension that will cover the projection capability.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the proposed resultType=ids behavior and the media-type requirement for a feature collection without geometries or properties. Compare this with the projection extension mentioned in the issue, then define the chosen approach and its response semantics as the completion criteria.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.