Crispy Lines

Luiz Vaz vaz.luiz at GMAIL.COM
Tue Mar 28 17:47:26 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, samples images can be found here:
Crispy one: http://img77.imageshack.us/my.php?image=crispy8ik.png
Rounded one: http://img77.imageshack.us/my.php?image=rounded3hy.png


    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/c52ad12f/attachment.htm>


More information about the MapServer-users mailing list