Features - Result Type

speccustomimplproposal

Adds a query parameter to return only the number of features matched by a request.

Scope

Query Parameters

NameResourcesDescription
result-type
Features
This parameter is only enabled for SQL feature providers with computeNumberMatched enabled. One of hits and items. items returns the features, hits returns no features, but only the information about the number features matched by the request. For feature formats that do not support returning the number of matched features, hits will be rejected. hitsOnly is a deprecated alias for hits.

Configuration

Options

NameDefaultDescriptionTypeSince
buildingBlock
Always RESULT_TYPE.
string
v2.0
enabled
false
Enable the building block?
boolean
v2.0

Examples


- buildingBlock: RESULT_TYPE
  enabled: true