[mapserver-users] draw order of .shp file arcs

Martin, Daniel DMartin at erac.com
Thu Jun 20 17:32:29 EDT 2002


Have you tried:

FORCE true


If you put that in the LAYER object, it seems to force it to the top, even
at the expense of labels.

-Dan

-----Original Message-----
From: Ryan, Adam [mailto:ARyan at co.linn.or.us]
Sent: Thursday, June 20, 2002 2:05 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] draw order of .shp file arcs



OK, here's a good one for the list...

I have a taxlot layer where almost all features are adjacent to other
features (shared arcs).

I have three different classes:

One selected lot outlined red, size 3.
Several selected lots outlined blue, size 2.
The rest of the lots outlined black, size 1.

See the portion of my map file below.

See the attached image file for what I get.
 <<the_img.gif>> 
It seems like the arcs are drawn in the order they appear in the .shp file
rather than whole polygons according to the class order.

Any suggestions on how to make the red, selected lot, come out ENTIRELY on
top and not partially hidden by the blue, secondary lots?


  LAYER
    NAME taxlots
    DATA "\webmap\data\shpfiles\taxlots"
    STATUS ON
    TYPE POLYGON
    CLASSITEM TAXLOTS_

    CLASS
      NAME "selected_feature"
      OUTLINECOLOR 125 125 0
      TEMPLATE "\webmap\GIS7\GIS7_nq_temp.htm"
      EXPRESSION /8131/
      SIZE 3
      SYMBOL regular
      OUTLINECOLOR 255 74 74
    END

    CLASS
      NAME "selected_list"
      OUTLINECOLOR 125 125 0
      TEMPLATE "\webmap\GIS7\GIS7_nq_temp.htm"
      EXPRESSION /8208|8233|8259/
      SIZE 2
      SYMBOL regular
      OUTLINECOLOR 73 96 199
    END

    CLASS
      NAME "taxlots"
      OUTLINECOLOR 100 100 100
      TEMPLATE "\webmap\GIS7\GIS7_nq_temp.htm"
      EXPRESSION /./
      SIZE 1
      SYMBOL regular
    END

END



More information about the mapserver-users mailing list