[mapguide-users] setup wms using maestro
Andre Schoonbee
andresch at iway.na
Thu Jan 14 15:21:29 EST 2010
Hi Kenneth
When using gaia, I can see the layers but the style cannot be set
Any idea why?
Andre
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth
Skovhede
Sent: 14 January 2010 09:38 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] setup wms using maestro
Can you display the WMS using another tool, such as Gaia:
http://www.thecarbonproject.com/gaia.php
Also, could you paste the output of the WMS GETCAPABILITIES call?
Are there any errors if you view the net trafic? (FF/Firebug or IE/Fiddler)
Regards, Kenneth Skovhede, GEOGRAF A/S
Andre Schoonbee skrev:
I have uploaded my wms.html file to the follwoing link:
http://pastebin.com/m7e30e209
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.
Help sorting this problem will be apreciated!
Andre
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth
Skovhede
Sent: 14 January 2010 09:23 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] setup wms using maestro
You can post stuff here:
http://pastebin.com/
And then post a link.
Regards, Kenneth Skovhede, GEOGRAF A/S
Andre Schoonbee skrev:
Dear Kenneth and list, am I allowed to attached my wms.html file to see what
I am missing? I would verymuch like to get this matter resolved soonest as I
want to show the wms mapping functionality to a potential client by Monday
next week.
Any help would be appreciated!
Regards
Andre
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth
Skovhede, GEOGRAF A/S
Sent: 11 January 2010 01:38 PM
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] setup wms using maestro
Also, to ensure that the WMS is exposed properly from MapGuide,
try this:
http://localhost/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS
<http://localhost/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&VERSION=1.1.1&
R> &VERSION=1.1.1&R
EQUEST=GETCAPABILITIES
Regards, Kenneth Skovhede, GEOGRAF A/S
On 11-01-2010 11:20, Zac Spitzer wrote:
with openlayers you need to set the extents to see a map displayed
2010/1/11 Andre Schoonbee <mailto:andresch at iway.na> <andresch at iway.na>:
I am trying to define a layer as wms using Maestro beta 2.0. (MGOS 2.1).
The layer is towns in Namibia and I can see the towns fine when I preview
the data of publish the layer on a map.
The steps I followed:
Go to properties of the towns layer; WMS and click on bottom button to
automatic get Bounds from data (the data is in shp format). Then I added
ESPG:4326.Added Towns as name and most of the other fields such as meta
data
and abstract. The permissions I left as is.
But this still now showing on my WMS open layer map. The syntax in my
wms.htm file is as follows:
map.addLayer(layer2);
layer2=new OpenLayers.Layer.WMS("MapGuide Towns",
"http://173.45.90.198:8008/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS
<http://173.45.90.198:8008/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&versi
> &versi
on=1.1.1&username=Administrator&password=admin",
{layers:"Ruwis/Layers/Towns",
transparent:"true",srs:"EPSG:4326", format:"image/png"},{opacity:"0.8"});
map.addLayer(layer2);
Pleased help!
Regards
Andre
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_____
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100114/2d533ba6/attachment.html
More information about the mapguide-users
mailing list