[mapserver-users] Widely spaced Diagonal Fill

Stephan Dunning SDunning at nephrology.org
Thu Oct 25 12:49:56 EDT 2001


Keep your original symbol definition, but adjust the size parameter of the
symbol.  
A size of 6 worked well for me.

-----Original Message-----
From: Hankley, Chip [mailto:Chip.Hankley at GASAI.Com]
Sent: Thursday, October 25, 2001 10:14 AM
To: MapServer List (E-mail)
Subject: [mapserver-users] Widely spaced Diagonal Fill


I'm having trouble figuring out how to do a simple diagonal hash.

If I use the following definition, I do get a diagonal fill (sort of)...

SYMBOL
  NAME 'hash'
  TYPE VECTOR
  POINTS
    0 0
    1 1
  END
END

However, it's more of a checkerboard in that every other pixel is filled
(which is what I would expect based on the definition).

How would I do a more widely spaced fill (i.e. 45 degree lines with say, 5
pixels of space between lines)? The following definition looks the same as
the first:

SYMBOL
  NAME 'hash'
  TYPE VECTOR
  POINTS
    0 0
    5 5
  END
END

Thanks!

Chip Hankley



More information about the mapserver-users mailing list