Thanks Zak, This was helpful.
I finally found the way to publish a layer on the WMS using MapGuide studio and the hidden "properties" dialog only accessible using a right click on the layer in the site explorer ... I know managed to publish my layer but it now seems I have some coordinate problems. The Shapefile I'm using has the following coordinates : xMin,yMin 5.96611,45.8294 : xMax,yMax 10.4889,47.8069 However when trying to query these coordinates I get a blank image. When using a WMS client such as Gaia or uDig I manage to see my layer but I must zoom for hours for this and it seems that the map coordinates and scale are not correct. I've set the BOUNDS of the layer as follow : <Bounds SRS=”EPSG:4326” north=”47.8069” west=”5.96611” south=” 45.8294” east=”10.4889” abstract=”true” /> However when looking at the layer properties in Gaia, I get the following bounds : xMin,yMin -180.00,-90.00 : xMax,yMax 180.00,90.00 Can someone help me fix this ? What am I doing wrong with the coords ? Thanks in advance -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zac Spitzer Sent: mardi, 27. novembre 2007 10:31 To: MapGuide Users Mail List Subject: Re: [mapguide-users] Published layers not showing using WMS -GetCapabilities you need to set the _ISPUBLISHED flag in the resourceheader xml ie Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition contains <?xml version="1.0" encoding="ISO-8859-1"?> <ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd"> <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd"> <Inherited>true</Inherited> </Security> <Metadata> <Simple> <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd"> <Name>_ISPUBLISHED</Name> <Value>1</Value> </Property> <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd"> <Name>_TITLE</Name> <Value>Sheboygan</Value> </Property> <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd"> <Name>_QUERYABLE</Name> <Value>0</Value> </Property> <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd"> <Name>_OPAQUE</Name> <Value>0</Value> </Property> </Simple> </Metadata> </ResourceDocumentHeader> On Nov 26, 2007 11:11 PM, azpublic <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > I've created a few layers using Mapguide Studio. > > Everything seems to work fine and I can create my maps and weblayout and > view them using the AjaxViewer. > > > > However when I try to access theses layers using a WMS getImage request I > don't' have anything… > > Furthermore when I use GetCapabilities using > http://localhost:8008/mapguide/mapagent/getcapabilitieswmsform.html Here is > what I get in the resulting XML > > > > > > … > > > > <!-- > > > > PUBLISHED LAYERS > > > > --> > > − > > <Layer> > > <Title>MapGuide WMS Server</Title> > > <SRS>EPSG:4326</SRS> > > <LatLonBoundingBox minx="-180" miny="-90" maxx="180" maxy="90"/> > > </Layer> > > </Capability> > > > > > > It seems that the layers I create using Mapguide Studio are not visible … > > > > Any Idea what I am doing wrong? > > > > Thanks for your help. > > > > Cheers > > Alex > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 25.11.2007 > 16:24 > > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.7/1151 - Release Date: 25.11.2007 > 16:24 > > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.8/1153 - Release Date: 26.11.2007 21:08 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.13 - Release Date: 02.12.2007 00:00 _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
