21
Using FME to Move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server Gordon Luckett GIS Consultant 2010: An FME Odyssey

Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

Embed Size (px)

DESCRIPTION

Small cities in Canada have two solitudes: CAD and GIS. Using FME, this chasm can be easily bridged. This session will explore how you can move AutoCAD DWG files to SQL Server Spatial for display within Autodesk MapGuide Enterprise. We'll focus on how FME's recent support for Object Data within DWG opens the doors for seamless migration between CAD and GIS.

Citation preview

Page 1: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

Using FME to Move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

Gordon Luckett GIS Consultant

2010:An FME

Odyssey

Page 2: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Two Solitudes: CAD and GIS

Page 3: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

About the Speaker:   Gordon Luckett   GIS Consultant for 14 years   Arrow Geomatics Inc.   Focus on Spatial Databases

  SQL Server 2008   Oracle Spatial/Locator 8i and up to 11G

  Primary Focus: Government Web GIS

Page 4: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Proof of Concept   SQL Server 2008

City of Grande Prairie, Alberta

Task:   Hundreds of DWG files   Contain “Object Data”   Move to SQL Server 2008 automatically   Render in MapGuide Enterprise

Page 5: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Why SQL Server 2008?

SQL Server

MapInfo

AutoCAD Map 3D

AutoCAD Civil 3D

ArcMap

MapGuide

Page 6: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

What is Object Data?   Stored within DWG   Custom property

  Text   Integer   Double

  Only in:   AutoCAD Map 3D   AutoCAD Civil 3D

Page 7: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

How to get Object Data out of the DWG traditionally:

  Export to SDF   Export to SHP   Export to …

  Manual process per layer

  Requires re-import into SQL Server

Page 8: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Alternative solution FDO for Map 3D:

Page 9: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Alternative solution FDO:   Push all data into SQL Server   Maintain SQL Server data directly from within

Map 3D and Civil 3D with FDO   Directly Draw in Map 3D into SQL Server   Directly enter attribute data into SQL Server

Page 10: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Downside to FDO:   Some Traditional CAD objects not supported

(i.e. Leaders, Dimensions, Wipeouts, etc)   Object Data not available to share data once

brought back in   New learning curve to technicians and

engineers.

Page 11: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Obvious Solution: FME Desktop!

Page 12: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Translator – Choose AUTOCAD_OD type Supports Object Data in the DWG

Page 13: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

  Translator – Choose SQL Server Spatial Type

Page 14: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

  In – AutoCAD Map DWG with Object Data   Out – SQL Server 2008

Page 15: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

  Spatial Data now in SQL Server

Page 16: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

  Generate a Batch to Repeat Nightly

Page 17: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

  Use Windows Schedule Tasks run nightly

Page 18: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

  Show SQL Server Parcels in MapGuide

Page 19: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

  Demonstration

Page 20: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

AutoCAD to SQL Server with FME

Final Note No Longer Two Solitudes: CAD and GIS

Page 21: Using FME to move from AutoCAD Map 3D to MapGuide Enterprise with SQL Server

Thank You!

  Questions?

  For more information:   Gordon Luckett [email protected]   Arrow Geomatics Inc.

Other Resources   fdo.osgeo.org   www.mapguide.ca