[mapserver-users] Control order of drawing for a layer

2013-06-03 Thread Jesper Kempe
Hi

I have a shapefile with quite many points in. Several of the points are
very close or even on the same locations. Every point has some attributes
and some of the points are more important than others (based on a
attributes value).
What I am trying to do, and not succeding in, is to have points with
attribute x=Y drawn ontop of everything else.

Now I have a layer definition with the classes I want to have "in the
bottom of the image" first and the most important last. Each with an
expression matching a certain attribute. But it looks like the only order
that matters is the order in which the points in the shapefile are listed.

>From the mapfile:

TILEITEM "location"
TILEINDEX "shapefile.idx.shp"

SIZEUNITS meters

CLASSITEM "GEOM_TYPE"

CLASS
NAME "clouds"
EXPRESSION "clou"
COLOR 186 186 186
SYMBOL "mapinfo-sym-32"
SIZE 1200
END

CLASS
NAME "no_d"
EXPRESSION "no_d"
COLOR 0 0 0
SYMBOL "mapinfo-sym-32"
SIZE 1200
END

CLASS
NAME "subs"
EXPRESSION "subs"
COLOR 255 255 0
SYMBOL "mapinfo-sym-32"
SIZE 1200
END

CLASS
NAME "surfs"
EXPRESSION "surf"
COLOR 246 112 38
SYMBOL "mapinfo-sym-32"
SIZE 1200
END


Anyone has a tip on how I can get the desired effect?

//Jesper
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapCache "missing a service" error

2013-06-03 Thread Rahkonen Jukka
Hi,

In the Mapcache documentation the service in installed on the local computer so 
that after installation the demo page is found from address 
http://localhost/mapcache/demo/ which is the same as 
http://127.0.0.1/mapcache/demo/

I saw from your previous mail that you were using another IP address for 
contacting your Mapcache, namely
http://192.168.56.101/mapcache/ so I used that in my address. I do not know if 
that address is also your own computer or some other machine. If it is the same 
computer where your keyboard is connected then localhost and 127.0.0.1 
addresses should work as well.

I have installed my Mapcache into port 8060 of my computer so for me the link 
to the list of demos is
http://127.0.0.1:8060/mapcache/demo/ and in a browser it shows the page like 
this
http://latuviitta.org/documents/mapcache_demo_start_page.png

-Jukka Rahkonen-



Jackey Cheung wrote:

> Dear Rahkonen,

> Thanks for your reply. It worked.

> However, I was following the online documentation on installing mapcache. The 
> document says (http://mapserver.org/mapcache/install.html#table-of-contents):
> * In your web browser, goto the local MapCache demo page: 
> http://127.0.0.1/mapcache/demo/ You should see a clickable list of demo links

> It that I've misunderstood?


On Fri, May 31, 2013 at 12:49 PM, Rahkonen Jukka 
mailto:jukka.rahko...@mmmtike.fi>> wrote:
Hi,

Great, then you have made it.  The message means that your URL connects 
Mapcache as WMS service but the message is missing the compulsory WMS 
parameters SERVICE and REQUEST because you only did

http://192.168.56.101/mapcache/

You will see the WMS 1.1.0 capabilities document by using
http://192.168.56.101/mapcache?service=wms&version=1.1.1&request=GetCapabilities
and you should be able to use your service and see the map layers as maps with 
some WMS client like OpenJUMP or QGis. If the demo is installed you can also 
test with http://192.168.56.101/mapcache/demo/wms


-Jukka Rahkonen-






Jackey Cheung wrote

> I'ved added the PATH_INFO to nginx location block, and using the sample 
> mapcache.xml from the source package. Now it always returns

> received wms with no service and request


On Tue, May 28, 2013 at 2:45 PM, Eichner, Andreas - SID-NLKM 
mailto:andreas.eich...@sid.sachsen.de>>>
 wrote:

You need to pass the path_info from nginx to mapcache. Use something like

  fastcgi_param PATH_INFO $fastcgi_path_info;

in your location block.

> -Ursprüngliche Nachricht-
> Von: 
> mapserver-users-boun...@lists.osgeo.org>
> [mailto:mapserver-users-boun...@lists.osgeo.org>]
>  Im Auftrag
> von Jackey Cheung
> Gesendet: Dienstag, 28. Mai 2013 04:12
> An: 
> mapserver-users@lists.osgeo.org>
> Betreff: [mapserver-users] MapCache "missing a service" error
>
> Hi,
>
> I'm trying to deploy a MapCache server. It compiles OK, but I
> can't tell whether everything is working fine, since I can't
> see any output from the server (command line and HTTP response, etc.)
>
> I've write up a config xml as below:
>
> 
> 
>   
> /tmp/mapcache
> 
>   
>
>   
> 
>   
>  image/png
>  BLD_BLDG
>   
> 
> 
>   http://localhost/map/
>   
> mapcache
>   
>   30
> 
>   
>
>   
> fast
>   
>   PNG
>
>   
> test_lands
> test_cache
> 
>   WGS84
> 
> 
>   test web map.
>   Powered by MapKing.
> 
> PNG
> 10 10
> 10
>   
>
>   
> assemble
> bilinear
> PNG
> 4096
>   
>   
>   
>   
>   
>   
>   
>
>   report
>   /tmp/mapcache/lock
>   true
>   info
>   true
> 
>
>
> I use spawn-fcgi to start the server:
> spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g
> nginx -U nginx -G nginx -P /var/run/mapcache.pid --
> /usr/local/bin/mapcache
>
> The server seems to be running, since it doesn't return to
> the command prompt. When I use browser to open
> "http://192.168.56.101/mapcache/";, the first request (the
> exact first request to the newly started server process) returns:
> tileset "test_tileset" references grid "
>   WGS84
> ", but it is not configured
>
> Then all subsequent requests returns "missing a service" error.
> I've tried adding a WGS84 grid to the xml, but that produces
> duplicate declaration error. I've also tried using the
> mapcache.xml from source package, the same "missing a
> service" error occurs.
> What's wrong?
>

___
m

Re: [mapserver-users] MapCache "missing a service" error

2013-06-03 Thread Jackey Cheung
Dear Rahkonen,

Thanks for your reply. It worked.

However, I was following the online documentation on installing mapcache.
The document says (
http://mapserver.org/mapcache/install.html#table-of-contents):
* In your web browser, goto the local MapCache demo page:
http://127.0.0.1/mapcache/demo/ You should see a clickable list of demo
links

It that I've misunderstood?


On Fri, May 31, 2013 at 12:49 PM, Rahkonen Jukka
wrote:

> Hi,
>
> Great, then you have made it.  The message means that your URL connects
> Mapcache as WMS service but the message is missing the compulsory WMS
> parameters SERVICE and REQUEST because you only did
>
> http://192.168.56.101/mapcache/
>
> You will see the WMS 1.1.0 capabilities document by using
>
> http://192.168.56.101/mapcache?service=wms&version=1.1.1&request=GetCapabilities
> and you should be able to use your service and see the map layers as maps
> with some WMS client like OpenJUMP or QGis. If the demo is installed you
> can also test with http://192.168.56.101/mapcache/demo/wms
>
>
> -Jukka Rahkonen-
>
>
>
>
>
> 
> Jackey Cheung wrote
>
> > I'ved added the PATH_INFO to nginx location block, and using the sample
> mapcache.xml from the source package. Now it always returns
>
> > received wms with no service and request
>
>
> On Tue, May 28, 2013 at 2:45 PM, Eichner, Andreas - SID-NLKM <
> andreas.eich...@sid.sachsen.de>
> wrote:
>
> You need to pass the path_info from nginx to mapcache. Use something like
>
>   fastcgi_param PATH_INFO $fastcgi_path_info;
>
> in your location block.
>
> > -Ursprüngliche Nachricht-
> > Von: mapserver-users-boun...@lists.osgeo.org mapserver-users-boun...@lists.osgeo.org>
> > [mailto:mapserver-users-boun...@lists.osgeo.org mapserver-users-boun...@lists.osgeo.org>] Im Auftrag
> > von Jackey Cheung
> > Gesendet: Dienstag, 28. Mai 2013 04:12
> > An: mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org>
> > Betreff: [mapserver-users] MapCache "missing a service" error
> >
> > Hi,
> >
> > I'm trying to deploy a MapCache server. It compiles OK, but I
> > can't tell whether everything is working fine, since I can't
> > see any output from the server (command line and HTTP response, etc.)
> >
> > I've write up a config xml as below:
> >
> > 
> > 
> >   
> > /tmp/mapcache
> > 
> >   
> >
> >   
> > 
> >   
> >  image/png
> >  BLD_BLDG
> >   
> > 
> > 
> >   http://localhost/map/
> >   
> > mapcache
> >   
> >   30
> > 
> >   
> >
> >   
> > fast
> >   
> >   PNG
> >
> >   
> > test_lands
> > test_cache
> > 
> >   WGS84
> > 
> > 
> >   test web map.
> >   Powered by MapKing.
> > 
> > PNG
> > 10 10
> > 10
> >   
> >
> >   
> > assemble
> > bilinear
> > PNG
> > 4096
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >
> >   report
> >   /tmp/mapcache/lock
> >   true
> >   info
> >   true
> > 
> >
> >
> > I use spawn-fcgi to start the server:
> > spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g
> > nginx -U nginx -G nginx -P /var/run/mapcache.pid --
> > /usr/local/bin/mapcache
> >
> > The server seems to be running, since it doesn't return to
> > the command prompt. When I use browser to open
> > "http://192.168.56.101/mapcache/";, the first request (the
> > exact first request to the newly started server process) returns:
> > tileset "test_tileset" references grid "
> >   WGS84
> > ", but it is not configured
> >
> > Then all subsequent requests returns "missing a service" error.
> > I've tried adding a WGS84 grid to the xml, but that produces
> > duplicate declaration error. I've also tried using the
> > mapcache.xml from source package, the same "missing a
> > service" error occurs.
> > What's wrong?
> >
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Can't stop Mapserver 6.2.1 from gathering too much log into MS_ERRORFILE

2013-06-03 Thread Rahkonen Jukka
Hi,

Quoting myself "I have added DEBUG 0 on both MAP level and in each LAYER 
definition". Based on documentation I believe this means the same as DEBUG OFF 
but I made another trial with that now and it did not change anything. I was 
also adding some new layers from vector data and I can see that some debug into 
gets written into MS_ERRORFILE for those too.

I usually wait until someone confirms that what looks like a bug really is such 
a thing before writing a report, especially if I am on a foreign land as I am 
now with Linux. However, this one looks so much like a bug that I believe that 
I will file an issue soon.

-Jukka Rahkonen-


Stephen Woodbridge wrote:

> Do you have DEBUG turned on in your mapfile? Tuen this off and the messages
> should go away. If they do not them someone probably left some debug output
> in the code. And a bug report is needed.
> 
> -Steve
> 
> On 6/3/2013 9:23 AM, Rahkonen Jukka wrote:
> > Hi,
> >
> > We have compiled Mapserver 6.2.1 for Linux and the version info is as
> > follows
> >
> > MapServer version 6.2.1
> > OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=GD
> > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV
> > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
> > SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG
> INPUT=OGR
> > INPUT=GDAL INPUT=SHAPEFILE
> >
> > I do not understand why this version is printing whole lot of
> > information that I do not want into MS_ERRORFILE. I had originally no
> > DEBUG lines in my mapfiles and now I have added DEBUG 0 on both MAP
> > level and in each LAYER definition . Nothing helps and I keep on
> > getting new lines into the errorfile after each GetMap.  For example
> > with a GROUP layer which is combined from 11 scale dependent layers it
> > means 37 new lines after each request
> >
> > [Mon Jun  3 16:12:25 2013].799634 loadParams() QUERY_STRING:
> >
> map=/test.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=
> 1059&HEIG
> >
> HT=776&LAYERS=group&TRANSPARENT=TRUE&FORMAT=image%2Fpng&BBOX
> =-302742.3
> >
> 606628045,6634887.305484046,1741121.9462003412,8132563.133742593&SR
> S=E
> > PSG:3067&STYLES= [Mon Jun  3 16:12:25 2013].801140 msLoadMap(): 0.001s
> > [Mon Jun  3 16:12:25 2013].802506 msLayerIsVisible(): Skipping layer
> > (mml_taustakartta_2) because LAYER.MAXSCALE is too small for this MAP
> > scale [Mon Jun  3 16:12:25 2013].802522 msLayerIsVisible(): Skipping
> > layer (mml_taustakartta_3) because LAYER.MAXSCALE is too small for
> > this MAP scale [Mon Jun  3 16:12:25 2013].802528 msLayerIsVisible():
> > Skipping layer (mml_taustakartta_4) because LAYER.MAXSCALE is too
> > small for this MAP scale [Mon Jun  3 16:12:25 2013].802533
> > msLayerIsVisible(): Skipping layer (mml_taustakartta_5) because
> > LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> > 2013].802537 msLayerIsVisible(): Skipping layer (mml_taustakartta_6)
> > because LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3
> > 16:12:25 2013].802542 msLayerIsVisible(): Skipping layer
> > (mml_taustakartta_7) because LAYER.MAXSCALE is too small for this MAP
> > scale [Mon Jun  3 16:12:25 2013].802546 msLayerIsVisible(): Skipping
> > layer (mml_taustakartta_8) because LAYER.MAXSCALE is too small for
> > this MAP scale [Mon Jun  3 16:12:25 2013].802551 msLayerIsVisible():
> > Skipping layer (mml_taustakartta_9) because LAYER.MAXSCALE is too
> > small for this MAP scale [Mon Jun  3 16:12:25 2013].802555
> > msLayerIsVisible(): Skipping layer (mml_taustakartta_10) because
> > LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> > 2013].802560 msLayerIsVisible(): Skipping layer (mml_taustakartta_11)
> because LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802566 msLayerIsVisible(): Skipping layer (mml_taustakartta_2) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802571 msLayerIsVisible(): Skipping layer (mml_taustakartta_3) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802575 msLayerIsVisible(): Skipping layer (mml_taustakartta_4) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802580 msLayerIsVisible(): Skipping layer (mml_taustakartta_5) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802584 msLayerIsVisible(): Skipping layer (mml_taustakartta_6) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802589 msLayerIsVisible(): Skipping layer (mml_taustakartta_7) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802593 msLayerIsVisible(): Skipping layer (mml_taustakartta_8) because
> LAYER.MAXSCALE is too small for this MAP scale [Mon Jun  3 16:12:25
> 2013].802598 msLayerIsVisible(): Skipping layer (mml_taustakartta_9) because
> LAYER.MAXSCALE is too smal

Re: [mapserver-users] Can't stop Mapserver 6.2.1 from gathering too much log into MS_ERRORFILE

2013-06-03 Thread Stephen Woodbridge
Do you have DEBUG turned on in your mapfile? Tuen this off and the 
messages should go away. If they do not them someone probably left some 
debug output in the code. And a bug report is needed.


-Steve

On 6/3/2013 9:23 AM, Rahkonen Jukka wrote:

Hi,

We have compiled Mapserver 6.2.1 for Linux and the version info is as follows

MapServer version 6.2.1
OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ
SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO
SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS
SUPPORTS=GEOS INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

I do not understand why this version is printing whole lot of information that 
I do not want into MS_ERRORFILE. I had originally no DEBUG lines in my mapfiles 
and now I have added DEBUG 0 on both MAP level and in each LAYER definition . 
Nothing helps and I keep on getting new lines into the errorfile after each 
GetMap.  For example with a GROUP layer which is combined from 11 scale 
dependent layers it means 37 new lines after each request

[Mon Jun  3 16:12:25 2013].799634 loadParams() QUERY_STRING: 
map=/test.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1059&HEIGHT=776&LAYERS=group&TRANSPARENT=TRUE&FORMAT=image%2Fpng&BBOX=-302742.3606628045,6634887.305484046,1741121.9462003412,8132563.133742593&SRS=EPSG:3067&STYLES=
[Mon Jun  3 16:12:25 2013].801140 msLoadMap(): 0.001s
[Mon Jun  3 16:12:25 2013].802506 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_2) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802522 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_3) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802528 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_4) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802533 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_5) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802537 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_6) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802542 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_7) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802546 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_8) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802551 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_9) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802555 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_10) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802560 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_11) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802566 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_2) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802571 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_3) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802575 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_4) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802580 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_5) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802584 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_6) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802589 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_7) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802593 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_8) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802598 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_9) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802602 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_10) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802607 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_11) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802616 msDrawRasterLayerLow(mml_taustakartta_1): 
entering.
[Mon Jun  3 16:12:25 2013].802815 msResampleGDALToMap in effect: cellsize = 
1932.163743
[Mon Jun  3 16:12:25 2013].803881 msDrawGDAL(mml_taustakartta_1): using 
RAW_WINDOW=76 93 1652 1501, dst=0,0,855,777
[Mon Jun  3 16:12:25 2013].803915 msDrawRasterLayerGDAL(): red,green,blue,alpha 
bands = 1,2,3,0
[Mon Jun  3 16:12:25 2013].847533 msDrawMap(): Layer 0 (mml_taustakartta_1), 
0.045s
[Mon Jun  3 16:12:25 2013].847558 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_2) because LAYER.MAXSCALE

[mapserver-users] Can't stop Mapserver 6.2.1 from gathering too much log into MS_ERRORFILE

2013-06-03 Thread Rahkonen Jukka
Hi,

We have compiled Mapserver 6.2.1 for Linux and the version info is as follows

MapServer version 6.2.1 
OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ 
SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO 
SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER 
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS 
SUPPORTS=GEOS INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

I do not understand why this version is printing whole lot of information that 
I do not want into MS_ERRORFILE. I had originally no DEBUG lines in my mapfiles 
and now I have added DEBUG 0 on both MAP level and in each LAYER definition . 
Nothing helps and I keep on getting new lines into the errorfile after each 
GetMap.  For example with a GROUP layer which is combined from 11 scale 
dependent layers it means 37 new lines after each request

[Mon Jun  3 16:12:25 2013].799634 loadParams() QUERY_STRING: 
map=/test.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1059&HEIGHT=776&LAYERS=group&TRANSPARENT=TRUE&FORMAT=image%2Fpng&BBOX=-302742.3606628045,6634887.305484046,1741121.9462003412,8132563.133742593&SRS=EPSG:3067&STYLES=
[Mon Jun  3 16:12:25 2013].801140 msLoadMap(): 0.001s
[Mon Jun  3 16:12:25 2013].802506 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_2) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802522 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_3) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802528 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_4) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802533 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_5) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802537 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_6) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802542 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_7) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802546 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_8) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802551 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_9) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802555 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_10) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802560 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_11) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802566 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_2) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802571 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_3) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802575 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_4) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802580 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_5) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802584 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_6) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802589 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_7) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802593 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_8) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802598 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_9) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802602 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_10) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802607 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_11) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].802616 msDrawRasterLayerLow(mml_taustakartta_1): 
entering.
[Mon Jun  3 16:12:25 2013].802815 msResampleGDALToMap in effect: cellsize = 
1932.163743
[Mon Jun  3 16:12:25 2013].803881 msDrawGDAL(mml_taustakartta_1): using 
RAW_WINDOW=76 93 1652 1501, dst=0,0,855,777
[Mon Jun  3 16:12:25 2013].803915 msDrawRasterLayerGDAL(): red,green,blue,alpha 
bands = 1,2,3,0
[Mon Jun  3 16:12:25 2013].847533 msDrawMap(): Layer 0 (mml_taustakartta_1), 
0.045s
[Mon Jun  3 16:12:25 2013].847558 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_2) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].847564 msLayerIsVisible(): Skipping layer 
(mml_taustakartta_3) because LAYER.MAXSCALE is too small for this MAP scale
[Mon Jun  3 16:12:25 2013].847710 msLayerIsVisible(): Skipping l