]> granicus.if.org Git - postgis/commitdiff
Use ansi standard names for arg types for ST_AsMVT and ST_AsMVTGeom to be consistent...
authorRegina Obe <lr@pcorp.us>
Fri, 22 Sep 2017 14:03:29 +0000 (14:03 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 22 Sep 2017 14:03:29 +0000 (14:03 +0000)
More adjustments to support garden testing ST_AsMVT and ST_AsMVTGeom
Closes #3858

git-svn-id: http://svn.osgeo.org/postgis/trunk@15794 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_output.xml

index 2b2ee8bb3766f7c11337ec1da230e23dd1104372..a859248d0c75ded3c10ca6cd4a66068d23a72edb 100644 (file)
@@ -1360,9 +1360,9 @@ SELECT ST_GeoHash(ST_SetSRID(ST_MakePoint(-126,48),4326),5);
                                <funcdef>geometry <function>ST_AsMVTGeom</function></funcdef>
                                <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef>
                                <paramdef><type>box2d </type> <parameter>bounds</parameter></paramdef>
-                               <paramdef choice="opt"><type>int4 </type> <parameter>extent=4096</parameter></paramdef>
-                               <paramdef choice="opt"><type>int4 </type> <parameter>buffer=256</parameter></paramdef>
-                               <paramdef choice="opt"><type>bool </type> <parameter>clip_geom=true</parameter></paramdef>
+                               <paramdef choice="opt"><type>integer </type> <parameter>extent=4096</parameter></paramdef>
+                               <paramdef choice="opt"><type>integer </type> <parameter>buffer=256</parameter></paramdef>
+                               <paramdef choice="opt"><type>boolean </type> <parameter>clip_geom=true</parameter></paramdef>
                        </funcprototype>
                </funcsynopsis>
          </refsynopsisdiv>
@@ -1419,13 +1419,13 @@ SELECT ST_GeoHash(ST_SetSRID(ST_MakePoint(-126,48),4326),5);
                                <funcdef>bytea <function>ST_AsMVT</function></funcdef>
                                <paramdef><type>anyelement </type> <parameter>row</parameter></paramdef>
                                <paramdef><type>text </type> <parameter>name</parameter></paramdef>
-                               <paramdef><type>int4 </type> <parameter>extent</parameter></paramdef>
+                               <paramdef><type>integer </type> <parameter>extent</parameter></paramdef>
                        </funcprototype>
                        <funcprototype>
                                <funcdef>bytea <function>ST_AsMVT</function></funcdef>
                                <paramdef><type>anyelement </type> <parameter>row</parameter></paramdef>
                                <paramdef><type>text </type> <parameter>name</parameter></paramdef>
-                               <paramdef><type>int4 </type> <parameter>extent</parameter></paramdef>
+                               <paramdef><type>integer </type> <parameter>extent</parameter></paramdef>
                                <paramdef><type>text </type> <parameter>geom_name</parameter></paramdef>
                        </funcprototype>
                </funcsynopsis>
@@ -1446,6 +1446,10 @@ SELECT ST_GeoHash(ST_SetSRID(ST_MakePoint(-126,48),4326),5);
                deep. The keys and values in the object will be parsed into feature attributes.
                </para>
 
+               <important>
+                       <para>Do not call with a <varname>GEOMETRYCOLLECTION</varname> as an element in the row. However you can use <xref linkend="ST_AsMVTGeom" /> to prep a geometry collection for inclusion.</para>
+               </important>
+
          <para><varname>row</varname> row data with at least a geometry column.</para>
                <para><varname>name</varname> is the name of the Layer. If NULL it will use the string "default".</para>
                <para><varname>extent</varname> is the tile extent in screen space as defined by the specification. If NULL it will default to 4096.</para>