Skip to main content

point_component

Function point_component 

Source
pub fn point_component(p: &PointValue, key: &str) -> Result<Value, Error>
Expand description

One component accessor of a point (p.x, p.longitude, p.crs, …) — the one point-accessor vocabulary, the data-model sibling of the temporal accessor (crate::temporal::Temporal::component): a key no component names is the same typed rejection the temporal reader answers, never a silently null read. The coordinate aliases (x is longitude) are the shared axis vocabulary beside PointValue.

Which axis spellings a point exposes is live Neo4j 2026.10.1’s rule (probed 2026-11-11): a cartesian point has only the cartesian spellings (x/y/z), a geographic point accepts both (x and longitude, …), and the third axis exists only on a 3D point. An unavailable spelling is ArgumentError “Field: is not available”, not a null read.