Skip to main content

point

Function point 

Source
pub const fn point(lng: f64, lat: f64) -> SpatialPoint
Expand description

Geographic point (WGS-84 lng/lat). The naming follows the PostGIS ST_MakePoint(x, y) convention — lng is the X axis (longitude), lat is the Y axis (latitude). Don’t accidentally swap them; the engine has no way to detect it and your filter will silently match points across the world.