Dashed Outline

David Fawcett David.Fawcett at STATE.MN.US
Tue Sep 7 12:37:04 EDT 2004


Titus,

Define this symbol in your symbols.sym file:

SYMBOL
  NAME 'dashed'
  TYPE ELLIPSE
  POINTS 1 1 END
  FILLED true
  STYLE 10 5 5 END
END

Your layer definition should look something like:

LAYER
   NAME  basemap
   STATUS default
   TYPE polygon
   DATA score
   CLASS
      STYLE
         OUTLINECOLOR 153 153 153
         COLOR 204 204 153
         SYMBOL 'dashed'
      END  #end of style
   END  #end of class
END  #end of layer

David.

David J. Fawcett
MN Office of Environmental Assistance

>>> Titus von der Malsburg <malsburg at CL.UNI-HEIDELBERG.DE> 9/7/2004
11:26:38 AM >>>
I want the outline of a polygon (esri world base country layer) to be
dashed, but couldn't find anything about how to achieve this.  No
documentation, no mapfile snippets.  Is it possible at all to have
dashed outlines?

A hack, that seems to work is
 * duplicate the layer in the mapfile
 * say TYPE POLYGON to the one
 * and TYPE LINE to the other
 * the first defines the filling
 * the latter the outline

Cheers,
        Titus



More information about the mapserver-users mailing list