-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
340 lines (273 loc) · 22.1 KB
/
index.html
File metadata and controls
340 lines (273 loc) · 22.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<!DOCTYPE html>
<html lang="ar" data-content_root="../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Optimization — MapServer 8.6.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx.css?v=48f05237" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx_collapse.css?v=226d88b4" />
<link rel="stylesheet" type="text/css" href="../_static/custom.css?v=dd298242" />
<link rel="stylesheet" type="text/css" href="../_static/ribbon.css?v=ea091bf4" />
<script src="../_static/jquery.js?v=5d32c60e"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../_static/documentation_options.js?v=7eca00c6"></script>
<script src="../_static/doctools.js?v=fd6eb6e6"></script>
<script src="../_static/sphinx_highlight.js?v=6ffebe34"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../_static/copybutton.js?v=f281be69"></script>
<script src="../_static/translations.js?v=87cb2081"></script>
<link rel="icon" href="../_static/mapserver.ico"/>
<link rel="author" title="About these documents" href="../about.html" />
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="بحث" href="../search.html" />
<link rel="copyright" title="الحقوق" href="../copyright.html" />
<link rel="next" title="Debugging MapServer" href="debugging.html" />
<link rel="prev" title="Working Around the LibXML2 XSD Schema GML Bug" href="../tinyows/libxmlschemagmlbug.html" />
</head><body>
<!-- for main branch only, do not backport this -->
<table width="100%" style="width: 100%; background-color: white;">
<tr>
<td rowspan="2" style="padding: 10px 0px 10px 10px;">
<a href="../index.html" title="Home"><img src="../_static/banner.png" alt="MapServer banner" border="0" /></a>
</td>
<td style="padding: 10px 10px 0px 0px; text-align: right; vertical-align: top;">
<a href="../index.html" title="Home">Home</a> |
<a href="../products.html" title="Products (MapServer core, MapCache, TinyOWS">Products</a> |
<a href="https://github.com/mapserver/mapserver/issues/" title="Issue Tracker (MapServer core)">Issue Tracker</a> |
<a href="../community/service_providers.html" title="Professional Service Providers">Service Providers</a> |
<a href="../faq.html" title="Frequently Asked Questions">FAQ</a> |
<a href="https://fosstodon.org/@mapserver" title="Mastodon" target="_blank">Mastodon</a> |
<a href="../download.html" title="Download Source or Binaries">Download </a> |
<a class="badge" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KRJ2X44N3HA6U&source=url" target="_blank">
<img src="https://img.shields.io/badge/donate-%E2%9D%A4%C2%A0-ff69b4.svg?style=flat" alt="Donate to MapServer">
</a>
</td>
</tr>
<tr>
<td style="padding: 0px 10px 0px 0px; text-align: right; vertical-align: bottom;">
<a href="../../optimization/index.html"><img src="../_static/flagicons/en.png" alt="en" title="en" border="0" /></a>
<img src="../_static/flagicons/ar.png" alt="ar" title="ar" border="0" width="18px" height="13px"/>
<a href="../../de/optimization/index.html"><img src="../_static/flagicons/de.png" alt="de" title="de" border="0" /></a>
<a href="../../el/optimization/index.html"><img src="../_static/flagicons/el.png" alt="el" title="el" border="0" /></a>
<a href="../../es/optimization/index.html"><img src="../_static/flagicons/es.png" alt="es" title="es" border="0" /></a>
<a href="../../fr/optimization/index.html"><img src="../_static/flagicons/fr.png" alt="fr" title="fr" border="0" /></a>
<a href="../../id/optimization/index.html"><img src="../_static/flagicons/id.png" alt="id" title="id" border="0" /></a>
<a href="../../it/optimization/index.html"><img src="../_static/flagicons/it.png" alt="it" title="it" border="0" /></a>
<a href="../../ja/optimization/index.html"><img src="../_static/flagicons/ja.png" alt="ja" title="ja" border="0" /></a>
<a href="../../nl_NL/optimization/index.html"><img src="../_static/flagicons/nl_NL.png" alt="nl_NL" title="nl_NL" border="0" /></a>
<a href="../../pl/optimization/index.html"><img src="../_static/flagicons/pl.png" alt="pl" title="pl" border="0" /></a>
<a href="../../ru/optimization/index.html"><img src="../_static/flagicons/ru.png" alt="ru" title="ru" border="0" /></a>
<a href="../../sq/optimization/index.html"><img src="../_static/flagicons/sq.png" alt="sq" title="sq" border="0" /></a>
<a href="../../tr/optimization/index.html"><img src="../_static/flagicons/tr.png" alt="tr" title="tr" border="0" /></a>
</td>
</tr>
</table>
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="الفهرس العام"
accesskey="I">الفهرس</a></li>
<li class="right" >
<a href="debugging.html" title="Debugging MapServer"
accesskey="N">التالي</a> |</li>
<li class="right" >
<a href="../tinyows/libxmlschemagmlbug.html" title="Working Around the LibXML2 XSD Schema GML Bug"
accesskey="P">السابق</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Home</a> »</li>
<li class="nav-item nav-item-1"><a href="../documentation.html" accesskey="U">MapServer 8.6.2 Documentation</a> »</li>
<li class="nav-item nav-item-this"><a href="">Optimization</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="optimization">
<span id="index-0"></span><span id="id1"></span><h1>Optimization<a class="headerlink" href="#optimization" title="Link to this heading">¶</a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="debugging.html">Debugging MapServer</a><ul>
<li class="toctree-l2"><a class="reference internal" href="debugging.html#introduction">Introduction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#links-to-related-information">Links to Related Information</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="debugging.html#steps-to-enable-mapserver-debugging">Steps to Enable MapServer Debugging</a><ul>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#step-1-set-the-ms-errorfile-variable">Step 1: Set the MS_ERRORFILE Variable</a></li>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#step-2-set-the-debug-level">Step 2: Set the DEBUG Level</a></li>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#step-3-turn-on-cpl-debug-optional">Step 3: Turn on CPL_DEBUG (optional)</a></li>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#step-4-turn-on-proj-debug-optional">Step 4: Turn on PROJ_DEBUG (optional)</a></li>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#step-5-test-your-mapfile">Step 5: Test your Mapfile</a></li>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#step-6-check-your-web-server-logs">Step 6: Check your Web Server Logs</a></li>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#step-7-verify-your-application-settings">Step 7: Verify your Application Settings</a></li>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#step-8-use-qgis-to-test-your-ogc-services">Step 8: Use QGIS to test your OGC services</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="debugging.html#debugging-mapserver-using-compiler-debugging-tools">Debugging MapServer using Compiler Debugging Tools</a><ul>
<li class="toctree-l3"><a class="reference internal" href="debugging.html#running-mapserver-in-gdb-linux-unix">Running MapServer in GDB (Linux/Unix)</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="debugging.html#debugging-older-versions-of-mapserver-before-5-0">Debugging Older Versions of MapServer (before 5.0)</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="environment_variables.html">Environment Variables</a><ul>
<li class="toctree-l2"><a class="reference internal" href="environment_variables.html#background">Background</a></li>
<li class="toctree-l2"><a class="reference internal" href="environment_variables.html#list-of-all-possible-mapserver-environment-variables">List of all possible MapServer Environment Variables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="fastcgi.html">FastCGI</a><ul>
<li class="toctree-l2"><a class="reference internal" href="fastcgi.html#introduction">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="fastcgi.html#obtaining-the-necessary-software">Obtaining the necessary software</a></li>
<li class="toctree-l2"><a class="reference internal" href="fastcgi.html#mod-fcgid-configuration">mod_fcgid Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="fastcgi.html#deprecated-mod-fcgi-configuration">Deprecated mod_fcgi Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="fastcgi.html#common-mod-fcgid-mod-fcgi-configuration">Common mod_fcgid/mod_fcgi Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="fastcgi.html#common-problems">Common Problems</a><ul>
<li class="toctree-l3"><a class="reference internal" href="fastcgi.html#file-permissions">File permissions</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="fastcgi.html#fastcgi-on-win32">FastCGI on Win32</a><ul>
<li class="toctree-l3"><a class="reference internal" href="fastcgi.html#ms4w-users">MS4W Users</a></li>
<li class="toctree-l3"><a class="reference internal" href="fastcgi.html#building-fcgi-2-4-0">Building fcgi-2.4.0</a></li>
<li class="toctree-l3"><a class="reference internal" href="fastcgi.html#binary-io-patch">Binary IO Patch</a></li>
<li class="toctree-l3"><a class="reference internal" href="fastcgi.html#building-libfcgi">Building libfcgi</a></li>
<li class="toctree-l3"><a class="reference internal" href="fastcgi.html#other-issues">Other Issues</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="limit_mapfile_access.html">Limit Mapfile Access</a><ul>
<li class="toctree-l2"><a class="reference internal" href="limit_mapfile_access.html#key-environment-variables">Key Environment Variables</a></li>
<li class="toctree-l2"><a class="reference internal" href="limit_mapfile_access.html#setting-environment-variables">Setting Environment Variables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="mapfile.html">Mapfile Tuning & Management</a><ul>
<li class="toctree-l2"><a class="reference internal" href="mapfile.html#introduction">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="mapfile.html#steps-to-possibly-review">Steps to Possibly Review</a><ul>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#use-a-mapserver-syntax-file-for-your-favorite-text-editor">1. Use a MapServer Syntax file for your Favorite Text Editor</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#testing-your-mapfile-for-speed">2. Testing your Mapfile for Speed</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#use-the-various-config-settings-for-debugging">3. Use the various CONFIG settings for debugging</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#test-the-full-map-request-through-the-mapserv-executable">4. Test the full Map Request through the mapserv Executable</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#projections">5. Projections</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#use-includes">6. Use INCLUDEs</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#layers">7. Layers</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#yes-data-formats-matter">8. Yes Data Formats Matter</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#enable-caching-through-mapcache">9. Enable Caching through MapCache</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#symbols">10. Symbols</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#fonts">11. Fonts</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#use-mapscript">12. Use MapScript</a></li>
<li class="toctree-l3"><a class="reference internal" href="mapfile.html#don-t-expose-your-map-path">13. Don't expose your MAP path</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="raster.html">Raster Management & Optimization</a><ul>
<li class="toctree-l2"><a class="reference internal" href="raster.html#choose-the-right-raster-format-for-your-needs">Choose the right raster format for your needs</a></li>
<li class="toctree-l2"><a class="reference internal" href="raster.html#spend-time-to-review-gdal-s-associated-driver-page-for-your-chosen-format">Spend time to review GDAL's associated driver page for your chosen format</a></li>
<li class="toctree-l2"><a class="reference internal" href="raster.html#connect-to-your-data-through-gdal">Connect to your data through GDAL</a></li>
<li class="toctree-l2"><a class="reference internal" href="raster.html#overviews">Overviews</a></li>
<li class="toctree-l2"><a class="reference internal" href="raster.html#tileindexes-and-internal-tiling">Tileindexes and Internal Tiling</a></li>
<li class="toctree-l2"><a class="reference internal" href="raster.html#learn-review-the-various-gdal-utilities-to-manage-your-rasters">Learn & Review the various GDAL utilities to manage your rasters</a></li>
<li class="toctree-l2"><a class="reference internal" href="raster.html#handling-your-raster-layers-in-the-mapfile">Handling your raster LAYERS in the mapfile</a></li>
<li class="toctree-l2"><a class="reference internal" href="raster.html#remote-wms">Remote WMS</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tileindex.html">Tile Indexes</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tileindex.html#introduction">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="tileindex.html#what-is-a-tileindex-and-how-do-i-make-one">What is a tileindex and how do I make one?</a></li>
<li class="toctree-l2"><a class="reference internal" href="tileindex.html#using-the-tileindex-in-your-mapfile">Using the tileindex in your mapfile</a></li>
<li class="toctree-l2"><a class="reference internal" href="tileindex.html#tileindexes-may-make-your-map-faster">Tileindexes may make your map faster</a></li>
<li class="toctree-l2"><a class="reference internal" href="tileindex.html#tileindexes-with-tiles-in-different-projections">Tileindexes with tiles in different projections</a></li>
<li class="toctree-l2"><a class="reference internal" href="tileindex.html#note-for-wcs-layers">Note for WCS layers</a></li>
<li class="toctree-l2"><a class="reference internal" href="tileindex.html#long-ogrtindex-example">Long ogrtindex example</a></li>
<li class="toctree-l2"><a class="reference internal" href="tileindex.html#long-gdaltindex-example">Long gdaltindex example</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="vector.html">Vector Data Management & Optimization</a><ul>
<li class="toctree-l2"><a class="reference internal" href="vector.html#choose-the-right-vector-format-for-your-needs">Choose the right vector format for your needs</a></li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#spend-time-to-review-gdal-s-associated-driver-page-for-your-chosen-format">Spend time to review GDAL's associated driver page for your chosen format</a></li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#connect-to-your-data-through-ogr-gdal">Connect to your data through OGR/GDAL</a></li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#learn-review-the-various-ogr-utilities-to-manage-your-vectors">Learn & Review the various OGR utilities to manage your vectors</a></li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#index-your-data">Index your data</a><ul>
<li class="toctree-l3"><a class="reference internal" href="vector.html#tileindexing">Tileindexing</a></li>
<li class="toctree-l3"><a class="reference internal" href="vector.html#add-a-spatial-index-to-your-data">Add a Spatial Index to your data</a></li>
<li class="toctree-l3"><a class="reference internal" href="vector.html#add-an-attribute-index-to-your-data">Add an Attribute Index to your data</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#splitting-your-data">Splitting your data</a></li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#handling-your-vector-layers-in-the-mapfile">Handling your vector LAYERS in the mapfile</a></li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#shapefile-notes">Shapefile Notes</a></li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#postgis-notes">PostGIS Notes</a><ul>
<li class="toctree-l3"><a class="reference internal" href="vector.html#indexing-with-postgis">Indexing with PostGIS</a></li>
<li class="toctree-l3"><a class="reference internal" href="vector.html#specifying-a-unique-id-column">Specifying a Unique ID column</a></li>
<li class="toctree-l3"><a class="reference internal" href="vector.html#debugging-speed-issues-with-postgis">Debugging speed issues with PostGIS</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="vector.html#databases-in-general-postgis-oracle-spatialite-geopackage-microsoft-sql-server-mysql">Databases in General (PostGIS, Oracle, SpatiaLite, GeoPackage, Microsoft SQL Server, MySQL)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="vector.html#enable-connection-pooling">Enable Connection Pooling</a></li>
<li class="toctree-l3"><a class="reference internal" href="vector.html#set-extent-at-the-layer-level-of-mapfile">Set EXTENT at the LAYER level of mapfile</a></li>
<li class="toctree-l3"><a class="reference internal" href="vector.html#verify-that-your-table-has-a-spatial-index">Verify that your table has a Spatial Index</a></li>
<li class="toctree-l3"><a class="reference internal" href="vector.html#for-wfs-services-prevent-using-default-full-extent">For WFS services, prevent using default/full extent</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</section>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">البحث السريع</h3>
<div class="searchformwrapper">
<form class="search" action="../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
<p>
<a href="../about.html" title="About">About</a><br>
<a href="../products.html" title="Products">Products</a><br>
<a href="../community/index.html" title="Community">Community</a><br>
<a href="../development/index.html" title="Development">Development</a><br>
<a href="../download.html" title="Downloads">Downloads</a><br>
<a href="../documentation.html" title="Documentation">Documentation</a><br>
<a href="../faq.html" title="FAQ">FAQ</a><br>
<a href="../psc.html" title="PSC">PSC</a><br>
<a href="https://fosstodon.org/@mapserver" title="Mastodon">Mastodon</a>
</p>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="الفهرس العام"
>الفهرس</a></li>
<li class="right" >
<a href="debugging.html" title="Debugging MapServer"
>التالي</a> |</li>
<li class="right" >
<a href="../tinyows/libxmlschemagmlbug.html" title="Working Around the LibXML2 XSD Schema GML Bug"
>السابق</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Home</a> »</li>
<li class="nav-item nav-item-1"><a href="../documentation.html" >MapServer 8.6.2 Documentation</a> »</li>
<li class="nav-item nav-item-this"><a href="">Optimization</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
© <a href="../copyright.html">الحقوق</a> 2026, Open Source Geospatial Foundation.
Last updated on 2026-04-20.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
</div>
</body>
</html>