You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">mapscript.</span></span><spanclass="sig-name descname"><spanclass="pre">shapeObj</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">type:</span><spanclass="pre">int</span><spanclass="pre">=</span><spanclass="pre"><MagicMock</span><spanclass="pre">id='139944054979024'></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#mapscript.shapeObj" title="Link to this definition">¶</a></dt>
131
+
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">mapscript.</span></span><spanclass="sig-name descname"><spanclass="pre">shapeObj</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">type:</span><spanclass="pre">int</span><spanclass="pre">=</span><spanclass="pre"><MagicMock</span><spanclass="pre">id='140427245074848'></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#mapscript.shapeObj" title="Link to this definition">¶</a></dt>
132
132
<dd><p>Each feature of a layer’s data is a <aclass="reference internal" href="#mapscript.shapeObj" title="mapscript.shapeObj"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">shapeObj</span></code></a>. Each part of the shape is
<spanclass="sig-name descname"><spanclass="pre">__init__</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">type:</span><spanclass="pre">int</span><spanclass="pre">=</span><spanclass="pre"><MagicMock</span><spanclass="pre">id='139944054979024'></span></span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../../../_modules/mapscript/mapscript.html#shapeObj.__init__"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#mapscript.shapeObj.__init__" title="Link to this definition">¶</a></dt>
189
+
<spanclass="sig-name descname"><spanclass="pre">__init__</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">type:</span><spanclass="pre">int</span><spanclass="pre">=</span><spanclass="pre"><MagicMock</span><spanclass="pre">id='140427245074848'></span></span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../../../_modules/mapscript/mapscript.html#shapeObj.__init__"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#mapscript.shapeObj.__init__" title="Link to this definition">¶</a></dt>
190
190
<dd><p>Return a new shapeObj of the specified type. See the type attribute.
191
191
No attribute values created by default.
192
192
initValues should be explicitly called to create the required number of values.
<td><p>(since 8.4) Use <codeclass="docutils literal notranslate"><spanclass="pre">MAP</span></code><codeclass="docutils literal notranslate"><spanclass="pre">EXTENT</span></code> as a spatial filter if no bbox is in the request.
391
+
Setting to <codeclass="docutils literal notranslate"><spanclass="pre">"false"</span></code> can improve performance.
392
+
See also <aclass="reference internal" href="wfs_server.html#wfs-use-default-extent-for-getfeature"><spanclass="std std-ref">wfs_use_default_extent_for_getfeature</span></a>.</p></td>
393
+
</tr>
387
394
</tbody>
388
395
</table>
389
396
</section>
@@ -447,6 +454,7 @@ <h4>Example OGC API Server Mapfile<a class="headerlink" href="#example-ogc-api-s
<dt><strong>wfs_use_default_extent_for_getfeature</strong></dt><dd><p>(Optional, since MapServer 7.0.4) Whether the MAP.EXTENT should be used in
1249
1249
request to datasources in the absence of other spatial filter. This is the
1250
1250
default behaviour, but this might affect performance in some use cases. In
1251
-
those cases, setting this item to “false” will avoid he default spatial filter to
1252
-
be appended to the request. This is only implemented for OGR datasources (since 7.0.4)
1253
-
and MSSQL2008 connections (since 7.6)</p>
1251
+
those cases, setting this item to “false” will avoid the default spatial filter to
1252
+
be appended to the request. This is only implemented for OGR datasources (since 7.0.4),
1253
+
MSSQL2008 (since 7.6), and PostGIS connections (since 8.4).
1254
+
Use <strong>ows_use_default_extent_for_getfeature</strong> to set for both WFS and <aclass="reference internal" href="ogc_api.html#ogcapi"><spanclass="std std-ref">OGC API : Features</span></a>.</p>
0 commit comments