<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Tamas,</span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Great, thanks!. I'll file a ticket then regarding the agg render and adding a FORMATOPTION for generating 'thinner' looking lines.</span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">My question comes from the context of comparing Mapnik's agg output to mapserver. Mapnik seems to interpret user-entered fractional widths in a clever way, by lightening the color and intensity.</span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">I'm comparing this graphic generated with a width=0.1 with Mapnik:</span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><a href="http://mapnik-utils.googlecode.com/svn/trunk/tutorials/hello_world/xml_config/map/hello_world_using_xml_config.png">http://mapnik-utils.googlecode.com/svn/trunk/tutorials/hello_world/xml_config/map/hello_world_using_xml_config.png</a></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">to this graphic generated with Mapserver with Width 1.0:</span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><a href="http://mapnik-utils.googlecode.com/svn/trunk/tutorials/hello_world/mapserver_comparison/mapfile_config/map/hello_world_with_mapserver_mapfile.png">http://mapnik-utils.googlecode.com/svn/trunk/tutorials/hello_world/mapserver_comparison/mapfile_config/map/hello_world_with_mapserver_mapfile.png</a></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">It fully possible that my mapfile is not doing an equal comparison, so if anyone has suggestions I've pasted it below.</span></font></div><div><br></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Thanks,</span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Dane</span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">------------</span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><div># This mapfile mirrors the mapnik hello world example here:&nbsp;<a href="http://mapnik-utils.googlecode.com/svn/trunk/tutorials/hello_world/pure_python/">http://mapnik-utils.googlecode.com/svn/trunk/tutorials/hello_world/pure_python/</a></div><div># A map can be generated from it by running shp2img.</div><div># For example:</div><div># $ shp2img -m world.map -o map/hello_world_with_mapserver_mapfile.png</div><div># or</div><div># once you have installed the mapserv cgi use this url:</div><div># <a href="http://localhost/cgi-bin/mapserv?map=/path/to/this/mapfile/world.map&amp;layers=world&amp;mode=map">http://localhost/cgi-bin/mapserv?map=/path/to/this/mapfile/world.map&amp;layers=world&amp;mode=map</a></div><div><br></div><div>MAP</div><div>&nbsp;&nbsp;IMAGETYPE &nbsp; &nbsp; &nbsp; &nbsp;AGG</div><div>&nbsp;&nbsp;EXTENT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -180 -93 180 86</div><div>&nbsp;&nbsp;SIZE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 600 300</div><div>&nbsp;&nbsp;SHAPEPATH &nbsp; &nbsp; &nbsp; "../../data/"</div><div>&nbsp;&nbsp;IMAGECOLOR &nbsp; &nbsp; 70 130 180</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;OUTPUTFORMAT&nbsp;</div><div>&nbsp;&nbsp; NAME 'AGG'&nbsp;</div><div>&nbsp;&nbsp; DRIVER AGG/PNG&nbsp;</div><div>&nbsp;&nbsp; IMAGEMODE RGB</div><div>&nbsp;&nbsp; MIMETYPE "image/png"</div><div>&nbsp;&nbsp;END</div><div><br></div><div>&nbsp;&nbsp;LAYER&nbsp;</div><div>&nbsp;&nbsp; &nbsp;NAME &nbsp; &nbsp; &nbsp; &nbsp; world</div><div>&nbsp;&nbsp; &nbsp;DATA &nbsp; &nbsp; &nbsp; &nbsp; world_borders.shp</div><div>&nbsp;&nbsp; &nbsp;STATUS &nbsp; &nbsp; &nbsp;ON</div><div>&nbsp;&nbsp; &nbsp;TYPE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;POLYGON</div><div><br></div><div>&nbsp;&nbsp; &nbsp;CLASS</div><div>&nbsp;&nbsp; &nbsp; &nbsp;NAME &nbsp; &nbsp; &nbsp; "World"</div><div>&nbsp;&nbsp; &nbsp; &nbsp;STYLE</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;COLOR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 242 239 249</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;OUTLINECOLOR &nbsp; 127 127 127</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;WIDTH 1</div><div>&nbsp;&nbsp; &nbsp; &nbsp;END</div><div>&nbsp;&nbsp; &nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;END</div><div>&nbsp;&nbsp;END&nbsp;</div><div>END</div><div><br></div><div><br></div></span></font></div><div><br></div></span></font><div><div>On Aug 18, 2008, at 3:53 PM, Tamas Szekeres wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dane,<br><br>I think it's reasonable but would only be feasible for the AGG renderer though.<br><br><br>Best regards,<br><br>Tamas<br><br><br><br>2008/8/19 Dane Springmeyer &lt;<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>>:<br><blockquote type="cite">I can see from <a href="http://mapserver.gis.umn.edu/docs/reference/mapfile/style">http://mapserver.gis.umn.edu/docs/reference/mapfile/style</a><br></blockquote><blockquote type="cite">that only integers are supported for the Style > Width parameter.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Are thinner lines (a float type) a possibility or have they been considered<br></blockquote><blockquote type="cite">in the MapServer code base?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I can't find anything in trac to suggest so, but I thought to check here<br></blockquote><blockquote type="cite">before filing a ticket.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Dane<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">mapserver-users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br></div></body></html>