Railroad symbols

From Geomoose

Jump to: navigation, search

Contents

Background

This is a way to make a cartographicly pleasing railroad symbolization in a .map file.

Requirements

MapServer font list must include arial. The railroad lines look good almost all the time. But, this is the best solution found at this time.

Map file example

SYMBOL
 NAME "Tie"
 TYPE TRUETYPE
 FONT "arial"
 CHARACTER "|"
 GAP -10
END
LAYER
 NAME "Railway"
 DATA "railway"
 STATUS default
 MINSCALEDENOM 0
 MAXSCALEDENOM 9999999
 TYPE line
 CLASS
  NAME "Railway"
  STYLE
   SYMBOL "SolidLine"
   SIZE 1
   COLOR 0 0 0
  END
  STYLE
   SYMBOL "Tie"
   SIZE 6
   COLOR 0 0 0
  END
 END
END

Image Example

Railroad Image from MapServer

Notes

Contributed by Tasha and Dean

Personal tools