<html>
<head>
<style type="text/css">
<!--
body { margin-left: 4px; margin-top: 4px; margin-bottom: 1px; margin-right: 4px; font-variant: normal; line-height: normal }
p { margin-top: 0; margin-bottom: 0 }
-->
</style>
</head>
<body style="margin-left: 4px; margin-top: 4px; margin-bottom: 1px; margin-right: 4px">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">All,</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">Ok, no problem, but I want a mode=geomoose too, and mode= . . . (well you get the idea :c)</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">Is there possibly a way to implement this as an include of some sort vs a complete embedding in MapServer? I've often wondered how setting up additional output modes in this manner might be added to mapserv without undue hardship on the core development.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">I would like to see some thought put into this topic around setting up some sort of reusable output modes of operation, vs embedding any single one.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">I can also tell you right now, that it would be very valuable (to us) to be able to run these alternate modes of output for a number of reasons, both for testing as well as integration of multiple and task specific output modes. </font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">We've been playing around with this idea from time to time and have even implemented some of them in our own environment, the reason it's never gone back into trunk is that there wasn't much interest in being able to do these types of things in the past (as there are now apparently )</font> </p>
<br> <br>
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">bobb</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<br>
<br>
>>> Daniel Morissette <dmorissette@mapgears.com> wrote:<br> </p>
<div style="margin-left: 15px; padding-left: 7px; margin-top: 0; margin-bottom: 0; margin-right: 0; border-left: solid 1px #050505; background-color: #f3f3f3">
<p style="margin-top: 0; margin-bottom: 0">
This was discussed at the code sprint in Barcelona, and I just created a<br>ticket for it. We'd like to add this to 6.0... but I am realizing just<br>now that maybe I should start with a RFC...<br><br>Anyway, here is what I wrote in the ticket, please feel free to comment,<br>keeping in mind this has to remain __simple__:<br><br><a href="http://trac.osgeo.org/mapserver/ticket/3549">http://trac.osgeo.org/mapserver/ticket/3549</a><br><br>Every once in a while we get requests for a simple way to test a<br>mapfile. One way to handle this could be to do as GeoServer does and<br>provide a built-in OpenLayers based map viewer. In the GeoServer case,<br>this viewer is returned when one issues a WMS GetMap request with<br>format=application/openlayers in it.<br><br>I propose that we provide a similar functionality in MapServer, which<br>would be triggered in one of two ways:<br><br>1- Using mapserv?map=/path/to/my.map&'''mode=openlayers''' ... in this<br>case the viewer would be initialized based on the mapfile defaults, and<br>some of the traditional mapserv CGI params may also work (such as map<br>size, layer selection, etc.)<br><br>2- Using '''format=application/openlayers''' in a WMS GetMap request as<br>GeoServer does. Note that in this case the rest of the GetMap parameters<br>would be used to configure the map to view (BBOX, WIDTH, HEIGHT, LAYERS,<br>etc.)<br><br>Both cases would call the same function internally to produce a simple<br>OpenLayeres viewer with one singletile layer for the whole map with the<br>selected layers.<br><br><br>--<br>Daniel Morissette<br><a href="http://www.mapgears.com/">http://www.mapgears.com/</a><br>_______________________________________________<br>mapserver-dev mailing list<br>mapserver-dev@lists.osgeo.org<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</a>-dev<br>
</p>
</div>
</body>
</html>