본문 바로가기

Multimedia

AutoCAD Map 3D: Integrating AutoCAD Map 3D with Google Earth

http://cadandgis.blogspot.com/2009/06/autocad-map-3d-integrating-autocad-map.html

A few weeks ago I attended One Team University presented by Autodesk. All 14 classes were delivered online which made it interesting. Below is one of the classes I took. All content was developed by Autodesk. During the exercise there's some text you have to copy and paste into the provider.xml file. Please email me if you want the dataset and text to complete the exercise.

Here are the files you'll need to configure your system to work with Google Earth:

1. Download FDO2FDO ver 7.6 from SL King website
http://www.sl-king.com/Fdo2Fdo/download/download.html

2. Download the FDO Provider 3.3 for KML from SL King website
http://www.sl-king.com/FdoKML/download/download.html

3. Download Google Earth
http://pack.google.com/intl/en/integrated_eula.html?hl=en&ciint=ci_earth&ci_earth=on&utm_source=en-cdr-earth4&utm_medium=cdr&utm_campaign=en


This exercise will go over the capabilities of FDO third party providers that will enable AutoCAD Map 3D 2010 to work with KML data sources. KML is the data type used to store geometry by Google Earth.

1. Extract the contents of FdoKingKml_FDO_3_3_1_v0_1_2.zip to C:\Program Files\AutoCAD Map 3D 2010\FDO\bin – these 2 dlls (KingKmlProvier.dll / libexpat.dll) will be used to connect to KML

2. Create a new folder on your C:\ called FDO2FDO and extract the contents of Fdo2Fdo_v0_7_6.zip to it. Create a shortcut on your desktop to C:\FDO2FDO\Fdo2Fdo.exe

3. Double Click the FDO2FDO shortcut

4. Choose the ‘Express FDO2FDO’ option and use the .SHP to .KML option. Extract the wastewater.shp files that came in the exercise .ZIP file

5. From FDO2FDO click the SHP file button and select the wastewater.shp. Click the KML File button and set the KML to go to C:\wastewater.kml.

6. Click > Start Copy, when finished Close FDO2FDO


7. Goto C:\Program Files\AutoCAD Map 3D 2010\FDO\bin and create a backup of the providers.xml file in the directory called providers_bkup.xml

8. Right click on providers.xml and open the file with wordpad

9. Copy the following before the tag at the bottom. Click > Save


10. If you have AutoCAD Map 3D open, close and reopen the application
11. Open the Display Manager and choose the DATA button and ‘Connect to Data’



12. Enter C:\wastewater.kml for the file > Click Connect


13. Check on the KMLFDOCLASS and Click > Add to Map

14. Close the Data Connect dialog
15. Edit some of the features using the Check-out and Check-in FDO method

16. After making changes close the drawing and double click on c:\wastewater.kml. You will be able to see your changes in Google Earth.