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

Travis Kirstine tkirstine at JDBARNES.COM
Fri Mar 16 10:27:31 PDT 2007


-----Original Message-----
From: Travis Kirstine [mailto:tkirstine at jdbarnes.com]
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:MAPSERVER-USERS at LISTS.UMN.EDU]On
Behalf Of John Mitchell
  Sent: Friday, March 16, 2007 12:37 PM
  To: MAPSERVER-USERS at LISTS.UMN.EDU
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070316/9940a797/attachment.htm>


More information about the MapServer-users mailing list