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 as AsExpression<G>>::Expression, <max_segment_length as AsExpression<Double>>::Expression>
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.