Lab 17: Exporting and importing objects
- Export and import object
In the following steps, you will export and import instances, create a new one using Microsoft Excel and import it.
1. Double click the Marker Instances button.
2. Select the Instances City_Barcelona and City_SanAntonio.
3. Click Export Checked Marker Instances and save the file using the filename Cities_Export.xml.
4. Open the file using Microsoft Excel and choose the option Use the XML Source pane.
5. Click the Marker folder in the XML Source tree and drag and drop it to the first cell of the sheet.
6. Select the Data tab and click the Refresh All button.
7. Copy the City_Barcelona row and insert it between the second and third row.
8. Select the second City_Barcelona row and replace (On the Edit menu, click Replace) Barcelona with Vancouver.
9. Enter 49.24,-123-12 in the Coordinates cell for City_Vancouver.
10. On the File menu, click Save As and Save as type XML Data (*.xml) using the filename Cities_Import.xml.
11. Return to the Marker Instances panel in the ArchestrA IDE, click the Import Marker Instances button and select the file created previously.
12. Return to the Marker Instances panel in the ArchestrA IDE, click the Import Marker Instances button and select the file created previously.
13. Go to Derivation View in ArchestrA IDE, select the Wonderware template $GD_City, create a new Instance for City_Vancouver and deploy it.
- Test at the Runtime
In the following steps, you will test the shape instances animations at the runtime.
1. Double Click the Runtime Preview button to open the GISIZE GEOSpatial Runtime Preview tool and see the new Marker Instance for Vancouver City.