<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18854">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>mmm, I tested a bit and it seems the calculation is more
complex than that, as the ellipse size definition of the symbol has also some
effect.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><FONT size=3>style->size </FONT>8, "points 6 6 end", "gap
20" => spacing of ~20px between dots</FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT size=2>style->size 8, "points 8 8 end", "gap 20" =>
spacing of ~14px between dots</FONT></DIV>
<DIV>
<DIV><FONT size=2>style->size 10, "points 6 6 end", "gap 20" =>
spacing of ~26px between dots</FONT></DIV>
<DIV> </DIV>
<DIV>I fear I dont understand at all how this is calculated
:(</DIV></DIV></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=thomas.bonfort@gmail.com
href="mailto:thomas.bonfort@gmail.com">thomas bonfort</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=mapserver-users@lists.osgeo.org
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 13, 2010 10:08
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [mapserver-users] symbol
circle (ellipse) rendered not round but oval</DIV>
<DIV><BR></DIV>thank you Thomas<BR><BR>so if I have a dot of, for example, 8px
and I want a space pf 20px between the dots, I need a gap of 20/8 =
2.5<BR><BR>but as far as I can see, Mapserver doesnt like none-integer value
for gap.<BR><BR>what should I do? :(<BR><BR>
<DIV class=gmail_quote>2010/1/12 thomas bonfort <SPAN dir=ltr><<A
href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>gap in pixels = symbol->gap * style->size
<DIV>
<DIV></DIV>
<DIV class=h5><BR><BR>
<DIV class=gmail_quote>On Tue, Jan 12, 2010 at 16:52, Oliver Christen <SPAN
dir=ltr><<A href="mailto:oliver.christen@camptocamp.com"
target=_blank>oliver.christen@camptocamp.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>GAP 20 is really giving unwanted result:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><A
href="http://dev.camptocamp.com/~ochriste/tilecache9.png"
target=_blank>http://dev.camptocamp.com/~ochriste/tilecache9.png</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>though using only one style instead of two seems to
solve the oval problem (but why ???)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>
<DIV> style<BR> symbol
"dots"<BR> size
8<BR></DIV> color 204 102
0<BR> outlinecolor 102 51
0<BR> end</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I dont understand how GAP is supposed
working:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>with GAP 2, I had ~10px between dots,</FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT size=2>with GAP 3, I had ~18px between dots,</FONT></DIV>
<DIV>
<DIV><FONT size=2>with GAP 4, I had ~26px between dots</FONT></DIV>
<DIV> </DIV>
<DIV>whats the logic ?</DIV></DIV></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(0,0,0) 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: rgb(228,228,228); font-size-adjust: none; font-stretch: normal; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><B>From:</B>
<A title=thomas.bonfort@gmail.com href="mailto:thomas.bonfort@gmail.com"
target=_blank>thomas bonfort</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com" target=_blank>Oliver
Christen</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Cc:</B>
<A title=mapserver-users@lists.osgeo.org
href="mailto:mapserver-users@lists.osgeo.org"
target=_blank>mapserver-users@lists.osgeo.org</A> </DIV></DIV>
<DIV>
<DIV></DIV>
<DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, January 12, 2010 4:36 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [mapserver-users] symbol circle (ellipse) rendered not round but
oval</DIV>
<DIV><BR></DIV>symbol<BR> name dots<BR> type
ellipse<BR> points 1 1 end<BR> gap
20<BR>end<BR><BR>...<BR><BR>style<BR> symbol "dots"<BR> size
8<BR> color r g b<BR> outlinecolor r g
b<BR>end<BR><BR><BR><BR><BR>
<DIV class=gmail_quote>On Tue, Jan 12, 2010 at 16:31, Oliver Christen
<SPAN dir=ltr><<A href="mailto:oliver.christen@camptocamp.com"
target=_blank>oliver.christen@camptocamp.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>Hi Thomas :)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>thanks for the answer, but sadely it didnt solve my
problem:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>here are a few tests I did:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>using GAP 20 gave me really weird
result:</FONT></DIV>
<DIV><FONT size=2><A
href="http://dev.camptocamp.com/%7Eochriste/tilecache6_gap_20.png"
target=_blank>http://dev.camptocamp.com/~ochriste/tilecache6_gap_20.png</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>using PATTERN 1 22 END gave me better result, but
the dot are still slightly oval:</FONT></DIV>
<DIV><FONT size=2><A
href="http://dev.camptocamp.com/%7Eochriste/tilecache7_pattern.png"
target=_blank>http://dev.camptocamp.com/~ochriste/tilecache7_pattern.png</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I wondered if the visual effect may have come from
the fact im pilling up two circle one over the other, but even when
trying to display only the outer or inner circles, the circle are
still slightly off:</FONT></DIV>
<DIV><FONT size=2><A
href="http://dev.camptocamp.com/%7Eochriste/tilecache4_outercircle.png"
target=_blank>http://dev.camptocamp.com/~ochriste/tilecache4_outercircle.png</A></FONT></DIV>
<DIV><FONT size=2><A
href="http://dev.camptocamp.com/%7Eochriste/tilecache5_innercircle.png"
target=_blank>http://dev.camptocamp.com/~ochriste/tilecache5_innercircle.png</A></FONT></DIV>
<DIV><FONT size=2>(both at once <A
href="http://dev.camptocamp.com/%7Eochriste/tilecache3_bothcircle.png"
target=_blank>http://dev.camptocamp.com/~ochriste/tilecache3_bothcircle.png</A>)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>any other idea? ^_^</FONT></DIV>
<DIV>
<DIV></DIV>
<DIV>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(0,0,0) 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: rgb(228,228,228); font-size-adjust: none; font-stretch: normal; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><B>From:</B>
<A title=thomas.bonfort@gmail.com
href="mailto:thomas.bonfort@gmail.com" target=_blank>thomas
bonfort</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com" target=_blank>Oliver
Christen</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Cc:</B>
<A title=mapserver-users@lists.osgeo.org
href="mailto:mapserver-users@lists.osgeo.org"
target=_blank>mapserver-users@lists.osgeo.org</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, January 12, 2010 3:18 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [mapserver-users] symbol circle (ellipse) rendered not round but
oval</DIV>
<DIV><BR></DIV>hi Oliver :)<BR><BR>try with GAP 20 instead of STYLE
1 20 END (which is deprecated btw, use PATTERN
now)<BR><BR>cheers,<BR>thomas<BR><BR>
<DIV class=gmail_quote>On Tue, Jan 12, 2010 at 15:04, Oliver
Christen <SPAN dir=ltr><<A
href="mailto:oliver.christen@camptocamp.com"
target=_blank>oliver.christen@camptocamp.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>hello<BR><BR>I have a weird problem with
symbology.<BR>Im rendering a line with dots, but the dots are not
round but slightly oval, see image <A
href="http://dev.camptocamp.com/%7Eochriste/tilecache.png"
target=_blank>http://dev.camptocamp.com/~ochriste/tilecache.png</A><BR><BR>Any
idea what could be the cause ?<BR><BR>Here is my symbol
definition:<BR><BR>SYMBOL<BR> NAME
"linie-gepunkt10"<BR> TYPE ELLIPSE<BR> POINTS<BR>
1 1<BR> END<BR> STYLE<BR> 1
20<BR> END<BR> FILLED TRUE<BR>END<BR><BR>and my layer's
class definition:<BR><BR> CLASS<BR> EXPRESSION
"3"<BR> MAXSCALEDENOM 200001<BR> STYLE<BR>
SYMBOL "linie-gepunkt10"<BR> SIZE 10<BR>
COLOR 102 51 0<BR> END<BR> STYLE<BR>
SYMBOL "linie-gepunkt10"<BR> SIZE 8<BR>
COLOR 204 102 0<BR> END<BR> END<BR><BR>and the
map outputformat:<BR><BR>OUTPUTFORMAT<BR> NAME
png<BR> DRIVER "AGG/PNG"<BR> MIMETYPE
"image/png"<BR> IMAGEMODE RGBA<BR> EXTENSION
"png"<BR> FORMATOPTION "INTERLACE=OFF"<BR>END
<BR>_______________________________________________<BR>mapserver-users
mailing list<BR><A href="mailto:mapserver-users@lists.osgeo.org"
target=_blank>mapserver-users@lists.osgeo.org</A><BR><A
href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>