[mapserver-users] AGG and cartoline trap

Christy Nieman cnieman at dmsolutions.ca
Tue Nov 4 03:54:31 PST 2008


Hi,

There is a symbol type "simple" that does more or less the same as 
cartolines.

SYMBOL
  NAME "dotline"
  TYPE simple
  LINECAP butt
  LINEJOIN miter
  PATTERN
    1 20 1 20
  END
END

should do the trick.

Christy

-- 
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: cnieman at dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca

Raivo Alla wrote:
> Hi!
>
> I have question about AGG incapability to handle CARTOLINE type of
> symbols which in my case leads to problem - I can't figure out how I
> can manage to describe symbol
> seen here: http://picasaweb.google.com/snaperski/Ort#5264703564091103650
>
> With GD rendering I could use symbol definition as follows:
>
> SYMBOL
>   NAME "dotline"
>   TYPE cartoline
>   LINECAP butt
>   LINEJOIN miter
>   LINEJOINMAXSIZE 3
>   STYLE
>   1 20 1 20
>   END
> END
>
> and in mapfile describe the style like that:
>
>  CLASS
>   NAME "Elektriliin"
>   EXPRESSION '10'
>   STYLE
>    SYMBOL "line"
>    SIZE 1
>    COLOR 0 0 0
>   END
>   STYLE
>    SYMBOL "dotline"
>    SIZE 8  #vertical stripes
>    COLOR 0 0 0
>   END
>  END
>
> How I can do that without cartolines?
>
>
> Sincerely,
> Raivo Alla
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>   
-- 
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: cnieman at dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
Phone: 613-565-5056 x12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081104/f80c7678/attachment.htm>


More information about the MapServer-users mailing list