Hello All,<div><br></div><div>thanks for the responses, as always great help. I will set to and look into the leads you have given me and see what I can come up with. </div><div><br></div><div>The basic idea they have is to use the two rectangles to define printable areas so that a user can opt for a size 1 or size 2 print and see on the map the area that will be printed in real terms on the large format printer they have.(this will be connected to a high res data set so the prints will work in large wall type maps.</div>
<div>I will then use the bookmark service I was pointed to earlier on to save the whole thing and then send the saved details to the person who will be printing them out.</div><div><br></div><div>Sorry I only get the job spec one bit at a time....I think its called mushroom development.</div>
<div><br></div><div>Thanks again.</div><div><br></div><div>Carl<br><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 3:03 PM, Bob Basques <span dir="ltr"><<a href="mailto:Bob.Basques@ci.stpaul.mn.us">Bob.Basques@ci.stpaul.mn.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="font-variant:normal;margin-top:4px;margin-right:4px;line-height:normal;margin-bottom:1px;margin-left:4px">
<p style="margin-bottom:0;margin-top:0">
<font face="Comic Sans MS" size="3">Carl,</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<font face="Comic Sans MS" size="3">Yes, you can draw features on a map straight from the Mapfile. You can place the features into the map based on Pixel coordinates (so that the features are always in the same spot) but you will need to convert between ground and image coordinates in some fashion, there are methods available in Mapserver using templates to do some of what you are looking for. TEMPLATES are a bigger subject than this list to learn about.</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<font face="Comic Sans MS" size="3">As an example, you can see a Text disclaimer on this image generation that is always in the output image as a "inline" feature that is drawn at request time over the outputted image:</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<a href="http://gis.ci.stpaul.mn.us/datasets/DB/SAINT_PAUL/PUBLIC_WORKS/SEWERS/PERMIT.map?mapext=552958.6066767556%20152678.97367287058%20553784.5742726609%20153387.49779396047&mapsize=1069%20917&mode=map" target="_blank"><u><font size="3" color="#0000ff" face="Comic Sans MS"><i>http://gis.ci.stpaul.mn.us/datasets/DB/SAINT_PAUL/PUBLIC_WORKS/SEWERS/PERMIT.map?mapext=552958.6066767556%20152678.97367287058%20553784.5742726609%20153387.49779396047&mapsize=1069%20917&mode=map</i></font></u></a><font face="Comic Sans MS" size="3"></font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<font face="Comic Sans MS" size="3">If no BBOX is passed, then the result is just the inline feature:</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<a href="http://gis/datasets/DB/SAINT_PAUL/PUBLIC_WORKS/SEWERS/PERMIT.map" target="_blank"><u><font size="3" color="#0000ff" face="Comic Sans MS"><i>http://gis/datasets/DB/SAINT_PAUL/PUBLIC_WORKS/SEWERS/PERMIT.map</i></font></u></a><font face="Comic Sans MS" size="3"></font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<font face="Comic Sans MS" size="3">The text in the upper right corner is an inline feature, and here is the chunk of MAPFILE that displays the information:</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> LAYER</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> METADATA</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> "ows_title" "Disclaimer"</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> "gml_include_items" "all"</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> END</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> NAME 'disclaimer1'</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> STATUS DEFAULT</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> TRANSFORM FALSE</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> TYPE ANNOTATION</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> FEATURE</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> POINTS</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> 170 20</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> END</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> TEXT 'THE SEWER INFORMATION DISPLAYED IS CURRENTLY|UNDER REVIEW AND MAY CONTAIN INACCURACIES.|CURRENT AS-BUILT INFORMATION IS AVAILABLE VIA THE PW PORTAL.'</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> END</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> CLASS</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> LABEL</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> TYPE BITMAP</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> FORCE TRUE</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> COLOR 0 0 0</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> OUTLINECOLOR 254 254 254</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> SHADOWCOLOR 254 254 254</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> SHADOWSIZE 1 1</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> SIZE TINY</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> WRAP '|'</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> END</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> END</font> </p>
<p style="margin-bottom:0;margin-top:0">
<font face="Courier" size="2"> END</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<font face="Comic Sans MS" size="3">You can read more about inline features here:</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<a href="http://ms.gis.umn.edu:8081/ms_plone/docs/reference/vector_data/inline" target="_blank"><u><font size="3" color="#0000ff" face="Comic Sans MS"><i>http://ms.gis.umn.edu:8081/ms_plone/docs/reference/vector_data/inline</i></font></u></a><font face="Comic Sans MS" size="3"></font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<font face="Comic Sans MS" size="3">bobb</font> </p>
<br>
<p style="margin-bottom:0;margin-top:0">
<br>
<br>
>>> Carl Burn <<a href="mailto:burnsy@northcountrywoods.co.uk" target="_blank">burnsy@northcountrywoods.co.uk</a>> wrote:<br> </p>
<table bgcolor="#f3f3f3" style="margin-top:0;margin-right:0;margin-bottom:0;font-size:1em;margin-left:15px" border="0">
<tbody><tr>
<td>
<div style="border-left:solid 1px #050505;padding-left:7px">
<p style="margin-bottom:0;margin-top:0">
Hello all, </p>
<div>
<p style="margin-bottom:0;margin-top:0">
<br>
</p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
this may be more appropriate on the mapserver list but I am not sure so here goes. </p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
<br>
</p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
I am going to need to display two rectangles as layers on my map, they will need to be just a rectangular box with an outline and transparent centre panel, sizes have not been given yet but will most likely be 25km high and 45km wide or something of that order, the rectangles will be of a different size and have a different colour outline. </p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
I am then going to need to try to get 1 or other of the rectangles to display on the maps at all times and to "follow" the centre point of the map as the user pans and zooms around. </p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
<br>
</p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
Anyone have any ideas on how best to accomplish this? </p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
<br>
</p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
Cheers </p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
<br>
</p>
</div>
<div>
<p style="margin-bottom:0;margin-top:0">
Carl
</p>
</div>
</div>
</td>
</tr>
</tbody></table>
</div>
</blockquote></div><br></div>