Re: [mapserver-users] RE: CGI returning a 502 error

2010-09-23 Thread Jan Hartmann
Wasn't there a similar problem about the hard-coded maximum number of classes a few years ago? That problem was solved, if I remember correctly. Wouldn't it be a good idea to take that solution over to the number of CGI parms? The problem won't turn up often, but if it does it is hard to

[mapserver-users] Raster Background

2010-09-23 Thread Ibrahim Saricicek
Hi list, I have a rotated satellite image as seen below. Is there a way of not showing the black background on the rest of bbox? Should I change something on image? Or is there a function like Pixel Transparency like on Erdas Imagine 2010? Regards...

[mapserver-users] Internal Server Error / proxy.cgi

2010-09-23 Thread Simone Lella
Hi, I'm using MS4W with Windows 7. When I call http://localhost:8081/cgi-bin/proxy.cgi;, the response is: /Internal Server Error / /The server encountered an internal error or misconfiguration and was unable to complete your request./ /Please contact the server administrator,

[mapserver-users] wfs and oracle spatial

2010-09-23 Thread Holger Porath
Hi list, we are having issues with using mapserver 5.6.5 as a wfs together with oracle. When we submit a wfs getfeature filter request mapserver doesn't use the filter in the sql statement. It just searches all the objects in the database and applies the filter on the result. This is

[mapserver-users] Re: Raster Background

2010-09-23 Thread Sumit Sharma
You may want to use OFFSITE at layer level. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Raster-Background-tp5562235p5563149.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users

[mapserver-users] Re: Raster Background

2010-09-23 Thread Ibrahim Saricicek
Hi list, I found the answer; http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg06172.html In the layer definition I've added OFFSITE 0 0 0 Thanks Sep 23, 2010; 12:00pm Ibrahim Saricicek – Raster Background This message was accepted by

[mapserver-users] Re: Coments about the Tickedt 3541

2010-09-23 Thread Sumit Sharma
Initially this bug appears random to me as well, but it is certainly not. However, there is surely some loophole in OCI, and that bug is exploited by MapServer. I have posted this bug in Oracle forum as well, but no luck as of now. As Alan is already able to verify this behavior, hopefully we

[mapserver-users] Get the legend of a layer .map file

2010-09-23 Thread michele pierri
Hi,I have a file.map like this:MAP NAME distribution CONFIG PROJ_LIB /usr/share/proj/ STATUS ON SHAPEPATH ./ PROJECTION init=epsg:4326 END CONFIG MS_ERRORFILE /tmp/mapserver.log DEBUG 5 LAYER NAME tif DATA

Re: [mapserver-users] Get the legend of a layer .map file

2010-09-23 Thread Bob Basques
Just add in a NAME parameter inside of each CLASS tag set. You'll need to request the LEGEND object via CGI or orther method, but the NAME vales are used to describe the Legend Chips in the mapserver output. bobb michele pierri pierm...@yahoo.it wrote: Hi, I have a file.map like

Re: [mapserver-users] Get the legend of a layer .map file

2010-09-23 Thread michele pierri
Can you take me an example,please? I'm sorry but I am not very expert. And after how I can do the request via CGI? CLASS  EXPRESSION ([pixel] = 0 AND [pixel] 20 ) NAME === IS IT WRIGHT?  STYLE   COLOR 0 255 255  ENDEND Thanks again. --- Gio 23/9/10, Bob Basques bob.basq...@ci.stpaul.mn.us

RE: [mapserver-users] Get the legend of a layer .map file

2010-09-23 Thread Fawcett, David (MPCA)
If your request URL string currently includes mode=map, change it to mode=legend From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of michele pierri Sent: Thursday, September 23, 2010 10:12 AM To: Bob Basques;

Re: [mapserver-users] Get the legend of a layer .map file

2010-09-23 Thread michele pierri
Thanks. --- Gio 23/9/10, michele pierri pierm...@yahoo.it ha scritto: Da: michele pierri pierm...@yahoo.it Oggetto: Re: [mapserver-users] Get the legend of a layer .map file A: Bob Basques bob.basq...@ci.stpaul.mn.us, mapserver-users@lists.osgeo.org Data: Giovedì 23 settembre 2010, 17:12 Can

[mapserver-users] RE: CGI returning a 502 error

2010-09-23 Thread stoli
Thanks Steve. Looks like I am going to have to figure out how to compile my own binaries. I think I have streamlined the POST parameters as much as I can, unless there is a way to combine the following: map_layer[layer1]=FEATURE+POINTS+0+0+END+END

RE: [mapserver-users] RE: CGI returning a 502 error

2010-09-23 Thread Lime, Steve D (DNR)
The hard limit was purposeful. The thought at the time was that 100 would be sufficient in 99.9% of cases (this is the only time I've heard of someone running into it) and anything beyond 100 would likely be some sort of rogue attack. The code itself does not use the maximum in allocating

RE: [mapserver-users] RE: CGI returning a 502 error

2010-09-23 Thread Lime, Steve D (DNR)
Nope, can't combine those. At least you can specify symbol/size/color all at once... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of stoli Sent: Thursday, September 23, 2010 10:47 AM To:

[mapserver-users] is this reorientation possible?

2010-09-23 Thread Alan Swithenbank
Hi, I've done some looking at the docs and some googling, but, haven't yet clearly determined if the kind of map reorientation I want to do is possible in some reasonable way. Basically I have a perl mapscript server setup that produces an html form user interface page having a version of the