<refnamediv>
<refname>ST_Segmentize</refname>
- <refpurpose>Return a modified geometry having no segment longer than the
+ <refpurpose>Return a modified geometry/geography having no segment longer than the
given distance. Distance computation is performed in 2d
- only.</refpurpose>
+ only. For geometry, length units are in units of spatial reference. For geography, units are in meters.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>geometry <function>ST_Segmentize</function></funcdef>
- <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>
- <paramdef><type>float </type> <parameter>max_length</parameter></paramdef>
+ <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef>
+ <paramdef><type>float </type> <parameter>max_segment_length</parameter></paramdef>
+ </funcprototype>
+ <funcprototype>
+ <funcdef>geometry <function>ST_Segmentize</function></funcdef>
+ <paramdef><type>geography </type> <parameter>geog</parameter></paramdef>
+ <paramdef><type>float </type> <parameter>max_segment_length</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<title>Description</title>
<para>Returns a modified geometry having no segment longer than the
- given distance. Distance computation is performed in 2d
- only. </para>
+ given <varname>max_segment_length</varname>. Distance computation is performed in 2d
+ only. For geometry, length units are in units of spatial reference. For geography, units are in meters.</para>
<para>Availability: 1.2.2</para>
+ <para>Enhanced: 2.1.0 support for geography was introduced.</para>
<note><para>This will only increase segments. It will not lengthen segments shorter than
max length</para></note>
</refsection>