Hi Bob and Brent,<br><br>That was a great thread to dig into, thanks for sending me the link.&nbsp; I&#39;m guessing that Mapserver wasn&#39;t originally developed with the intent of acting as an engine for cartographic quality, paper, map production.&nbsp; The fact that it&#39;s capable of generating images of such high quality that I&#39;m considering its use for exactly that purpose really says something about the quality of the development effort that has gone into it.&nbsp; Kudos to all who have contributed to the project.&nbsp; I really love it as a tool, and I enjoy working with it.<br>
<br>I myself use (or am attempting to use) Mapserver for 2 completely disparate tasks.&nbsp; One use is to drive a web-map interface, and with that I have no issues whatsoever.&nbsp; The other is to create map graphics which are included in printed reports.&nbsp; Although the data shown is similar in both cases, the paper use-case is definitely more difficult to implement and has it&#39;s own unique requirements.&nbsp; As Brent said in one of his posts, &quot;a map without a graticule, scale bar, and projection statement, (with parameter values!) is just a diagram&quot;.&nbsp; I would add a legend to that list as well, and Mapserver can generate all of those things relatively well.&nbsp; However, as is true with all projects, the 80/20 rule is biting at my heels here.<br>
<br>To give some background to the problem, the requirement I&#39;m working from is to generate graphics that look as good, or better, than those which are currently being generated with GMT (Generic Mapping Tools).&nbsp; For those of you who haven&#39;t tried GMT, it is capable of some pretty fantastic looking, print-quality maps.&nbsp; However, its use in an automated system is somewhat difficult, and it lacks some of the flexibility in data access, cartographic styling, and labeling which Mapserver has.&nbsp; It also lacks an API.&nbsp; Although I doubt we will ever fully replace GMT in the creation of one-off&#39;s, I think there is a good case to be made for replacing it with another tool for automated, and menu-driven map creation.&nbsp; The problem is that GMT &quot;does it all&quot;.&nbsp; Without going into all of what GMT can do, here are a few of the things that it does which I haven&#39;t been able to find an easy way to implement with Mapserver.<br>
<br>1) Rendering of raster features based on the input of an array of regulalry-spaced points with X,Y,Z values.<br>2) Raster symbolization using color gradients, as opposed to just discreet colors.<br>3) Creation of color bars (legend) to show the values in a raster data set.<br>
4) Graticule tick-marks on the edges of the map frame.<br>5) Inclusion of a map title.<br>6) Inclusion of text to describe the map.<br><br>So far, my solution seems to be similar in concept to what others appear to be doing - I do these things outside of Mapserver.&nbsp; Items 1 and 2 are taken care of by the creation of a display-ready GeoTIFF with gdal.&nbsp; 3 - 6 are still being worked on, but at the moment are being dealt with by loading the Mapserver image into Matplotlib, then adding &quot;decoration&quot;.&nbsp; Although this works, it seems a bit klunky to do these with 3 separate tools, especially given the nice job Mapserver already does with other things that are very similar in nature.<br>
<br>Having said that, please don&#39;t flame me!&nbsp; I&#39;m finding workarounds to solve the problems I&#39;m having.&nbsp; I just want to add my voice to those who have already expressed an interest in extending some of the &quot;decoration&quot; functionality in Mapserver.&nbsp; And yes, I also know that other tools (such as GRASS) can do this, but that&#39;s not the point. ;)<br>
<br>Thanks again to all of you who have worked to make Mapserver such a great tool.<br><br>Roger<br>--<br><br><div class="gmail_quote">
On Thu, Dec 11, 2008 at 11:06 AM, Bob Basques <span dir="ltr">&lt;<a href="mailto:Bob.Basques@ci.stpaul.mn.us" target="_blank">Bob.Basques@ci.stpaul.mn.us</a>&gt;</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;">

Brent,<br>
<br>
We basically came to the same conclusions, although I think there is<br>
also the potential for combining seamless overlay with the surround<br>
method as well. &nbsp;I still keep looking inside of MapServer too, but just<br>
can&#39;t seem to come up with a flexible method of building anything.<br>
<br>
The surround method is on my list, but it&#39;s down a ways. &nbsp;:c)<br>
<br>
bobb<br>
<br>
<br>
<br>
&gt;&gt;&gt; Brent Fraser &lt;<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>&gt; 12/11/08 1:00 PM &gt;&gt;&gt;<br>
<div><div></div><div>Roger,<br>
<br>
 &nbsp;I asked a similar question last year<br>
(<a href="http://lists.osgeo.org/pipermail/discuss/2007-September/002349.html" target="_blank">http://lists.osgeo.org/pipermail/discuss/2007-September/002349.html</a>).<br>
<br>
 &nbsp;Landon Blake and I (and others) came to the conclusion that the answer<br>
was to create a &quot;map surround&quot; library suitable for wrapping as a<br>
plug-in to various generic publishing/compositing applications (such as<br>
Inkscape, Scribus, ReportLab, etc) and possibly some desktop GIS apps<br>
(uDig, Quantum, gvSig, OpenJump, etc).<br>
<br>
 &nbsp;While I still believe that&#39;s the ultimate answer, I find myself going<br>
back to Mapserver&#39;s mappdf.c (and mapgraticule.c, etc), and speculating<br>
on enhancements to give Mapserver the capability right out of the box.<br>
<br>
Brent Fraser<br>
GeoAnalytic Inc.<br>
<br>
<br>
Roger André wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I&#39;m curious what options have been explored to create tick marks,<br>
&gt; graticules and outside-of-map symbology? &nbsp;I&#39;m currently investigating<br>
&gt; the use of Matplotlib as a compositer to draw on top of a<br>
&gt; Mapserver-generated image, and while I think this will give nice<br>
looking<br>
&gt; results, the speed of the process is quite slow, probably because<br>
&gt; Matplotlib deconstructs the Mapserver image with PIL and works with it<br>
<br>
&gt; as a numpy array.<br>
&gt;<br>
&gt; I&#39;m interested in hearing about any other tools that allow for the<br>
same<br>
&gt; sort of &quot;drawing on top of&quot; strategy, preferrably ones with API&#39;s.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Roger<br>
</div></div>_______________________________________________<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>
<br>
</blockquote></div><br>