From: Regina Obe Date: Thu, 23 Aug 2012 06:31:42 +0000 (+0000) Subject: document ST_Segmentize new geography function. Will provide example later. X-Git-Tag: 2.1.0beta2~688 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=393ce429828c6041523e05e9e92917f45891f989;p=postgis document ST_Segmentize new geography function. Will provide example later. git-svn-id: http://svn.osgeo.org/postgis/trunk@10196 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_editor.xml b/doc/reference_editor.xml index 5edbf6178..87a179de8 100644 --- a/doc/reference_editor.xml +++ b/doc/reference_editor.xml @@ -1218,17 +1218,22 @@ SELECT ST_AsEWKT(ST_Scale(ST_GeomFromEWKT('LINESTRING(1 2 3, 1 1 1)'), 0.5, 0.75 ST_Segmentize - Return a modified geometry having no segment longer than the + Return a modified geometry/geography having no segment longer than the given distance. Distance computation is performed in 2d - only. + only. For geometry, length units are in units of spatial reference. For geography, units are in meters. geometry ST_Segmentize - geometry geomA - float max_length + geometry geom + float max_segment_length + + + geometry ST_Segmentize + geography geog + float max_segment_length @@ -1237,9 +1242,10 @@ SELECT ST_AsEWKT(ST_Scale(ST_GeomFromEWKT('LINESTRING(1 2 3, 1 1 1)'), 0.5, 0.75 Description Returns a modified geometry having no segment longer than the - given distance. Distance computation is performed in 2d - only. + 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. Availability: 1.2.2 + Enhanced: 2.1.0 support for geography was introduced. This will only increase segments. It will not lengthen segments shorter than max length