[Qgis-user] Re: PyQgis MapServer Export with Mapserver 6.0.1

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Tue Jan 31 03:30:04 PST 2012


Francesc CaƱas <kikocanas at ...> writes:

> 
> Hi,
> I've created a map file with the PyQgis Mapserver export pluggin but it
> doesn't work. They tell me it's cause the plugguin it's for older versions
> of mapserver. (I have the 6.0.1)
> What changes I have to do in the .map file to makes it work? 
> 
> Thanks!

Hi,

That mapfile has quite a lot to correct. Two things I noticed first is that
nowadays OGC services do not work at all by default. They must be explicitly
activated in the MAP level METADATA with something like  "ows_enable_request"
"*"  which activates everything. Templates must also exist and they must start
with a magic string. Read the Mapserver migration guide
http://mapserver.org/trunk/MIGRATION_GUIDE.html

The Mapserver export plugin seems to make so bad mapfiles for the current
Mapserver version that it would perhaps be better to remove the plugin if nobody
has time and interest for correcting it. I do not believe it has worked well
since Mapserver 5.2.

-Jukka Rahkonen-






More information about the Qgis-user mailing list