[ka-Map-users] Layers in reverse order

Marc Pfister mpfister at enplan.com
Fri Jan 6 20:50:22 EST 2006


This is stumping me - the layers are coming in in reverse order. You can
see it at:

 

http://www.enplan.com/mapserver/kamap-cvs/index.html

 

The parcels end up on the bottom and the shaded relief on top.

 

Mapfile is below. It works fine in the release version of Ka-Map.

 

Thanks for any help or pointers.

 

Marc

 

 

 

 

MAP

  NAME "Lidar Map"

  STATUS ON

  DEBUG ON

  EXTENT 6428000 2064000 6458000 2112000 

  SIZE 400 550 

  SHAPEPATH "C:/Inetpub/ENPLAN/mapserver/maps/data"

  FONTSET "C:/Inetpub/ENPLAN/mapserver/fonts/fontset.txt"

  IMAGETYPE PNG

  IMAGECOLOR 204 204 204

  UNITS FEET

  WEB

    IMAGEPATH "C:/Inetpub/ENPLAN/mapserver/maps/tmp/"

    IMAGEURL "/mapserver/maps/tmp/"

  END

  PROJECTION

    "init=epsg:102641" 

    "" 

    "" 

  END

  SCALEBAR

    STATUS ON

    UNITS FEET

    STYLE 1

  END

  OUTPUTFORMAT

    NAME "png"

    MIMETYPE "image/png"

    DRIVER "GD/PNG"

    EXTENSION "png"

    IMAGEMODE RGB

  END

 

 LAYER

    NAME "Hillshade"

    STATUS ON

    DATA "ReddingRGB.tif"

    TYPE RASTER

    UNITS FEET

    PROJECTION

      "init=epsg:102641" 

      "" 

    END

  END

 

  

  

  LAYER

    NAME "roads major"

    

    STATUS on

    DATA "rddroads_dis"

    TYPE annotation

    UNITS FEET

    PROJECTION

      "init=epsg:102641" 

    END

    LABELITEM "FULL_NAME"

    

    LABELMINSCALE 11000

    CLASS

      EXPRESSION ('[MAJOR_RD]' eq 'MAJOR')   

      STYLE

            COLOR -1 -1 -1

      END

      LABEL

        COLOR 255 255 255

        SHADOWCOLOR 31 31 31

        SHADOWSIZE  3 3 

        TYPE truetype

        FONT arial

        SIZE 7

        ANTIALIAS TRUE

        POSITION auto

        ANGLE auto

        PARTIALS false

        MINDISTANCE 20

       

        BUFFER 4

      END #label 

    END #class

  END #layer

 

  LAYER

    NAME "poi"

    STATUS on

    DATA "rddpoi"

    TYPE annotation

    GROUP 'Points of Interest'

    UNITS FEET

    PROJECTION

      "init=epsg:102641" 

    END

    LABELITEM "NAME"

    CLASS

      STYLE

            COLOR -1 -1 -1

      END

      LABEL

        COLOR 255 204 102

        SHADOWCOLOR 31 31 31

        SHADOWSIZE   2 2 

        TYPE truetype

        FONT arial

        SIZE 8

        ANTIALIAS TRUE

        POSITION cc

        ANGLE 0

        PARTIALS false

        MINDISTANCE 25

       

        BUFFER 4

      END #label 

    END #class

  END #layer

 

LAYER

    NAME "parcels"

    STATUS on

    GROUP 'Parcels'

    DATA 'SCRparcel2003poly'

    TYPE polygon

    UNITS FEET

    PROJECTION

      "init=epsg:26741" 

    END

    

    CLASS

      NAME "Bounds"

      STYLE

        OUTLINECOLOR 255 102 102

        ANTIALIAS TRUE

      END

    END

  END #layer

 

 

  LAYER

    NAME "roads"

    STATUS on

    GROUP 'Roads'

    DATA "rddroads_dis"

    TYPE line

    UNITS FEET

    PROJECTION

      "init=epsg:102641" 

    END

    LABELITEM "FULL_NAME"

    LABELMAXSCALE 11000

    CLASS

      STYLE

            COLOR 255 255 255

      END

      LABEL

        COLOR 255 255 255

        SHADOWCOLOR 31 31 31

        SHADOWSIZE  3 3 

        TYPE truetype

        FONT arial

        SIZE 7

        ANTIALIAS TRUE

        POSITION auto

        ANGLE auto

        PARTIALS false

        MINDISTANCE 50

        MINFEATURESIZE auto

        BUFFER 4

      END #label 

    END #class

  END #layer

 

END



--
Marc Pfister
ENPLAN 
mpfister at enplan.com
530/221-0440
530/221-6963 Fax

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20060106/ddf0693f/attachment-0001.html


More information about the ka-Map-users mailing list