File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
python/plugins/mapserver_export Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def description():
26
26
def category ():
27
27
return "Web"
28
28
def version ():
29
- return "Version 0.4.3 "
29
+ return "Version 0.4.4 "
30
30
def qgisMinimumVersion ():
31
31
return "1.0"
32
32
def icon ():
Original file line number Diff line number Diff line change @@ -283,10 +283,10 @@ def writeMapSection(self):
283
283
self .outFile .write ("\n " )
284
284
# extents
285
285
self .outFile .write (self .getExtentString ())
286
-
287
- self .outFile .write (" FONTSET '" + self .fontsPath + "'\n " )
286
+ # put FONTSET and SYMBOLSET in comments to make it work out of the box for beginners
287
+ self .outFile .write (" # FONTSET '" + self .fontsPath + "'\n " )
288
288
# use of external symbol set
289
- self .outFile .write (" SYMBOLSET '" + self .symbolsPath + "'\n " )
289
+ self .outFile .write (" # SYMBOLSET '" + self .symbolsPath + "'\n " )
290
290
291
291
def getExtentString (self ):
292
292
stringToAddTo = ""
@@ -404,6 +404,9 @@ def writeWebSection(self):
404
404
"'?\n Be sure there is a valid mapserverurl in the 'ows_onlineresource'.\n "
405
405
self .outFile .write (" 'ows_onlineresource' '" + self .mapServerUrl + "?" + "map" + "=" + self .mapFile + "'\n " )
406
406
self .outFile .write (" 'ows_srs' 'EPSG:" + epsg + "'\n " )
407
+ # enable all layers for ows requests to work for mapserver 6.x
408
+ self .outFile .write (" 'ows_enable_request' '*'\n " )
409
+
407
410
self .outFile .write (" END\n \n " )
408
411
409
412
self .outFile .write (" #Scale range at which web interface will operate\n " )
You can’t perform that action at this time.
0 commit comments