Hi list,

I am using pmapper 3.1 and decided to use the ubuntu repository to
upgrade to 3.2 beta3.
In my mapfile for 3.1 I set up a layer group group called "geology".
This groups contains three layers with different min/max scale settings.
I want to show outlines and labels of polygons at different scales.
Works nicely in 3.1.
Behaviour in 3.2beta3: If I zoom below the maxscale for the labels (here
e.g. 1:50 000) the application hangs up and showing the loading button.
This appears not only for the geology group. For every group that has a
label layer inside and zooming below the maxscale of label layer you
won't see anything.

Any ideas???

Thanks in advance
Greetings from Lux,
Christian


######################
##Geology with outlines maxscale 200 000
#######
 LAYER
        CONNECTIONTYPE postgis
        NAME "geology"
        GROUP 'geology'
        CONNECTION "user=mapserver password=mapserver dbname=valid
host=localhost"
        DATA "the_geom from geology using unique gid using srid=2169"
        STATUS default
        TRANSPARENCY 60
        TYPE polygon
        MAXSCALE 200000

        PROJECTION
                "init=epsg:2169"
        END

        METADATA
                "DESCRIPTION" "Geology 100k"
                "RESULT_FIELDS" "epoque,nom,code,grassrgb,class"
                "RESULT_HEADERS" "Epoque,Name,Code,GRASSrgb,Class"
                "LAYER_ENCODING" "UTF-8"
         END

        CLASSITEM 'epoque'
        CLASS
                NAME 'Siegénien inf.'
                EXPRESSION 'Siegénien inférieur'
                COLOR 127 227 162
                OUTLINECOLOR 0 0 0
                TEMPLATE "void"
        ....


## Labeling GEOLOGY with Outlines, sigle

LAYER
        CONNECTIONTYPE postgis
        NAME 'geology_label'
        GROUP 'geology'
        CONNECTION "user=mapserver password=mapserver dbname=valid
host=localhost"
        DATA "the_geom FROM geology using unique gid using srid=2169"
        TYPE annotation
        MAXSCALE 50001
        STATUS on

        LABELITEM 'sigle'
        CLASS
                LABEL
                        COLOR 100 100 100
                        OUTLINECOLOR 255 255 255
                        #SHADOWCOLOR 200 200 200
                        #SHADOWSIZE 2 1
                        TYPE truetype
                        FONT arialbd
                        SIZE 6
                        ANTIALIAS TRUE
                        POSITION cc
                END
        END
        ....

######################
##Geology without outlines minscale 200 001
#######
 LAYER
        CONNECTIONTYPE postgis
        NAME "geology_without_outlines"
        GROUP 'geology'
        CONNECTION "user=mapserver password=mapserver dbname=valid
host=localhost"
        DATA "the_geom from geology using unique gid using srid=2169"
        STATUS off
        TRANSPARENCY 60
        TYPE polygon
        MINSCALE 200000

        PROJECTION
                "init=epsg:2169"
        END

        METADATA
                "DESCRIPTION" "Geology 100k"
                "RESULT_FIELDS" "epoque,nom,code,grassrgb,class"
                "RESULT_HEADERS" "Epoque,Name,Code,GRASSrgb,Class"
                "LAYER_ENCODING" "UTF-8"
        END

        CLASSITEM 'epoque'

        CLASS
                #NAME 'Siegenien inf.'
                EXPRESSION 'Siegénien inférieur'
                COLOR 127 227 162
                #OUTLINECOLOR 0 0 0
                TEMPLATE "void"
        END
        .....



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to