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 "QUERY_STRING=map=/var/www/veloland/private/veloland/veloland/wms/veloland.map&mode=map&LAYERS=MtblandRoutenNational&mapext=556960+220720+557600+221360&mapsize=256+256" > cgi.png<br>
<br>I used exactly the same bbox and image size as the wms request:<br><br>/wms?FORMAT=image%2Fpng&LAYERS=MtblandRoutenNational&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A21781&BBOX=556960,220720,557600,221360&WIDTH=256&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 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><br><div class="gmail_quote">2010/1/12 Fawcett, David (MPCA) <span dir="ltr"><<a href="mailto:David.Fawcett@state.mn.us">David.Fawcett@state.mn.us</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="white" link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Are you requesting your image through a WMS and maybe getting a ‘non-square
pixel’ effect? </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you are using WMS, are the symbols round when you do a cgi
request in mode=map or mode=tile?</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">David.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <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<div class="im"><br>
<b>Cc:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
</div><div><div></div><div class="h5"><b>Subject:</b> Re: [mapserver-users] symbol circle (ellipse) rendered not
round but oval</div></div></span></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">Hi Thomas :)</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">thanks for the answer, but
sadely it didnt solve my problem:</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">here are a few tests I did:</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">using GAP 20 gave me really
weird result:</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;"><a href="http://dev.camptocamp.com/%7Eochriste/tilecache6_gap_20.png" target="_blank">http://dev.camptocamp.com/~ochriste/tilecache6_gap_20.png</a></span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">using PATTERN 1 22 END gave
me better result, but the dot are still slightly oval:</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;"><a href="http://dev.camptocamp.com/%7Eochriste/tilecache7_pattern.png" target="_blank">http://dev.camptocamp.com/~ochriste/tilecache7_pattern.png</a></span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">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></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;"><a href="http://dev.camptocamp.com/%7Eochriste/tilecache4_outercircle.png" target="_blank">http://dev.camptocamp.com/~ochriste/tilecache4_outercircle.png</a></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;"><a href="http://dev.camptocamp.com/%7Eochriste/tilecache5_innercircle.png" target="_blank">http://dev.camptocamp.com/~ochriste/tilecache5_innercircle.png</a></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">(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></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">any other idea? ^_^</span></p>
</div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color black; border-width: medium medium medium 1.5pt; margin: 5pt 0in 5pt 3.75pt; padding: 0in 0in 0in 4pt;">
<div>
<p class="MsoNormal"><span style="font-size: 10pt;">-----
Original Message ----- </span></p>
</div>
<div>
<p class="MsoNormal" style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:thomas.bonfort@gmail.com" title="thomas.bonfort@gmail.com" target="_blank">thomas bonfort</a> </span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size: 10pt;">To:</span></b><span style="font-size: 10pt;"> <a href="mailto:oliver.christen@camptocamp.com" title="oliver.christen@camptocamp.com" target="_blank">Oliver Christen</a> </span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size: 10pt;">Cc:</span></b><span style="font-size: 10pt;"> <a href="mailto:mapserver-users@lists.osgeo.org" title="mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a> </span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size: 10pt;">Sent:</span></b><span style="font-size: 10pt;"> Tuesday, January 12,
2010 3:18 PM</span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size: 10pt;">Subject:</span></b><span style="font-size: 10pt;"> Re:
[mapserver-users] symbol circle (ellipse) rendered not round but oval</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal" style="margin-bottom: 12pt;">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</p>
<div>
<p class="MsoNormal">On Tue, Jan 12, 2010 at 15:04, Oliver Christen <<a href="mailto:oliver.christen@camptocamp.com" target="_blank">oliver.christen@camptocamp.com</a>>
wrote:</p>
<p class="MsoNormal">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></p>
</div>
<p class="MsoNormal"> </p>
</blockquote>
</div></div></div>
</div>
</blockquote></div><br>