ISO TC 211 Geographic information/Geomatics Committee site

ISO/TC 211 Geolexica

Concept type coercion <programming>”

Term ID

2255

source

ISO 19107:2019, (E), 3.102

eng

type coercion <programming>

conversion of one type of value to a value of a different type with similar content

Note to entry: Point and DirectPosition are informationally identical (related to each other in a one to one fashion) in this context. Given a DirectPosition, a Point can be constructed. Given a Point, a DirectPosition can be derived from of its coordinates. If coercion is supported, a Point may be used where a DirectPosition is requested, and vice versa. Most programming languages use coercion, but others use "cast" operators (a type of constructor) requiring the programmer to initiate the coercion. "Strong substantiality" is related in that a subtype instance can always be coerced to any of its supertypes.

ORIGIN: ISO/TC 211 Glossary of Terms - English (last updated: 2020-06-02)

JSON

/api/concepts/2255.json

SKOS in JSON-LD

/api/concepts/2255.jsonld

SKOS in RDF

/api/concepts/2255.ttl

info

  • status: valid
  • classification: preferred
  • date accepted: 2019-12-02

Review

last review performed:
(2019-12-02)
status:
final
decision:
accepted
decision event:
Normal ISO processing
notes:
Publication of document ISO 19107:2019(E)