-----Original Message-----
From: Travis Kirstine [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2007 1:27 PM
To: John Mitchell
Subject: RE: [UMN_MAPSERVER-USERS] The size of a line is always 1 pixel even
when I change the size from 1 to 2 or more


John,
You have to define a line symbol in the class and the corrosponding symbol
in your symbol.sys file (only if the symbol dosen't already exist).

mapfile:
LAYER
   NAME MajorRoads
   TYPE Line
   DATA "F:\GV_Data\ShapeFiles\usa\majrdnet"
   STATUS ON
   CLASS
      SYMBOL "line"
      COLOR 0 0 0
      SIZE 2
   END
 END


symbol.sys file

SYMBOL
   NAME "line"
   TYPE ELLIPSE
   POINTS
      1 1
   END
   FILLED TRUE
END

check out:
http://mapserver.gis.umn.edu/docs/howto/cartosymbols

  -----Original Message-----
  From: UMN MapServer Users List [mailto:[EMAIL PROTECTED]
Behalf Of John Mitchell
  Sent: Friday, March 16, 2007 12:37 PM
  To: [email protected]
  Subject: [UMN_MAPSERVER-USERS] The size of a line is always 1 pixel even
when I change the size from 1 to 2 or more


  Hi,

  The size of a line is always 1 pixel even when I change the size from 1 to
2 or more:

  LAYER
    NAME MajorRoads
    TYPE Line
    DATA "F:\GV_Data\ShapeFiles\usa\majrdnet"

    STATUS ON

    CLASS
     COLOR 0 0 0
     SIZE 2
    END

   END


  --
  John J. Mitchell

Reply via email to