Crispy Lines

Luiz Vaz vaz.luiz at GMAIL.COM
Tue Mar 28 22:17:44 EST 2006


Hi all,

    I´ve been successfully converted vmap0 data from VPF to shapefiles.
    After tests on mapfile, i noted that boundary lines are very crispy.
    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...
Crispy one: http://img77.imageshack.us/my.php?image=crispy8ik.png
Rounded one: http://img77.imageshack.us/my.php?image=rounded3hy.png


    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
  END

  # Simple dashed line symbol
  SYMBOL
    NAME 'dashed'
    TYPE ELLIPSE
    POINTS 1 1 END
    FILLED true
    STYLE 12 5 END
  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/20060329/6ea3f0d1/attachment.html


More information about the mapserver-users mailing list