[mapserver-users] Transparent territory radius

Steve Lime steve.lime at dnr.state.mn.us
Mon Sep 30 14:05:08 PDT 2002


Hmmmm.... What about using a straight circular symbol, and then the
transparency option?

Eg.

SYMBOL
  NAME 'circle'
  TYPE ELLIPSE
  POINTS 1 1 END
  FILLED TRUE
END

LAYER
...
  TYPE POINT
  SIZEUNITS kilometers
  TRANSPARENCY 50
  CLASS
    SIZE 60
    NAME 'ORAC 30km ring'
    SYMBOL 'circle'
    COLOR 0 0 255
   END
....
END

That *should* get you blue, transparent, circles centered at the points
you want. This needs version 3.6 though.

Steve


Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Martin, Daniel" <DMartin at erac.com> 09/30/02 03:24PM >>>
Sorry for the HTML format if you cannot handle it.  It's the easiest
way to
get my point across.  I'm not even sure the list supports it.

I am trying to create 30 kilometer radius territory rings that are
transparent.  I succeeded, but not in the way I want.  I created a
PIXMAP
symbol that (when blown up) looks like this:

Dither symbol

Now, when I use that symbol in predefined a POLYGON layer, it looks
like
this: 



Great, this is exactly what I want.  Except that I have to build the
circle
buffer layer before hand.  When the underlying points change (which
happens
almost every week), I have to rebuild the layer manually.  So, I
figured I
could use the original point layer this way:

LAYER
...
  TYPE LINE
  SIZEUNITS kilometers
  CLASS
   SIZE 60
    NAME 'ORAC 30km ring'
    SYMBOL dither-blue-10_Percent
    COLOR 0 0 255
    OUTLINECOLOR 10 10 10
  END
....
END

Unfortunately, that looks like this:



 

Not exactly what I was hoping for.  I've tried everything I could find
in
the documentation, the Wiki, and the mailing list archives, but none of
it
worked.  Does anyone know how I can accomplish this with a POINT
layer?

Thanks,
Dan Martin



More information about the MapServer-users mailing list