43
Using CAD data in ArcGIS Phil Sanchez and Jeff Reinhart

Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Using CAD data in ArcGIS Phil Sanchez and Jeff Reinhart

Page 2: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Agenda

• Overview of ArcGIS CAD Support • Using CAD Datasets in ArcMap • Georeferencing CAD data for ArcGIS • Loading CAD features into a Geodatabase • Geoprocessing with CAD Data • Best practices for GIS/CAD interoperability • Using ArcGIS for AutoCAD product

Introduction to using CAD Data in ArcGIS

Page 3: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD/GIS Interoperability Scenarios

• ArcGIS user who needs to…

- Display CAD data in maps

- Load CAD data into their Geodatabase

- Deliver GIS data in a CAD format

Introduction to using CAD Data in ArcGIS

Map

Load

Export ArcGIS

Page 4: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD in the Geospatial context

• CAD drawings are a large source of GIS data

- Surveying - Cadastre - Civil engineering - Architecture - Landscape Architecture - Planning - Geodesign

Introduction to using CAD Data in ArcGIS

Page 5: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD Drawings

• Geometry, text, and symbols - comprise CAD entities/elements

• Organized into layers or levels

• Symbology represents information

• Can have data attached to entities

Introduction to using CAD Data in ArcGIS

Page 6: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD Datasets in ArcGIS

Introduction to using CAD Data in ArcGIS

Geometry Attributes

Coordinate System World File

CAD entity geometry organized into feature classes

CAD data can be reprojected to overlay with other GIS layers

CAD drawings can be transformed from local coordinates to projected coordinates

CAD properties, tags, and database links are stored in attribute tables

Page 7: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Direct-read CAD datasets in ArcGIS

Introduction to using CAD Data in ArcGIS

• Translated on the fly as virtual feature classes

ArcGIS

MyDrawing.dwg Text

Geometry

Properties

User attributes

MyDrawing.dwg Annotation

Multipatch

Points

Polygons

Polylines

Spatial reference

Georeference

Metadata

Embedded feature classes (DWG only)

Attribute tables

CAD

Page 8: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD Data Support in ArcGIS

• ESRI has long provided CAD support and integration tools

• Out of the box - No extension required

• Direct read - Conversion not required

• Current version support: - AutoCAD DWG/DXF: Up to 2015 (read only) - MicroStation DGN: Up to V8i SELECT series 3

Introduction to using CAD Data in ArcGIS

Page 9: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Contents of a CAD Dataset

Introduction to using CAD Data in ArcGIS

City.dgn

Annotation

Multipatch

Point

Polygon

Polyline

City.prj

Text, tags, and attribute definitions

Polygons and is useful for 3D representation

Points, blocks, and cells

Lines, polylines, and arcs

Closed areas such as polygons, ellipses, and circles

Projection files define a coordinate system for a CAD dataset. They are recommended but not required.

Page 10: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Display Control

• Turn layers off and on to control feature display - Saved in the .MXD or .LYR - Apply to the entire dataset - Restore back to original rendering

Introduction to using CAD Data in ArcGIS

Page 11: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Filter CAD Features

• Use Definition Queries to create subsets - Saved in the .MXD or .LYR - Expressions can be saved to .EXP files for reuse

Introduction to using CAD Data in ArcGIS

Linetype

Feature Layer Color

Drawing Layer

Query

Page 12: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Filter CAD Features

• Isolate the CAD data you need to work with using… - Specific CAD Feature Classes - Drawing layer visibility - Definition Query

Introduction to using CAD Data in ArcGIS

Page 13: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop | Esri UC 2014 | Technical Workshop |

Displaying CAD in ArcGIS

Introduction to using CAD Data in ArcGIS

Page 14: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

What is CAD Georeferencing?

• The process of assigning a coordinate system and applying a transformation to a CAD dataset

• Not required to use CAD datasets in ArcGIS, but highly recommended as a best practice

• Not all CAD datasets require these steps

Page 15: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Agenda

• Demo: Assigning coordinate systems to CAD Datasets • Demo: Repositioning CAD Datasets • Overview of Georeferencing CAD Datasets • Summary

Page 16: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Assigning coordinate systems to CAD datasets

Page 17: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Coordinate Systems - Overview

• CAD Datasets with defined Coordinate Systems reproject on-the-fly to align with other map layers

• Enables CAD Dataset to be used for spatial overlays and mapping

Page 18: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Assigning Coordinate Systems

• Defined at the CAD Dataset level • Catalog window’s Spatial Reference Properties dialog

Page 19: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Universal Projection and World Files

• Universal Projection File - ESRI_CAD.PRJ - Applies same coordinate system

to all CAD files in a workspace

• Universal World File - ESRI_CAD.WLD - Applies identical transformation

to all CAD files in a workspace - Useful for set of tiled CAD

drawings

Page 20: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Georeferencing

• Reposition CAD datasets to align with GIS layers - Move, Rotate, & Scale

• Assign coordinate system for map reprojection

• NOT required for CAD drawings that are drawn in real-world coordinate location

Page 21: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Georeferencing Method

• Two-point Similarity transformation method - Move, Rotate, and Scale - Aspect ratio always maintained - Cannot skew or ‘rubber sheet’ CAD drawing

• Transformation managed by World Files - ArcGIS is not modifying the CAD drawing - World file use CAD file name prefix - Must also reside in same folder

Page 22: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Georeferencing: World Files

• File based, two point transformation for CAD data • Uses the .wld file extension • Simple text file containing two lines with two pairs of coordinate

values: <From X1, From Y1> <To X1, To Y1> <From X2, From Y2> <To X2, To Y2>

Page 23: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Georeferencing Toolbar

• Georeferencing toolbar – use mouse pointer to move layer and create control points in map

- Rotate, Scale, and Shift tools

Page 24: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Georeferencing Process

Define Coord

System Add to Map

Fit to Display

Add Control Points

Commit Georef

Page 25: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop | Esri UC 2014 | Technical Workshop |

Georeferencing CAD in ArcGIS

Introduction to using CAD Data in ArcGIS

Page 26: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Loading CAD data in ArcGIS

• Add to Geodatabase feature classes or create new Geodatabase from CAD - As-built updates - Editing requirements - Advanced Geodatabase tasks (i.e., Geometric Networks, Topology, etc.)

• Conversion supported by the Geoprocessing framework and ArcMap tools

• Can be combined with other Geoprocessing functions - Spatial Joins - Geometry manipulation

Introduction to using CAD Data in ArcGIS

Page 27: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD Conversion Tools

• ArcMap - Export Data - Copy & Paste (Edit session)

• ArcToolbox – Geoprocessing - Feature Class to Feature Class - Copy Features - Import CAD Annotation

Introduction to using CAD Data in ArcGIS

Page 28: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD to Geodatabase

• Designed for bulk loading CAD datasets into a Geodatabase

- Combines Copy Features, Merge and Import CAD Annotation into single tool

- Works at the dataset level

Introduction to using CAD Data in ArcGIS

Page 29: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop | Esri UC 2014 | Technical Workshop |

Campus Demo

Introduction to using CAD Data in ArcGIS

Page 30: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Geoprocessing Scenarios

Introduction to using CAD Data in ArcGIS

• CAD to Geodatabase

• Append to existing Geodatabase

• Merge with other layers

• CAD text inside polygons

• CAD text near lines

• Line segments to polygons

4520

3745 3746

3744

Page 31: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD/GIS Interoperability Scenarios

• CAD user who needs to…

- View GIS data in CAD

- Edit GIS data in CAD

- Provide drawings to GIS users

Introduction to using CAD Data in ArcGIS

View

Edit

Prepare CAD

Page 32: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Best Practices

• Tips and best practices for CAD & GIS - Seed/template file - Layer standards - Coordinate systems - Drawing in proper locations - Only use Model Space

• Export to CAD - template - Coffee and donuts

Introduction to using CAD Data in ArcGIS

Page 33: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop | Esri UC 2014 | Technical Workshop |

Data submittal Demo

Introduction to using CAD Data in ArcGIS

Page 34: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Export to CAD

• Output features to native CAD format - DGN V8 - DWG/DXF Release 14 to 2012

• Supports appending to existing CAD drawings • Available at all license levels • Creates Seed files

- CAD feature Classes (MSC) - Fields and default values - Layers, color, linestyles, ….

Introduction to using CAD Data in ArcGIS

Page 35: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Mapping Specification for CAD (MSC)

• Open source framework developed by ESRI for coding information in DWGs to define: - GIS feature classes + attributes - Coordinate systems

• Utilizes CAD data structures to define schema and store data • Leveraged by ArcGIS Desktop CAD tools

- CAD direct read/import tools - Export to CAD

• Provides improved interoperability between CAD and GIS

Introduction to using CAD Data in ArcGIS

Page 36: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD data structure in ArcGIS

• Subset featureclass

• AutoCAD Query - Layer, color, linestyle - Etc

• Invisible in AutoCAD

• Better than a SHP file

Introduction to using CAD Data in ArcGIS

Parcels.prj

Text, tags, and attribute definitions Polygons and is useful for 3D representation

MSC feature class that represents parcels (subset of polygons)

Lines, polylines, and arcs

Closed areas such as polygons, ellipses, and circles

MSC feature class that represents roads (subset of polylines)

City.dwg Annotation Multipatch Parcels Point Polygon Polyline Roads

Points, blocks, and cells

Page 37: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

ArcGIS for AutoCAD Plug-in

• Streamline information sharing between GIS/CAD - Access ArcGIS for Server Map Services and

Image Services within AutoCAD - Location Services - Edit Enterprise Geodatabases through ArcGIS for Server Feature Services - Supports Domains and subtypes - New LISP API

• Latest release (350) works with AutoCAD 2013-2015 - http://www.esri.com/software/arcgis/arcgis-for-autocad

Introduction to using CAD Data in ArcGIS

Page 38: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Why would my CAD users care?

• Access to GIS content - Basemaps - Image services - Location Services

• Access to Feature Services

- Direct editing GIS data - Subtype, domains

• It is Free

Introduction to using CAD Data in ArcGIS

Map Services, Feature Services

CAD Drawings

GIS content in AutoCAD

AutoCAD

Basemaps, Image services

Page 39: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Accessing Services in Microstation

• MicroStation V8i has built-in WMS capabilities

• Web Mapping Services Imagery

• Web Feature Services

Introduction to using CAD Data in ArcGIS

Page 40: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Review…..

• Various ways to work with CAD data in ArcGIS - Direct read - Positioning your CAD file - Loading into Geodatabase - Exporting files to CAD formats

• Sample of Best practices for digital submission model

• ArcGIS for AutoCAD plug-in

Introduction to using CAD Data in ArcGIS

Page 41: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

CAD at UC 2014

• Exhibit Hall – Geodatabase Management Island • TUESDAY

• 01:30 PM – CAD: Introduction to using CAD Data in ArcGIS (Room 09)

• 03:15 PM – CAD: The ArcGIS for AutoCAD CAD Plug-In (Room 14 A)

• WEDNESDAY - 02:00 PM – CAD: Lining Up CAD Data in ArcGIS (Exhibit Hall B1/B2) - 03:15 PM – CAD: The ArcGIS for AutoCAD CAD Plug-In (Room 14 A) (2nd offering)

• THURSDAY - 08:30 AM – CAD: Introduction to using CAD Data in ArcGIS (Room 08) (2nd offering)

Introduction to using CAD Data in ArcGIS

Page 42: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Resources

• CAD Integration Resource Center & Help System - http://resources.arcgis.com/en/communities/cad-integration/ - Help, Videos, Samples, Downloads, Blogs

• Working with CAD Data - Instructor Led Course - http://training.esri.com/gateway/index.cfm?fa=catalog.coursedetail&courseid=501203

90_10.x

• ArcGIS for AutoCAD – Live Training Seminar http://training.esri.com/Gateway/index.cfm?fa=seminars.viewDetails&course_id=182

Introduction to using CAD Data in ArcGIS

Page 43: Using CAD data in ArcGIS - Esri · City.prj Text, tags, and attribute definitions. Polygons and is useful for 3D representation Points, blocks, and cells Lines, polylines, and arcs

Esri UC 2014 | Technical Workshop |

Thank you…

• Thank you for attending • Questions

• Please fill out the session survey:

First Offering ID: 378/1163

Second Offering ID: 378/1388 Online – www.esri.com/ucsessionsurveys Paper – pick up and put in drop box

Introduction to using CAD Data in ArcGIS

Understanding our World