Autodesk MapGuide
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Mapguide 6.5 Modifying MWF Files
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I am looking for a way to programatically modify mwf files. Specifically, I want to be able to load a map and change the Map Server Agent URL value on all of my layers within the MWF file.
I have been looking at the MGMapLayerSetup.getServerUrl method within the API but I'm not sure and cannot find any examples of how to implement this within a .NET application.
Are there any examples that you guys know of that can help me access this setting and modify the properties?
Thanks.
George
Re: Mapguide 6.5 Modifying MWF Files
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Save them as MWX files (via Author or Dynamic Authoring Toolkit) and edit the XML content using your XML document API of choice.
- Jackie
Re: Mapguide 6.5 Modifying MWF Files
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for the reply. Is the Dynamic Authoring Toolkit on the CD for 6.5 or where is the best place I can get hold of the installation for this?
I assumed that it should be converted to mwx first, I have been converting manually in the past, so this helps clear up the confusion. I wanted to make sure there was not a direct way to interface to the map using the API.
Re: Mapguide 6.5 Modifying MWF Files
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You can download it from here:
http://usa.autodesk.com/adsk/servlet/ps/dl/item?si
- Jackie

