Re: [mapserver-users] displaying 3-band images

2010-12-08 Thread Michael Schulz
Hi, are you sure your raster can be read by mapserver cgi? Maybe try adding the ON_MISSING_DATA config option at map file level to rule out this error: CONFIG ON_MISSING_DATA FAIL Also, I think IMAGEMODE is a parameter of the outputformat object not the layer object. Cheers, Michael 2010/12/8

[mapserver-users] Re: msPostGISLayerWhichShapes() error

2010-12-08 Thread mojtabajml
I have a same problem! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/msPostGISLayerWhichShapes-error-tp4543171p5814516.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list

[mapserver-users] Re: How to add attributes to feature/shape with mapscript java?

2010-12-08 Thread rai 8
Hi!, Finaly I found the way set the id of a feature, mapscript maps the last value set by setvalue with layer.setClassItem ,but I only can add a one attribute with layer.setFilteritem(itemName); // Features add for (Iterator iterator = sites.iterator(); iterator.hasNext();) { Site

[mapserver-users] Mapserver crashes with large number of layers

2010-12-08 Thread Oliver Wesp
Dear List, we're kind of stuck with the following problem: First of all we are running Mapserver 5.6.5 in CGI Mode on Windows 2003 Server (64bit). Webserver is Apache 2.2. We have a large Mapfile (seperated into 5 different parts using INCLUDE) with a total of 571 Layers. The layers have

Re: [mapserver-users] Mapserver crashes with large number of layers

2010-12-08 Thread Yves Moisan
Dear List, we're kind of stuck with the following problem: First of all we are running Mapserver 5.6.5 in CGI Mode on Windows 2003 Server (64bit). Hi, I would first try to run it in FastCGI. We also found running PHP (if you are using MS4W for instance) in FastCGI helps. Webserver is

[mapserver-users] hiding / combining layers in a wms service

2010-12-08 Thread Travis Kirstine
I am trying to combine several layers into a single layer for a wms server while using the wms_layer_group option. I have resampled my source tifs so that is displayed based resolutions and map scale to hopefully improve performance. The drawback to this is that clients see all layers. Is there

RE: [mapserver-users] displaying 3-band images

2010-12-08 Thread David Hildebrand
Michael: I inserted the following lines in my map file. CONFIG MS_ERRORFILE stdout DEBUG 5 CONFIG CPL_DEBUG ON CONFIG PROJ_DEBUG ON CONFIG ON_MISSING_DATA FAIL However, the behavior is the same and I get no additional messages. However, the following message shows up in

Re: [mapserver-users] Mapserver crashes with large number of layers

2010-12-08 Thread Oliver Wesp
Hello, thanks for your help. Like you recommended I tried the request through the commandline hoping for some kind of new error messages. Instead the request just did what it should und returned the png without any error. So it works through commandline and crashes through cgi. I also made a

Re: [mapserver-users] displaying 3-band images

2010-12-08 Thread Rahkonen Jukka
Hi, What does gdalinfo tell about your image? -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: David Hildebrand Lähetetty: ke 8.12.2010 21:33 Vastaanottaja: Michael Schulz; mapserver-users@lists.osgeo.org Aihe: RE: [mapserver-users]

Re: [mapserver-users] Mapserver crashes with large number of layers

2010-12-08 Thread Umberto Nicoletti
On Wed, Dec 8, 2010 at 3:58 PM, Oliver Wesp oliver.w...@gmail.com wrote: Dear List, we're kind of stuck with the following problem: First of all we are running Mapserver 5.6.5 in CGI Mode on Windows 2003 Server (64bit). Webserver is Apache 2.2. We have a large Mapfile (seperated into 5

[mapserver-users] MSXML2.ServerXMLHTTP - POST not GET - OpenLayers/Mapserver WFS

2010-12-08 Thread Donald Kerr
Apologies for cross-posting on two lists but I'm not sure who may be better placed to answer this one. Basically, the setup is MapServer and OpenLayers. I have two pages, both are exactly the same with the exception that one calls mapserver on Port 81 (Apache) and the other calls Mapserver on