<!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>&nbsp;</DIV>
<DIV><FONT size=2><FONT size=3>style-&gt;size </FONT>8, "points 6 6 end", "gap 
20" =&gt; spacing&nbsp;of ~20px between dots</FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT size=2>style-&gt;size 8, "points&nbsp;8 8 end", "gap 20" =&gt; 
spacing&nbsp;of ~14px between dots</FONT></DIV>
<DIV>
<DIV><FONT size=2>style-&gt;size 10, "points 6 6 end", "gap 20" =&gt; 
spacing&nbsp;of ~26px between dots</FONT></DIV>
<DIV>&nbsp;</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 =&nbsp; 
  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>&lt;<A 
  href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</A>&gt;</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-&gt;gap * style-&gt;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>&lt;<A href="mailto:oliver.christen@camptocamp.com" 
    target=_blank>oliver.christen@camptocamp.com</A>&gt;</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>&nbsp;</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>&nbsp;</DIV>
      <DIV><FONT size=2>though using only one style instead of two&nbsp;seems to 
      solve the oval problem (but why ???)</FONT></DIV>
      <DIV><FONT size=2></FONT>&nbsp;</DIV>
      <DIV><FONT size=2>
      <DIV>&nbsp;&nbsp;&nbsp; style<BR>&nbsp;&nbsp;&nbsp;&nbsp; symbol 
      "dots"<BR>&nbsp;&nbsp;&nbsp;&nbsp; size 
      8<BR></DIV>&nbsp;&nbsp;&nbsp;&nbsp; color 204 102 
      0<BR>&nbsp;&nbsp;&nbsp;&nbsp; outlinecolor&nbsp; 102 51 
      0<BR>&nbsp;&nbsp;&nbsp; end</FONT></DIV>
      <DIV><FONT size=2></FONT>&nbsp;</DIV>
      <DIV><FONT size=2>I dont understand how GAP is supposed 
      working:</FONT></DIV>
      <DIV><FONT size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;name dots<BR>&nbsp;type 
        ellipse<BR>&nbsp;points 1 1 end<BR>&nbsp;gap 
        20<BR>end<BR><BR>...<BR><BR>style<BR>&nbsp;symbol "dots"<BR>&nbsp;size 
        8<BR>&nbsp;color r g b<BR>&nbsp;outlinecolor&nbsp; 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>&lt;<A href="mailto:oliver.christen@camptocamp.com" 
        target=_blank>oliver.christen@camptocamp.com</A>&gt;</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>&nbsp;</DIV>
          <DIV><FONT size=2>thanks for the answer, but sadely it didnt solve my 
          problem:</FONT></DIV>
          <DIV><FONT size=2></FONT>&nbsp;</DIV>
          <DIV><FONT size=2>here are a few tests I did:</FONT></DIV>
          <DIV><FONT size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&lt;<A 
            href="mailto:oliver.christen@camptocamp.com" 
            target=_blank>oliver.christen@camptocamp.com</A>&gt;</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>&nbsp;NAME 
              "linie-gepunkt10"<BR>&nbsp;TYPE ELLIPSE<BR>&nbsp;POINTS<BR>&nbsp; 
              1 1<BR>&nbsp;END<BR>&nbsp;STYLE<BR>&nbsp; 1 
              20<BR>&nbsp;END<BR>&nbsp;FILLED TRUE<BR>END<BR><BR>and my layer's 
              class definition:<BR><BR>&nbsp;CLASS<BR>&nbsp; EXPRESSION 
              "3"<BR>&nbsp; MAXSCALEDENOM 200001<BR>&nbsp; STYLE<BR>&nbsp; 
              &nbsp; SYMBOL "linie-gepunkt10"<BR>&nbsp; &nbsp; SIZE 10<BR>&nbsp; 
              &nbsp; COLOR 102 51 0<BR>&nbsp; END<BR>&nbsp; STYLE<BR>&nbsp; 
              &nbsp; SYMBOL "linie-gepunkt10"<BR>&nbsp; &nbsp; SIZE 8<BR>&nbsp; 
              &nbsp; COLOR 204 102 0<BR>&nbsp; END<BR>&nbsp;END<BR><BR>and the 
              map outputformat:<BR><BR>OUTPUTFORMAT<BR>&nbsp;NAME 
              png<BR>&nbsp;DRIVER "AGG/PNG"<BR>&nbsp;MIMETYPE 
              "image/png"<BR>&nbsp;IMAGEMODE RGBA<BR>&nbsp;EXTENSION 
              "png"<BR>&nbsp;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>