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