[mapserver-users] Mapserver6 calls exit() in FastCGI-mode

2011-04-20 Thread Erik Gustafson
Hello list, when Mapserver 5 got a WMS request like this: mapserv?request=getcapabilitiesmap=mymap.map it responded with an wms_exception saying that the SERVICE parameter was missing. Mapserver 6 can not decide if the request if for a wms service or another ows service and responds with:

Re: [mapserver-users] SLD support: Anyone for fixing 5 yr old tickets?

2011-04-20 Thread Yewondwossen Assefa
Hi there, I have updated both issues in trac. It would be good if you could add yourself in cc in the bugs and comment on them. I agree that #1166 is still relevant and could be fixed for 6.2. I am not sure if #1602 is something that needs to be done and fits the way the specs describe sld

[mapserver-users] MapServer 6.0.0-beta6 Incorrect error response to missing parameter

2011-04-20 Thread Passmore, James H.
When I omit the request=GetCapabilities parameter on the below request http://ogcdev.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?service=wms; The exception reported is: ?xml version='1.0' encoding=ISO-8859-1 standalone=no ? ServiceExceptionReport version=1.3.0

Re: [mapserver-users] Problems with png output when using libpng 1.5

2011-04-20 Thread thomas bonfort
Christy, I suspect this is due to a bug in libpng. see http://sourceforge.net/tracker/index.php?func=detailaid=3288207group_id=5624atid=105624 . On Wed, Apr 20, 2011 at 15:20, Christy Nieman cnie...@dmsolutions.ca wrote: Hi, I compiled MapServer 6.0 beta6 against libpng 1.5.2 and encountered

[mapserver-users] relative path for .map file inside a WMS url

2011-04-20 Thread Clément MONIER
Hi, I have a CGI MapServer 5.6.0beta5 instance running on Windows. But I'm not (and won't never be) able to know for sure the folder's path where its files are deployed. I know that MapServer is running fine though, delivering maps as needed. But I'm not able to make some WMS web request

Re: [mapserver-users] relative path for .map file inside a WMS url

2011-04-20 Thread thomas bonfort
I don't think it is possible o have this yet. You could file an enhancement request, as this would be a nice feature to have. regards, thomas On Wed, Apr 20, 2011 at 16:43, Clément MONIER clement.mon...@v-trafic.com wrote: Hi, I have a CGI MapServer 5.6.0beta5 instance running on Windows.

Re: [mapserver-users] Mapserver6 calls exit() in FastCGI-mode

2011-04-20 Thread Frank Warmerdam
On 11-04-20 03:59 AM, Erik Gustafson wrote: The problem is that the error from Mapserver 6, apart from its user unfriendlyness for ows-requests, is reported by writeError() in mapserv.c which calls exit() even if we are running under FastCGI. As this error is non fatal I consider this a bug.

[mapserver-users] Query on WFS Layer: Fatal error: [MapServer Error]: msQueryByShape(): No matching record(s) found

2011-04-20 Thread Francesco Sozzi
Hi list, I have a big problem on querying a WFS layer. Here you find both script and layer definition on mapfile. The problem is that $result-shapeindex has value 0 and I get the error: Fatal error: [MapServer Error]: msQueryByShape(): No matching record(s) found. Any suggestions? Best regards

Re: [mapserver-users] relative path for .map file inside a WMS url

2011-04-20 Thread thomas bonfort
Actually, you can also do this with an apache rewrite rule, I've just tested it and it seems to work quite well ! RewriteEngine On RewriteRule ^/wms/(.*) /cgi-bin/mapserv?map=/datadir/$1.map [PT,QSA] it will translate requests that are like /wms/carto to /cgi-bin/mapserv?map=/datadir/carto.map ,