Function postgis_diesel::functions_nullable::st_segmentize

source ยท
pub fn st_segmentize<G: GeoType, geometry, max_segment_length>(
    geometry: geometry,
    max_segment_length: max_segment_length,
) -> st_segmentize<G, <geometry as AsExpression<Nullable<G>>>::Expression, <max_segment_length as AsExpression<Double>>::Expression>
where geometry: AsExpression<Nullable<G>>, max_segment_length: AsExpression<Double>,
Expand description

Returns a modified geometry having no segment longer than the given max_segment_length. Distance computation is performed in 2d only. For geometry, length units are in units of spatial reference. For geography, units are in meters.