road format

Björn Platzen bjoern.platzen at MOMATEC.DE
Thu Nov 25 07:17:39 PST 2004


Hello Ahmet,

> I was wondering if anyone could tell me how we form a line
> which looks like solid and unsolid repetetion for road

I'm not sure, if this answers your question, but this way works for me
to visualize the roads as a yellow line with black outlines and a dashed
middleline:

In your street-layer:
CLASS
  STYLE
    SYMBOL 'simple_line'
    SIZE 5
    COLOR 50 50 50
  END
  STYLE
    SYMBOL 'simple_line'
    SIZE 3
    COLOR 238 214 8
  END
  STYLE
    SYMBOL 'dashed'
    SIZE 1
    COLOR 50 50 50
  END
END


in your symbol-file:

SYMBOL
  NAME 'simple_line'
  TYPE ELLIPSE
  POINTS 1 1 END
END

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

hth,

Bjoern.

--
momatec GmbH
www.momatec.de



More information about the MapServer-users mailing list