<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
"I don't know why" refers to the Gaia problem :).<br>
<br>
And I can see that you also have "Ruwis/Layers/Roads" in the output :).<br>
<br>
<pre class="moz-signature" cols="72">Regards, . Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Kenneth Skovhede skrev:
<blockquote cite="mid:4B4F7E0A.6060504@geograf.dk" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
I don't know why, but you need to set the hostname for WMS,<br>
as it is stated as "localhost" in the WMS output.<br>
<br>
Also, your html uses "<span class="sc1">Ruwis/Layers/Roads" but the
output states:<br>
"</span><span class="sc2"></span>Ruwis/Layers/Administrative/Towns<span
class="sc2"><span class="kw2"></span></span><span class="sc1">"<br>
<br>
If you debug the network traffic with Firebug or Fiddler,<br>
I am sure that it will give a hint to solve the problem.<br>
<br>
Perhaps the MapGuide log also shows some errors.<br>
</span><br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Andre Schoonbee skrev:
<blockquote cite="mid:022c01ca9557$27eac0b0$77c04210$@na" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Hi
Kenneth<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">When
using gaia, I can see the layers but the style cannot be
set<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Any
idea why?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Andre<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"
lang="EN-US">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"
lang="EN-US">
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Kenneth
Skovhede<br>
<b>Sent:</b> 14 January 2010 09:38 PM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] setup wms using maestro<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can you display the WMS using another tool,
such
as Gaia:<br>
<a moz-do-not-send="true"
href="http://www.thecarbonproject.com/gaia.php">http://www.thecarbonproject.com/gaia.php</a><br>
<br>
Also, could you paste the output of the WMS GETCAPABILITIES call?<br>
<br>
Are there any errors if you view the net trafic? (FF/Firebug or
IE/Fiddler)<br>
<br>
<br>
<o:p></o:p></p>
<pre>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></pre>
<p class="MsoNormal"><br>
<br>
Andre Schoonbee skrev: <o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">I
have uploaded my wms.html file to the follwoing link:</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
<p class="MsoNormal"><a moz-do-not-send="true"
href="http://pastebin.com/m7e30e209">http://pastebin.com/m7e30e209</a><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">As I said, I am trying to display WMS layers
from Mapguide
2.0 on this wms page. The 2 layers I have defined are Towns and roads.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Help sorting this problem will be apreciated!<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Andre<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
<div>
<div
style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"
lang="EN-US">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a moz-do-not-send="true"
href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Kenneth Skovhede<br>
<b>Sent:</b> 14 January 2010 09:23 PM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] setup wms using maestro</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">You can post stuff here:<br>
<a moz-do-not-send="true" href="http://pastebin.com/">http://pastebin.com/</a><br>
<br>
And then post a link.<br>
<br>
<br>
<o:p></o:p></p>
<pre>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></pre>
<p class="MsoNormal"><br>
<br>
Andre Schoonbee skrev: <o:p></o:p></p>
<pre>Dear Kenneth and list, am I allowed to attached my wms.html file to see what<o:p></o:p></pre>
<pre>I am missing? I would verymuch like to get this matter resolved soonest as I<o:p></o:p></pre>
<pre>want to show the wms mapping functionality to a potential client by Monday<o:p></o:p></pre>
<pre>next week.<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Any help would be appreciated!<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Regards<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Andre<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>-----Original Message-----<o:p></o:p></pre>
<pre>From: <a moz-do-not-send="true"
href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a><o:p></o:p></pre>
<pre>[<a moz-do-not-send="true"
href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Kenneth<o:p></o:p></pre>
<pre>Skovhede, GEOGRAF A/S<o:p></o:p></pre>
<pre>Sent: 11 January 2010 01:38 PM<o:p></o:p></pre>
<pre>To: <a moz-do-not-send="true"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre>Subject: Re: [mapguide-users] setup wms using maestro<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Also, to ensure that the WMS is exposed properly from MapGuide,<o:p></o:p></pre>
<pre>try this:<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://localhost/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&VERSION=1.1.1&R">http://localhost/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&VERSION=1.1.1&R</a><o:p></o:p></pre>
<pre>EQUEST=GETCAPABILITIES<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>On 11-01-2010 11:20, Zac Spitzer wrote:<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<pre>with openlayers you need to set the extents to see a map displayed<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>2010/1/11 Andre Schoonbee<a moz-do-not-send="true"
href="mailto:andresch@iway.na"><andresch@iway.na></a>:<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<pre>I am trying to define a layer as wms using Maestro beta 2.0. (MGOS 2.1).<o:p></o:p></pre>
<pre>The layer is towns in Namibia and I can see the towns fine when I preview<o:p></o:p></pre>
<pre>the data of publish the layer on a map.<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>The steps I followed:<o:p></o:p></pre>
<pre>Go to properties of the towns layer; WMS and click on bottom button to<o:p></o:p></pre>
<pre>automatic get Bounds from data (the data is in shp format). Then I added<o:p></o:p></pre>
<pre>ESPG:4326.Added Towns as name and most of the other fields such as meta<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
</blockquote>
</blockquote>
<pre>data<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<pre>and abstract. The permissions I left as is.<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>But this still now showing on my WMS open layer map. The syntax in my<o:p></o:p></pre>
<pre>wms.htm file is as follows:<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> map.addLayer(layer2);<o:p></o:p></pre>
<pre> layer2=new OpenLayers.Layer.WMS("MapGuide Towns",<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
</blockquote>
</blockquote>
<pre>"<a moz-do-not-send="true"
href="http://173.45.90.198:8008/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&versi">http://173.45.90.198:8008/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&versi</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<pre>on=1.1.1&username=Administrator&password=admin",<o:p></o:p></pre>
<pre> {layers:"Ruwis/Layers/Towns",<o:p></o:p></pre>
<pre>transparent:"true",srs:"EPSG:4326", format:"image/png"},{opacity:"0.8"});<o:p></o:p></pre>
<pre> map.addLayer(layer2);<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Pleased help!<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Regards<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Andre<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mapguide-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
</blockquote>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
</blockquote>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mapguide-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mapguide-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre style="text-align: center;"><hr align="center" size="4"
width="90%">
</pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mapguide-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
</div>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>