[mapguide-users] setup wms using maestro

Andre Schoonbee andresch at iway.na
Thu Jan 14 12:08:50 EST 2010


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&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<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&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



More information about the mapguide-users mailing list