[Geomoose-users] mapfile returned as WMS

Matej Mailing mailing at tam.si
Fri Jul 6 02:49:28 PDT 2012


Thanks, that was it! :-)

Best regards,
Matej

2012/7/6 Jim Klassen <klassen.js at gmail.com>:
> I see this is rather buried and sparsely covered in the documentation, but GeoMoose is using WMS calls to MapServer now in 2.6 instead of making mode=map calls.  As such, you need to enable WMS in your map file.
>
> Search for wms_enable_request on the following page for how to enable this in your mapfile(s):
> http://mapserver.org/ogc/wms_server.html
>
>
> On Jul 5, 2012, at 4:13 PM, Matej Mailing wrote:
>
>> Hi,
>>
>> I am deploying a freshly downloaded 2.6 version and have an issue
>> where the requested Mapserver URL is:
>> http://SERVER_IP/cgi-bin/mapserv?MAP=mapfile.map&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Test&SRS=EPSG%3A4326&BBOX=258481.81142578,44453.71465683,845518.18857422,235546.28534317&WIDTH=1920&HEIGHT=625
>>
>> My question is: why is the service WMS selected, even though I have a
>> source declared like:
>>        <map-source name="test" type="mapserver" reference="true">
>>                <file>mapfile.map</file>
>>                <layer name="Test" status="on"/>
>>        </map-source>
>>
>> Also when I compare the Mapserver request to the previous GM version,
>> there was a mode=map parameter in the Mapserver request.
>>
>> Now when I directly copy the URL that is open by the GM in the
>> browser, I get XML as a return that contains text:
>> "msWMSDispatch(): WMS server error. WMS request not enabled. Check
>> wms/ows_enable_request settings."
>>
>> I am pretty lost here and any ideas of solving the issue are very welcome :-)
>>
>> Thanks,
>> Matej
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>


More information about the Geomoose-users mailing list