<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi list,</p>
<p>I've completed a new tutorial for raster data in MapServer, and
using templates for querying. <br>
</p>
<p><a
href="https://geographika.github.io/tutorial/quickstart/raster.html">https://geographika.github.io/tutorial/quickstart/raster.html
</a><br>
</p>
Comments and feedback welcome. This relates to <a
href="http://mapserver.org/development/rfc/ms-rfc-115.html">http://mapserver.org/development/rfc/ms-rfc-115.html</a><br>
<br>
A few items it would be useful to know further details on:<br>
<br>
- Does anyone have recommendations on what output formats to use?
There are technical details at <a
href="http://www.mapserver.org/mapfile/outputformat.html">http://www.mapserver.org/mapfile/outputformat.html</a>
but not much in the way of recommendations. I guess if you need
transparency you need the default PNG32 format. It is slightly
unclear how to reduce the default PNG quality (if possible), or any
advantages/disadvantages of using CAIRO/PNG. <br>
<br>
- There may be a bug in the raster querying code. Clicking on the
sea in the demo correctly returns RGB values of 10,10,51 for pixels
representing the sea. However to set these pixels to an alternate
colour the MAP file needed:<br>
<br>
EXPRESSION ([red] = 10 AND [green] = 10 AND [blue] = 10) <br>
<br>
<a
href="https://geographika.github.io/tutorial/quickstart/raster.map.html#qs-raster-map">https://geographika.github.io/tutorial/quickstart/raster.map.html#qs-raster-map</a><br>
<br>
There may be an misunderstanding on my part, but it looks like the
[blue] should be 10 also. <br>
<br>
Regards,<br>
<br>
Seth<br>
<pre class="moz-signature" cols="72">--
web: <a class="moz-txt-link-freetext" href="http://geographika.co.uk">http://geographika.co.uk</a>
twitter: @geographika</pre>
</body>
</html>