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

Ryan, Adam ARyan at co.linn.or.us
Thu Jun 20 15:05:28 EDT 2002


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: the_img.gif
Type: image/gif
Size: 11593 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020620/d9721900/the_img.gif


More information about the mapserver-users mailing list