<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Mr. Kristensen,<br><br>Brilliant!&nbsp; That was exactly what I needed.&nbsp; A correctly written mapfile was the last remaining major obstacle, and your installation helped me get through that as well as a bunch of other minor problems.&nbsp; Thanks so much!<br><br>I will also be checking out the links and recommendations from other people in this thread, since I have a small bit of time remaining on this task.&nbsp; Many thanks.<br><br>Justin<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Pål Kristensen &lt;pal.kristensen@statkart.no&gt;<br><b><span style="font-weight:
 bold;">To:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, December 10, 2008 7:28:05 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [MAPSERVER-USERS] help with converting Geoserver site to Mapserver<br></font><br>
<br>Hi Justin!<br><br>I've recently uploaded (to YouSendIt) a ms4w archive with a predefined WMS<br>service based on the countries dataset (which is included in my archive).<br>Hope that it helps you in setting up your web applications.<br><br>Regards,<br>Pål Kristensen<br><br><br>Justin Bailey-3 wrote:<br>&gt; <br>&gt; Hi Mr. Kristensen,<br>&gt; <br>&gt; Thank you very much for you offer; I would greatly appreciate your help.<br>&gt; <br>&gt; The ZIP containing the shape file and other data is over 15 MB, so I will<br>&gt; upload it using YouSendIt right after sending this post.&nbsp; The coordinate<br>&gt; system is&nbsp;standard latitude/longitude; no need for MGRS or UTM or anything<br>&gt; fancy.&nbsp; The map should cover the entire globe..&nbsp; Basic styling is fine;<br>&gt; and the shape file should already contain the country boundaries.<br>&gt; <br>&gt; Justin<br>&gt; <br>&gt; P.S. To the others on this thread -- I feel I should correct
 a<br>&gt; misconception.&nbsp; I have already "invested" about three days in this<br>&gt; project, one of which was spent just getting&nbsp;mapserv.exe to run<br>&gt; under&nbsp;CGI.&nbsp; I did not run to the mailing list as my first recourse; I am a<br>&gt; firm believer that a person should put forth a best-effort attempt before<br>&gt; asking for help.<br>&gt; <br>&gt; &nbsp;<br>&gt; <br>&gt; ________________________________<br>&gt; From: Pål Kristensen &lt;<a ymailto="mailto:pal.kristensen@statkart.no" href="mailto:pal.kristensen@statkart.no">pal.kristensen@statkart.no</a>&gt;<br>&gt; To: <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>&gt; Sent: Tuesday, December 9, 2008 2:20:39 PM<br>&gt; Subject: Re: [MAPSERVER-USERS] help with converting Geoserver site to<br>&gt; Mapserver<br>&gt; <br>&gt; <br>&gt; Hi!<br>&gt; <br>&gt; If you could provide the shape file,
 I could set up a complete and working<br>&gt; MapServer for Windows installation that only needs unzipping to the c:\<br>&gt; drive to work. The Map file will only contain basic styling of the file<br>&gt; (like boundaries and maybe country names if your dataset contains that<br>&gt; information). Changing the mapfile to add more complex drawing rules<br>&gt; should<br>&gt; be quite easy. Just let me know if you'd like me to help.<br>&gt; <br>&gt; It would be a great help if you could provide some information about the<br>&gt; coordinate system support that you need. <br>&gt; <br>&gt; Regards,<br>&gt; Pål Kristensen<br>&gt; Norwegian Mapping and Cadastre Authority<br>&gt; <br>&gt; <br>&gt; <br>&gt; Justin Bailey-3 wrote:<br>&gt;&gt; <br>&gt;&gt; Hi list,<br>&gt;&gt; <br>&gt;&gt; I hope I can get some assistance on a matter of some urgency.&nbsp; Our<br>&gt;&gt; organization has been putting the finishing touches on an application<br>&gt;&gt;
 that<br>&gt;&gt; is supposed to be released by the end of the year.&nbsp; Unexpectedly, it did<br>&gt;&gt; not pass license review, because it used Geoserver, which is<br>&gt;&gt; GPL-licensed.&nbsp; Since Mapserver has a more permissive license, and is also<br>&gt;&gt; WMS-compatible, the decision was made to switch to Mapserver.&nbsp; It now<br>&gt;&gt; falls to me, as the junior developer, to do&nbsp;a last-minute&nbsp;switchover.&nbsp;<br>&gt;&gt; Unfortunately I come to this task knowing nothing about either Geoserver<br>&gt;&gt; *or* Mapserver.<br>&gt;&gt; <br>&gt;&gt; After some difficulty I succeeded in getting Mapserver running on our<br>&gt;&gt; existing Tomcat server, but I have not been able to figure out how to<br>&gt;&gt; convert the Geoserver data.&nbsp; I have made some&nbsp;encouraging steps on the<br>&gt;&gt; Mapserver tutorial but I still know nothing about Geoserver, and I am<br>&gt;&gt; running out of time.&nbsp; I need to solve
 this problem by the end of this<br>&gt;&gt; week<br>&gt;&gt; if possible, or by the end of next week at the absolute latest.<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; So, I have two questions:<br>&gt;&gt; <br>&gt;&gt; 1) Is there a utility I could download that can convert a Geoserver<br>&gt;&gt; installation to Mapserver?<br>&gt;&gt; <br>&gt;&gt; -- or --<br>&gt;&gt; <br>&gt;&gt; 2) I *think* (crossing fingers) that the only thing I need to do, on the<br>&gt;&gt; application side, is to convert the following Javascript call...<br>&gt;&gt; <br>&gt;&gt; var wms = new OpenLayers.Layer.WMS("World", "geoserver/wms?service=wms",<br>&gt;&gt; {layers: 'countries', bgcolor: 0x000055});<br>&gt;&gt; <br>&gt;&gt; ...into its equivalent Mapserver call..&nbsp; There are four countries.* files<br>&gt;&gt; in the geoserver repository:<br>&gt;&gt; <br>&gt;&gt; countries.dbf<br>&gt;&gt; countries.prj<br>&gt;&gt; countries.shp<br>&gt;&gt; countries.shx<br>&gt;&gt;
 <br>&gt;&gt; How do I create countries.map to serve these files, and what mapserv.exe<br>&gt;&gt; call should I use?<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt; Many thanks for any and all assistance.<br>&gt;&gt; <br>&gt;&gt; Justin<br>&gt;&gt; <br>&gt;&gt; <br>&gt;&gt;&nbsp; <br>&gt;&gt; _______________________________________________<br>&gt;&gt; mapserver-users mailing list<br>&gt;&gt; <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;&gt; <br>&gt;&gt; <br>&gt; <br>&gt; -- <br>&gt; View this message in context:<br>&gt; <a href="http://www.nabble.com/help-with-converting-Geoserver-site-to-Mapserver-tp20919019p20921592.html"
 target="_blank">http://www.nabble.com/help-with-converting-Geoserver-site-to-Mapserver-tp20919019p20921592.html</a><br>&gt; Sent from the Mapserver - User mailing list archive at <a target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>&gt; <br>&gt; _______________________________________________<br>&gt; mapserver-users mailing list<br>&gt; <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>&gt; <a href="http://lists..osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists..osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; mapserver-users mailing list<br>&gt; <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>&gt; <a
 href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt; <br>&gt; <br><br>-- <br>View this message in context: <a href="http://www.nabble.com/help-with-converting-Geoserver-site-to-Mapserver-tp20919019p20934362.html" target="_blank">http://www.nabble.com/help-with-converting-Geoserver-site-to-Mapserver-tp20919019p20934362.html</a><br>Sent from the Mapserver - User mailing list archive at Nabble.com.<br><br>_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">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></div></div></div><br>

      </body></html>