Skip to content

Main content

Feature ID Boolean Rejection Tool

Classify one JSON-encoded GeoJSON feature id; only a string or finite number is accepted.

Loading tool…

Description

Parse an ID JSON value, label null and arrays separately, and return validIdentifier only for a string or finite number.

Feature properties and foreign members are JSON metadata, distinct from the geometry coordinates. Exact key operations and ID type checks can preserve useful distinctions, but do not independently authenticate records or validate an entire Feature.

Parse an ID JSON value, label null and arrays separately, and return validIdentifier only for a string or finite number.

When to use this tool

Use Feature ID Boolean Rejection when you need a literal GeoJSON metadata, identifier, or shallow-key operation.

How to use the tool and how it works

  1. Enter json. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read validIdentifier, kind. Inspect validIdentifier before interpreting the associated values.

Parse an ID JSON value, label null and arrays separately, and return validIdentifier only for a string or finite number.1

Input fieldMeaning and unitsAccepted input
jsonJsonRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
validIdentifierWhether the parsed value has an accepted identifier type.Required. Boolean.
kindKindRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "json": "true"
  },
  "output": {
    "validIdentifier": false,
    "kind": "boolean"
  }
}

Limitations and assumptions

  • A boolean is a successfully parsed value that returns false, rather than malformed tool input. No enclosing Feature, uniqueness, or numeric precision guarantee is checked.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Validate the complete Feature and its intended data model after editing. Preserve identifier precision and distinguish null values, absent members, collisions, and nested properties explicitly.

References

  1. Calculation and input contract: geojson/feature-id-boolean-rejection — tool.io

Similar or alternative tools