<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 11 (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:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ok I managed to publish my layers
correctly. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I changed my user (I was using admin with
author permissions) and the wms publishing finally worked well.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for helping. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Zac Spitzer<br>
<b><span style='font-weight:bold'>Sent:</span></b> vendredi, 7. décembre 2007
08:38<br>
<b><span style='font-weight:bold'>To:</span></b> MapGuide Users Mail List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [mapguide-users]
Published layers not showing usingWMS-GetCapabilities</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>how does it compare to
the Sheboygan WMS sample?<br>
<br>
interesting enuff the building layer has this WMS description<br>
<br>
<Layer queryable="1"
cascaded="0" noSubsets="0" opaque="0"> <br>
<Name>Samples/Sheboygan/Layers/Buildings</Name><br>
<Title>Buildings</Title><br>
<Abstract>Buildings in the city</Abstract><br>
<SRS>EPSG:4326</SRS> <br>
<LatLonBoundingBox minx="-87.74" miny="43.68"
maxx="-87.69" maxy="43.815"/><br>
<BoundingBox
SRS="EPSG:4326" minx="-87.74" miny=" 43.68"
maxx="-87.69" maxy="43.815"/><br>
</Layer><br>
<br>
But in Mapguide Studio 2008, under service properties the bounds is listed as<br>
<br>
<Bounds SRS="EPSG:4326" west="- 87.74"
south="43.68" east="-87.69" north="43.815"/><br>
<br>
Keep in mind that as far as i can tell Mapguide WMS doesn't use the tilecache
(and probably can't if the grid <br>
and zoom always changes as it comes from the wms request) and you can't publish
Maps Definitions via WMS either. <br>
<br>
Also I think that there is no request short circuit on WMS requests which fall
outside the defined bounds <br>
(which can result in a lot of load for no reason for bad WMS requests), and
there are no cache <br>
headers for WMS served by Mapguide... <br>
<br>
The Openlayers tilecache program solves the lack of caching quite nicely.<br>
<br>
Look out for the Mapguide Provider for openlayers which is coming in Fusion I
think, it resolves a lot of this as you can <br>
use Map Definitions for this sort of thing... <br>
<br>
z<br>
<br>
<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Dec 7, 2007 1:37 AM, azpublic <<a
href="mailto:azpublic@bluewin.ch">azpublic@bluewin.ch</a>> wrote:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>No.<br>
It seems that the bounds were not taken into consideration when I entered them
into MapGuide studio ... Is that a bug ?<br>
<br>
<br>
Do I need to add the bounds manually or is there another way or something I'm
doing wrong? <br>
<br>
Here is the published layer part of my Capabilities xml doc.<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
--><br>
−<br>
<Layer><br>
<Title>MapGuide WMS Server</Title><br>
<SRS>EPSG:4326</SRS> <br>
<LatLonBoundingBox minx="-180" miny="-90"
maxx="180" maxy="90"/><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><!-- Published Layer #1 --><br>
−<br>
<Layer queryable="1"
cascaded="0" noSubsets="0" opaque="0"> <br>
<Name>Layers/chMercat2</Name><br>
<Title>blafoo</Title><br>
</Layer><br>
<!-- Published Layer #2 --><br>
−<br>
<Layer queryable="1"
cascaded="0" noSubsets="0" opaque="1"> <br>
<Name>Layers/sz</Name><br>
<Title>sz2</Title><br>
</Layer><br>
<!-- Published Layer #3 --><br>
−<br>
<Layer queryable="1"
cascaded="0" noSubsets="0" opaque="0"> <br>
<Name>Layers/sz_Mercat</Name><br>
<Title>CHMercator</Title><br>
</Layer><br>
</Layer><o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
-----Original Message-----<br>
From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>]
On Behalf Of Zac Spitzer<o:p></o:p></span></font></p>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Sent: mercredi, 5. décembre 2007 05:13<br>
To: MapGuide Users Mail List<br>
Subject: Re: [mapguide-users] Published layers not showing using
WMS-GetCapabilities<br>
<br>
are the bounds showing up in the xml for GetCapabilities? <br>
<br>
<a
href="http://127.0.0.1:8008/mapguide/mapagent/mapagent.fcgi?REQUEST=GetCapabilities&service=WMS&&username=Administrator&password=admin"
target="_blank">http://127.0.0.1:8008/mapguide/mapagent/mapagent.fcgi?REQUEST=GetCapabilities&service=WMS&&username=Administrator&password=admin
</a><br>
<br>
On Dec 5, 2007 2:18 PM, azpublic <<a href="mailto:azpublic@bluewin.ch">azpublic@bluewin.ch</a>>
wrote:<br>
> Thanks Zak,<br>
><br>
> This was helpful.<br>
><br>
> I finally found the way to publish a layer on the WMS using MapGuide
studio <br>
> and the hidden "properties" dialog only accessible using a right
click on<br>
> the layer in the site explorer ...<br>
><br>
><br>
> I know managed to publish my layer but it now seems I have some coordinate
<br>
> problems.<br>
><br>
> The Shapefile I'm using has the following coordinates :<br>
> xMin,yMin 5.96611,45.8294 : xMax,yMax 10.4889,47.8069<br>
><br>
> However when trying to query these coordinates I get a blank image. <br>
><br>
> When using a WMS client such as Gaia or uDig I manage to see my layer but
I<br>
> must zoom for hours for this and it seems that the map coordinates and
scale<br>
> are not correct.<br>
><br>
> I've set the BOUNDS of the layer as follow : <br>
> <Bounds SRS="EPSG:4326" north="47.8069"
west="5.96611" south="<br>
> 45.8294" east="10.4889" abstract="true" /><br>
><br>
> However when looking at the layer properties in Gaia, I get the following <br>
> bounds :<br>
><br>
> xMin,yMin -180.00,-90.00 : xMax,yMax 180.00,90.00<br>
><br>
> Can someone help me fix this ? What am I doing wrong with the coords ?<br>
><br>
> Thanks in advance<br>
><br>
><br>
><br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a><br>
> [mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org">
mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Zac Spitzer<br>
> Sent: mardi, 27. novembre 2007 10:31<br>
> To: MapGuide Users Mail List<br>
> Subject: Re: [mapguide-users] Published layers not showing using WMS <br>
> -GetCapabilities<br>
><br>
> you need to set the _ISPUBLISHED flag in the resourceheader xml<br>
><br>
> ie<br>
><br>
> Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition<br>
><br>
> contains <br>
><br>
> <?xml version="1.0" encoding="ISO-8859-1"?><br>
><br>
> <ResourceDocumentHeader<br>
> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance"
target="_blank"> http://www.w3.org/2001/XMLSchema-instance</a>"<br>
> xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>"<br>
> xsi:noNamespaceSchemaLocation="
ResourceDocumentHeader-1.0.0.xsd"><br>
> <Security
xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd"><br>
> <Inherited>true</Inherited><br>
> </Security> <br>
> <Metadata><br>
> <Simple><br>
> <Property
xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd"><br>
>
<Name>_ISPUBLISHED</Name><br>
> <Value>1</Value> <br>
> </Property><br>
> <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd"><br>
> <Name>_TITLE</Name><br>
>
<Value>Sheboygan</Value> <br>
> </Property><br>
> <Property
xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd"><br>
>
<Name>_QUERYABLE</Name><br>
> <Value>0</Value> <br>
> </Property><br>
> <Property
xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd"><br>
> <Name>_OPAQUE</Name><br>
> <Value>0</Value> <br>
> </Property><br>
> </Simple><br>
> </Metadata><br>
> </ResourceDocumentHeader><br>
><br>
> On Nov 26, 2007 11:11 PM, azpublic <<a href="mailto:azpublic@bluewin.ch">
azpublic@bluewin.ch</a>> wrote:<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > Hi all,<br>
> ><br>
> ><br>
> ><br>
> > I've created a few layers using Mapguide Studio.<br>
> > <br>
> > Everything seems to work fine and I can create my maps and weblayout
and<br>
> > view them using the AjaxViewer.<br>
> ><br>
> ><br>
> ><br>
> > However when I try to access theses layers using a WMS getImage
request I <br>
> > don't' have anything…<br>
> ><br>
> > Furthermore when I use GetCapabilities using<br>
> > <a
href="http://localhost:8008/mapguide/mapagent/getcapabilitieswmsform.html"
target="_blank">http://localhost:8008/mapguide/mapagent/getcapabilitieswmsform.html</a>
Here<br>
> is<br>
> > what I get in the resulting XML<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > …<br>
> > <br>
> ><br>
> ><br>
> > <!--<br>
> ><br>
> ><br>
> ><br>
> > PUBLISHED LAYERS<br>
> ><br>
> ><br>
> ><br>
> > --><br>
> ><br>
> > </span></font><font face="MS Mincho"><span lang=JA style='font-family:
"MS Mincho"'>-</span></font><br>
> > <br>
> > <Layer><br>
> ><br>
> > <Title>MapGuide WMS Server</Title><br>
> ><br>
> > <SRS>EPSG:4326</SRS><br>
> ><br>
> > <LatLonBoundingBox minx="-180" miny="-90"
maxx="180" maxy="90"/> <br>
> ><br>
> > </Layer><br>
> ><br>
> > </Capability><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > It seems that the layers I create using Mapguide Studio are not
visible … <br>
> ><br>
> ><br>
> ><br>
> > Any Idea what I am doing wrong?<br>
> ><br>
> ><br>
> ><br>
> > Thanks for your help.<br>
> ><br>
> ><br>
> ><br>
> > Cheers<br>
> ><br>
> > Alex<br>
> ><br>
> ><br>
> > No virus found in this outgoing message.<br>
> > Checked by AVG Free Edition.<br>
> > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release
Date: <br>
> 25.11.2007<br>
> > 16:24<br>
> ><br>
> ><br>
> ><br>
> > No virus found in this outgoing message.<br>
> > Checked by AVG Free Edition.<br>
> > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release
Date:<br>
> 25.11.2007<br>
> > 16:24<br>
> ><br>
> > _______________________________________________<br>
> > mapguide-users mailing list<br>
> > <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
> > <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
> ><br>
> ><br>
> <br>
><br>
><br>
> --<br>
> Zac Spitzer -<br>
> <a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a>
(My Blog)<br>
> +61 405 847 168<br>
> _______________________________________________ <br>
> mapguide-users mailing list<br>
> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users </a><br>
><br>
> No virus found in this incoming message.<br>
> Checked by AVG Free Edition.<br>
> Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date:
26.11.2007<br>
> 21:08<br>
><br>
><br>
> No virus found in this outgoing message. <br>
> Checked by AVG Free Edition.<br>
> Version: 7.5.503 / Virus Database: 269.16.13 - Release Date: 02.12.2007<br>
> 00:00<br>
><br>
><br>
><br>
> _______________________________________________<br>
> mapguide-users mailing list <br>
> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users </a><br>
><br>
<br>
<br>
<br>
--<br>
Zac Spitzer -<br>
<a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a>
(My Blog)<br>
+61 405 847 168<br>
_______________________________________________<br>
mapguide-users mailing list <br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users
</a><br>
<br>
No virus found in this incoming message.<br>
Checked by AVG Free Edition.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Version: 7.5.503 / Virus Database: 269.16.13 - Release Date: 02.12.2007
00:00<br>
<br>
<br>
No virus found in this outgoing message.<br>
Checked by AVG Free Edition.<br>
Version: 7.5.503 / Virus Database: 269.16.13 - Release Date: 02.12.2007 00:00<br>
<br>
<br>
_______________________________________________<br>
mapguide-users mailing list <br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users
</a><o:p></o:p></span></font></p>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Zac Spitzer -<br>
<a href="http://zacster.blogspot.com">http://zacster.blogspot.com</a> (My Blog)<br>
+61 405 847 168 <o:p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>No virus
found in this incoming message.<br>
Checked by AVG Free Edition.<br>
Version: 7.5.503 / Virus Database: 269.16.13 - Release Date: 02.12.2007 00:00</span></font><o:p></o:p></p>
</div>
</body>
</html>
<BR>
<P><FONT SIZE=2>Internal Virus Database is out-of-date.<BR>
Checked by AVG Free Edition.<BR>
Version: 7.5.503 / Virus Database: 269.16.13 - Release Date: 02.12.2007 00:00<BR>
</FONT> </P>