[mapguide-users] Edit polygon

A H hizperion at hotmail.com
Thu Oct 23 23:17:27 EDT 2008

thank you Kenneth. i think i got the idea to make use of WKT data and pass it
to OpenLayers.

Kenneth Skovhede, GEOGRAF A/S wrote:
> AFAIK there exist no plug-in-module for MapGuide to edit features.
> To be able to edit in the browser in any useable way, the editing must 
> take place on the client.
> This requires heavy javascript or a plugin. IMO OpenLayers does the 
> javascript part very well.
> And also, IMO, building something like this into a WebLayout would be 
> both extremely time
> consuming, and a waste of time.
> The bonus part of using Fusion would be that it actually builds on 
> OpenLayers, so you can use the
> OpenLayers editing features in Fusion.
> In either way, you must manually read the geometry from the feature in 
> MapGuide and send it to the client.
> Fortunately MapGuide can give you the object data as WKT, and OpenLayers 
> can read WKT objects.
> After editing, you have to write back the data, again this can be 
> transmitted and read in WKT.
> As you can see, this is likely not something you can just throw in, and 
> it works, even if you use OpenLayers/Fusion.
> Regards, Kenneth Skovhede, GEOGRAF A/S
> A H skrev:
>> this has been asked several times before, but i haven't found a viable
>> solution. is there any codes or plug-in out there that can at least allow
>> user to add new vertex to a polygon and move around a drawn polygon in
>> Mapguide web layout? (like in the OpenLayers sample)
>> or can i use the OpenLayers API to load/save Mapguide features? i never
>> used
>> OpenLayers in my application, so i'll appreciate if anyone could show me
>> an
>> example to do so.
>> currently i'm using MGOS 1.2 (now upgrading to 2.0 but still under
>> development) in ASP.NET. the application is using the WebLayout in AJAX
>> and
>> allow user to draw or delete polygon and save it to spatial database. so
>> now
>> they have problem that they can only draw the polygon at only a certain
>> zoom
>> level.
>> i don't plan to use the Fusion application yet because the project is
>> urgent
>> and we don't have time to try this.
>> thank you in advance.
> _______________________________________________
> 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/Edit-polygon-tp20123089p20143543.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list