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 class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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 class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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/%7Eochriste/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: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="thomas.bonfort@gmail.com" href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas bonfort</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>Sent:</b> Tuesday, January 12, 2010 4:36
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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: 1px solid rgb(204, 204, 204); 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: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="thomas.bonfort@gmail.com" href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas bonfort</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Tuesday, January 12, 2010 3:18 PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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: 1px solid rgb(204, 204, 204); 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>