Crispy Lines

Luiz Vaz vaz.luiz at GMAIL.COM
Tue Mar 28 16:59:08 PST 2006


Hi all,

    I´ve been successfully converted vmap0 data from VPF to shapefiles.
    After tests on  the mapfile, i noted that boundary lines are very crispy
and no matter what i do, they don´t look well...

    In very curvy places the dash don´t obey the gap.
    In other hand, solid line is vertically very thin...
    I tried the cartoline, but was worse than ellipse!


    I´m using PNG rather than JPG.
    But had the impression that I'm missing something...


    Below are my Symbol's and Layer's:

  # Simple solid line symbol
  SYMBOL
    NAME "solid"
    TYPE ELLIPSE
    POINTS 1 1 END
    FILLED true
    STYLE 1 0 END
    LINEJOINMAXSIZE 1
    LINEJOIN round
    LINECAP round
  END

  # Simple dashed line symbol
  SYMBOL
    NAME 'dashed'
    TYPE ELLIPSE
    POINTS 1 1 END
    FILLED true
    STYLE 12 5 END
    LINEJOINMAXSIZE 1
    LINEJOIN round
    LINECAP round
  END

  # Country Borders
  LAYER
    NAME             "countries"
    DATA             polbndl
    STATUS           DEFAULT
    TYPE             LINE
    CLASS
      NAME      "Country"
      EXPRESSION ([use] = 23)
      SYMBOL    'solid'     # Thick gray background
      COLOR     128 128 123
      SIZE      3
    END
    PROJECTION
      "proj=latlong"
      "datum=NAD83"
    END
  END

  # State borders
  LAYER
    NAME             "states"
    DATA             polbndl
    STATUS           DEFAULT
    TYPE             LINE
    #MAXSCALE         500000
    TRANSPARENCY     70
    CLASS
      NAME      "States"
      EXPRESSION ([use] = 26)
      SYMBOL    'dashed'     # Thick gray background
      COLOR     128 128 123
      SIZE      2
    END
    PROJECTION
      "proj=latlong"
      "datum=NAD83"
    END
  END


Best Regards,
Luiz Vaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060328/533aeb17/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rounded.png
Type: image/png
Size: 2564 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060328/533aeb17/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crispy.png
Type: image/png
Size: 3758 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060328/533aeb17/attachment-0001.png>


More information about the MapServer-users mailing list