<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Oliver, <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Apologies for sending you down the wrong path.&nbsp; I don&#8217;t
follow the dev list, so I am not up on the latest feature opportunities (and
pitfalls).&nbsp; My solutions appear to be aimed at things people have already
figured out&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>David.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Oliver Christen
[mailto:oliver.christen@camptocamp.com] <br>
<b>Sent:</b> Wednesday, January 13, 2010 3:05 AM<br>
<b>To:</b> Fawcett, David (MPCA)<br>
<b>Cc:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] symbol circle (ellipse) rendered not
round but oval<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>hi David<br>
<br>
Im requesting the image through wms indeed.<br>
Though the bbox x/y ratio is exactly the same as the image x/y.<br>
I tried to request the same image directly in cgi, sadely I get exactly the
same problem:<br>
<br>
image result in cgi: <a href="http://dev.camptocamp.com/~ochriste/cgi.png">http://dev.camptocamp.com/~ochriste/cgi.png</a><br>
<br>
(as compared to the wms image <a
href="http://dev.camptocamp.com/~ochriste/wms.png">http://dev.camptocamp.com/~ochriste/wms.png</a>)<br>
<br>
this is the cgi request I used:<br>
/usr/lib/cgi-bin/mapserv -nh &quot;QUERY_STRING=map=/var/www/veloland/private/veloland/veloland/wms/veloland.map&amp;mode=map&amp;LAYERS=MtblandRoutenNational&amp;mapext=556960+220720+557600+221360&amp;mapsize=256+256&quot;
&gt; cgi.png<br>
<br>
I used exactly the same bbox and image size as the wms request:<br>
<br>
/wms?FORMAT=image%2Fpng&amp;LAYERS=MtblandRoutenNational&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A21781&amp;BBOX=556960,220720,557600,221360&amp;WIDTH=256&amp;HEIGHT=256<br>
<br>
this is when using STYLE 1 20 END or PATTERN 1 20 END for the symbol<br>
<br>
when using GAP&nbsp; the dots are correctly shaped<br>
<br>
so I suspect the problem is within the interpretation of STYLE/PATTERN for the
symbol generation ?<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal>2010/1/12 Fawcett, David (MPCA) &lt;<a
href="mailto:David.Fawcett@state.mn.us">David.Fawcett@state.mn.us</a>&gt;<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'>Are you requesting your image through a
WMS and maybe getting a &#8216;non-square pixel&#8217; effect?&nbsp; </span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'>If you are using WMS, are the symbols
round when you do a cgi request in mode=map or mode=tile?</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'>David.</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> <a
href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Oliver Christen<br>
<b>Sent:</b> Tuesday, January 12, 2010 9:31 AM<br>
<b>To:</b> thomas bonfort<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt'><br>
<b>Cc:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><o:p></o:p></span></p>

</div>

<div>

<div>

<p class=MsoNormal><b><span style='font-size:10.0pt'>Subject:</span></b><span
style='font-size:10.0pt'> Re: [mapserver-users] symbol circle (ellipse)
rendered not round but oval<o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>Hi Thomas :)</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>thanks for the answer, but sadely it didnt solve my
problem:</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>here are a few tests I did:</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>using GAP 20 gave me really weird result:</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'><a
href="http://dev.camptocamp.com/%7Eochriste/tilecache6_gap_20.png"
target="_blank">http://dev.camptocamp.com/~ochriste/tilecache6_gap_20.png</a></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>using PATTERN 1 22 END gave me better result, but the
dot are still slightly oval:</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'><a
href="http://dev.camptocamp.com/%7Eochriste/tilecache7_pattern.png"
target="_blank">http://dev.camptocamp.com/~ochriste/tilecache7_pattern.png</a></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>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:</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'><a
href="http://dev.camptocamp.com/%7Eochriste/tilecache4_outercircle.png"
target="_blank">http://dev.camptocamp.com/~ochriste/tilecache4_outercircle.png</a></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'><a
href="http://dev.camptocamp.com/%7Eochriste/tilecache5_innercircle.png"
target="_blank">http://dev.camptocamp.com/~ochriste/tilecache5_innercircle.png</a></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>(both at once <a
href="http://dev.camptocamp.com/%7Eochriste/tilecache3_bothcircle.png"
target="_blank">http://dev.camptocamp.com/~ochriste/tilecache3_bothcircle.png</a>)</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>any other idea? ^_^</span><o:p></o:p></p>

</div>

<blockquote style='border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color black'>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt'>----- Original Message ----- </span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
background:#E4E4E4;-moz-background-clip: border;-moz-background-origin: padding;
-moz-background-inline-policy: continuous;background-attachment:scroll;
background-position-x:0%;background-position-y:0%'><b><span style='font-size:
10.0pt'>From:</span></b><span style='font-size:10.0pt'> <a
href="mailto:thomas.bonfort@gmail.com" target="_blank"
title="thomas.bonfort@gmail.com">thomas bonfort</a> </span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:10.0pt'>To:</span></b><span style='font-size:10.0pt'> <a
href="mailto:oliver.christen@camptocamp.com" target="_blank"
title="oliver.christen@camptocamp.com">Oliver Christen</a> </span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:10.0pt'>Cc:</span></b><span style='font-size:10.0pt'> <a
href="mailto:mapserver-users@lists.osgeo.org" target="_blank"
title="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a> </span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:10.0pt'>Sent:</span></b><span style='font-size:10.0pt'>
Tuesday, January 12, 2010 3:18 PM</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:10.0pt'>Subject:</span></b><span style='font-size:10.0pt'> Re:
[mapserver-users] symbol circle (ellipse) rendered not round but oval</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>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<o:p></o:p></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On
Tue, Jan 12, 2010 at 15:04, Oliver Christen &lt;<a
href="mailto:oliver.christen@camptocamp.com" target="_blank">oliver.christen@camptocamp.com</a>&gt;
wrote:<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 &quot;linie-gepunkt10&quot;<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 &quot;3&quot;<br>
&nbsp; MAXSCALEDENOM 200001<br>
&nbsp; STYLE<br>
&nbsp; &nbsp; SYMBOL &quot;linie-gepunkt10&quot;<br>
&nbsp; &nbsp; SIZE 10<br>
&nbsp; &nbsp; COLOR 102 51 0<br>
&nbsp; END<br>
&nbsp; STYLE<br>
&nbsp; &nbsp; SYMBOL &quot;linie-gepunkt10&quot;<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 &quot;AGG/PNG&quot;<br>
&nbsp;MIMETYPE &quot;image/png&quot;<br>
&nbsp;IMAGEMODE RGBA<br>
&nbsp;EXTENSION &quot;png&quot;<br>
&nbsp;FORMATOPTION &quot;INTERLACE=OFF&quot;<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><o:p></o:p></p>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</blockquote>

</div>

</div>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>