Hi there,
we are migrating from MG 65. to AIMS 2013. In one of our MG 6.5. projects one user created a quite comprehensive "map" using redlining objects. The redlining objects were saved as a MG6.5 map and the user could easliy load the map if required.
Now I need to migrate the map (redlining objects only) to AIMS and I'm stuck. When I open the map in Author I can't save any redlining layer as MLF (not sure if this would help anyway). When I save the whole map as MWX the redlining objects are kind of data stream format and of no use to me.
I had a look at MG 65 DevGuide but didn't find any example or hint how to convert redlining objects to something else (SDF, SHP, GML / XML - I don't mind). The MapGuide Enterprise Data migration tool - at least what I saw from the documentation - will not convert these redlining objects either.
Anyone out there who faced the same challange and could provide me with a bit of help.....
Many thanks, Rob
Solved! Go to Solution.
Solved by jackie.ng. Go to Solution.
Maybe you could use the MapGuide 6.5 Viewer API to read out the redline objects in question from the browesr, convert each object to GeoJSON, upload these GeoJSON fragments to a staging area on your server.
From there you can use tools like ogr2ogr to convert those uploaded GeoJSON fragments into something more palatable for AIMS (like SHP or SQLite).
The reason I say to use GeoJSON is because GeoJSON is just nothing more than well-structured javascript objects, which plays nice with a JavaScript-based API to an ActiveX control.
- Jackie
Hi Jackie,
looks like there is no other way. Need to dig out the DevGuide for MG6.5 then...
Many thanks, Rob
Hi,
I followed the suggestion by Jackie. Scripts can be donwloaded - in case someone else needs to convert redlining objects...
http://raumpatrouille3d.blogspot.ch/2014/08/convert-mapguide-65-redlining-objects.html
Rob