Spatial Analysis

Calculates classification ranges over a numeric expression for a named table

Calculates classification ranges (bins) over a numeric expression for the specified named table. Replaces the legacy Spectrum Spatial REST endpoint GET /rest/Spatial/FeatureService/internal/tables/{tableName}/ranges.json.

get/v1/spatial/internal/tables/ranges

Request

  • Base URL: https://api.cloud.precisely.com
  • URL: https://api.cloud.precisely.com/v1/spatial/internal/tables/ranges
  • Auth: one of:
    • bearerAuth (a scheme the document does not define)
    • ApiKeyAuth (a scheme the document does not define)

Query parameters

tableNamestring required

Full named table path (with leading slash).

expressionstring

The field name or expression to compute ranges over.

typestring

The range type: EqualCount, EqualRange, NaturalBreak, StandardDeviation, or BiQuantile (case sensitive).

numRangesinteger required

The number of ranges to generate; must be between 2 and 100.

roundBynumber

Optional rounding factor for range boundaries (0 to 100000000); defaults to 0.

quantileExprstring

Must be omitted or equal to expression; a differing value is rejected with a 400 response.

ignoreZeroboolean

If true, excludes zero-value records from range calculation; defaults to false.

Headers

X-Request-Idstring

The X-Request-Id header is optional but helpful for tracking requests. It acts as a unique identifier for troubleshooting and debugging issues effectively. Maximum length: 38 characters.Example: e02f00d5-e3a9-4fd6-aen1-3e5451abee46

Response

Successfully calculated the named table ranges

Changes

No recorded changes to this operation across all 1 revision of this API.