Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a

  • Polygon layer (National Park)
  • PNG Pixmap symbol (from Maki icon set)
  • MapServer 5.6

If I use the PNG Pixmap symbol for my Polygon Layer, Mapserver fills the polygon layer with the png symbols.

I tried using

GAP 300

However it doesn't seem to work with pixmap (works fine with vector symbol)

Is there another way to use GAP for pixmap ?

share|improve this question

I am not sure if GAP works for pixmap polygon fills with Mapserver version 5 (it does not seem to work in 5.6.7). I know that it works with Mapserver version 6.
GAP specifies the centre to centre distance, so you need to add the width/height of the pixmap (or the STYLE SIZE, if that is specified) to get the right spacing between the symbols.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.