I did modify some udig/geotools code to allow the mapfile paramters to be included a while back; there was a bug report.
I tried and was able to connect (capabilities doc parsed, layers listed in the catalog etc...). However I could not get any map displayed.
Logs show the following request being made:
Note that the mapserver capabilities document needs to specify the GetMap operation to include parameters if that is indeed the intended effect. Indeed it looks like that has been done as I see it in the above request.
Jody On 22/04/2010, at 5:13 PM, Jesse Eichar wrote: Hi,
This is uDig bug. The WMS URL cannot have parameters. So to make this work you would need to create a URL without parameters for example in apache you could make a rewrite rule:
RewriteRule ^/cgi-bin/mapserv.exe/map/(.*)/\?(.*)$ /cgi-bin/mapserv.exe?map=$1&$2 [P]
Something like that should work. I have not tried it. The point is the URL cannot have any parameters. I will try to find a fix for this in uDig but for now this needs to be done.
If you do not have access to the mapserver you can also setup a proxy to that server.
Sorry for the inconvenience.
Jesse
_______________________________________________ udig-users mailing list udig-users@xxxxxxxxxxxxxxxxxxxxx http://lists.refractions.net/mailman/listinfo/udig-users
|