[mapguide-users] MGOS Application Overlaying on GOOGLE

Andy Morsell amorsell at spatialgis.com
Fri Mar 23 12:13:00 EDT 2007


MapGuide Open Source 1.1.0 has the capability "out of the box".  There is no
documentation, but it's pretty straight-forward to utilize by issuing
operation requests directly against the mapagent.  To try it out, load up
the mapagent test page
(http://YOURSERVERNAME:PORT/mapguide/MapAgent/index.html).  Then, in the
upper-left pane click on Kml.  Then, go to the GetMapKml, GetLayerKml, or
GetFeaturesKml options.  Here's the results of issuing the default
operations from that interface:

http://YOURSERVERNAME:PORT/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPK
ML&VERSION=1.0.0&FORMAT=KML&DPI=96&MAPDEFINITION=Library%3A%2F%2FSamples%2FS
heboygan%2FMaps%2FSheboygan.MapDefinition

http://YOURSERVERNAME:PORT/mapguide/mapagent/mapagent.fcgi?OPERATION=GETLAYE
RKML&VERSION=1.0.0&FORMAT=KML&DPI=96&DRAWORDER=0&LAYERDEFINITION=Library%3A%
2F%2FSamples%2FSheboygan%2FLayers%2FParcels.LayerDefinition&BBOX=-87.7398334
220901%2C43.73822699224595%2C-87.72068284176505%2C43.75068777906662&WIDTH=79
6&HEIGHT=717


http://YOURSERVERNAME:PORT/mapguide/mapagent/mapagent.fcgi?OPERATION=GETFEAT
URESKML&VERSION=1.0.0&FORMAT=KML&DPI=96&DRAWORDER=0&LAYERDEFINITION=Library%
3A%2F%2FSamples%2FSheboygan%2FLayers%2FParcels.LayerDefinition&BBOX=-87.7398
334220901%2C43.73822699224595%2C-87.72068284176505%2C43.75068777906662&WIDTH
=796&HEIGHT=717

There's also ways to do cool KML things via the MGOS and FDO API's, but
these are obiously more advanced.  For an example, see these pages:

http://earth.nanaimo.ca/
http://www.spatialgis.com/demo.html
http://mapguide.osgeo.org/livegallery.html


Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Paul Spencer
Sent: Friday, March 23, 2007 6:12 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] MGOS Application Overlaying on GOOGLE

Unfortunately I don't know anything about this.  Perhaps someone else will
jump in here?

Paul

On 23-Mar-07, at 2:29 AM, Dhirendra Kumar wrote:

>
> Hi Paul,
>
> Thank you for replay, But i have no idea how to use MapGuide as a KML 
> server. If you have any information then please give me.
>
> Thankyou in advance
> Dhirendra kumar
>
>
> Paul Spencer-5 wrote:
>>
>> Dhirendra,
>>
>> This is probably a difficult thing to do ... I think you can use 
>> MapGuide as a KML server for Google Earth.  I'm not sure if Google 
>> Maps can load KML directly yet.
>>
>> You can also look at using OpenLayers (http://www.openlayers.org) to 
>> build your web client since it can use Google Maps API to load Google 
>> maps and then overlay other layers (using WMS for instance).  You 
>> could probably launch an OpenLayers app from MapGuide, but again, 
>> it's not going to be trivial to set up.
>>
>> Cheers
>>
>> Paul
>>
>>
>> On 22-Mar-07, at 8:06 AM, Dhirendra Kumar wrote:
>>
>>>
>>> Hi All,
>>>
>>> I devloped GIS Election Application using MGOS and now i want to 
>>> overlaying my application on Google. Requirment is when user will 
>>> click on link of right pane of Ajaxviewer then map's are displaying 
>>> in central window get overlapped on GOOGLE with their right Position 
>>> and preserve shape.
>>> But i
>>> have no idea about this, So Any Boady Please help me. I am 
>>> waiting...........................................................
>>>
>>> Thankyou in advance
>>> Dhirendra Kumar
>>> --
>>> View this message in context: http://www.nabble.com/MGOS- 
>>> Application-Overlaying-on-GOOGLE-tf3446638s16610.html#a9611820
>>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>> +-----------------------------------------------------------------+
>> |Paul Spencer                          pspencer at dmsolutions.ca    |
>> +-----------------------------------------------------------------+
>> |Chief Technology Officer                                         |
>> |DM Solutions Group Inc                http://www.dmsolutions.ca/ |
>> +-----------------------------------------------------------------+
>>
>>
>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>
> --
> View this message in context: http://www.nabble.com/MGOS-
> Application-Overlaying-on-GOOGLE-tf3446638s16610.html#a9629094
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

+-----------------------------------------------------------------+
|Paul Spencer                          pspencer at dmsolutions.ca    |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+




_______________________________________________
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