Function postgis_diesel::functions::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, max_segment_length>
where geometry: AsExpression<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.