Hi all,
has anyone come across a routine to convert the MapGuide Layer definition into a Map 3D layer definition *.layer (or at least part-way)
I have 2,000 layers Authored in AIMS that point to SQL Server that I would love to view in Map 3D without having to re-author all 2,000.
Anyone have any ideas? Cut and paste 2,000 files in notepad?
gordon
If I recall correctly, layder definition is a subset of *.layer file, so it should be possible to convert layer definition to layer file programmatically.
I will check with development team and let you if I have further information to share.
Thanks Daniel, it would be great to modify the Layer XML in AIMS/MapGuide to correspond to the Layer XML in AutoCAD Map 3D!
Some published specs on the .layer format would be nice.
All I could get out of it is that it's some mish-mash of a Layer Definition and a Feature Source in a RDF document shell with some inline binary blobs for storing any configuration documents.
- Jackie
BTW, it is possible to get/set the XML representation of layer definition in AIMS and Map 3D using MgResourceService.
So we can retrieve the layer definition in AIMS and put it back into Map 3D with resource service.
Does this help?