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><br><div class="gmail_quote">On Dec 7, 2007 1:37 AM, azpublic <<a href="mailto:azpublic@bluewin.ch">azpublic@bluewin.ch</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br><div class="Ih2E3d"><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"/><br></div><!-- 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><br><div class="Ih2E3d"><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<br></div><div><div></div><div class="Wj3C7c">
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>> > -<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.<br></div></div><div><div></div><div class="Wj3C7c">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><br></div></div></blockquote></div><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