indiana university migrating from autocad to a geodatabase theresa thompson [email protected]

67
Migrat ing from AutoCA D to a Geodat abase

Upload: felix-pierce

Post on 24-Dec-2015

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Indiana University

Migrating from

AutoCAD to a Geodatabase

Theresa Thompson

[email protected]

Page 2: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Total enrollment 2004-05 (7 campuses):

92,070 students

15,831 faculty and staff

714 buildings (7 campuses)

26,525,251 gross sq. feet of building space

2,963 acres

Page 3: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

For the Bloomington campus

13 Utility SystemsChilled Water, Condensate, Communications,Electric, Exterior Lighting, Irrigation, Natural Gas, Sewer, Steam, Storm Water, Tunnel, Telephone, Water

Basemap

Page 4: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 5: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Indiana UniversityIndiana University

Utility Information GroupUtility Information Group

Page 6: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 7: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 8: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

AutoCAD Map linked to Access via object data

Page 9: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

GIS database

Page 10: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Database forms

Page 11: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Why move from AutoCAD Mapto a SDE Geodatabase environment?

Ease-of-Use for Editors Centralized Database/Graphics Environment Enterprise level data sharing Easier to bring CAD into ArcGIS than GIS into

CAD without conversion

Page 12: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

IU GIS system• Windows based ArcGIS 9.1 – editors

Windows ArcReader 9.1 - viewersUnix ArcSDE/Oracle for geodatabaseUnix ArcIMS for web mappingTesting ArcGIS Server

Geodatabase – IU BloomingtonData Layers = over 58 basemap

over 100 utilities

Page 13: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 14: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Data Preparation for moving from AutoCAD Map to a Geodatabase

Database model in placecreate a geodatabase and set up boundary polygon for spatial reference

data naming/object/relationship standards for featuresdomain tables (lookup tables)

Clean your CAD and Attribute data before you convertobjects on correct layers / CAD Standardscorrect blocks / object linking

Expect data problems: there is no “perfect conversion”

Page 16: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Approaches to converting CAD

CAD with no data linking but with block attributes– use Direct Read CAD file export into geodatabase (via ArcCatalog / ArcToolbox)

CAD linked to database/object data – use AutoCAD Map export to shapefiles or coverage, then load into SDE/Oracle

CAD annotation – use ArcToolbox \ Conversion Tools \To Geodatabase \ Import CAD Annotation

CAD text or blocks linked to polygons – use ArcToolbox\ CAD Translation \ PolygonsfromCADLinesandPoints

Page 17: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Simple CAD with no data linking but with block

attributes

Use Direct Read CAD file export into geodatabase (via ArcCatalog)

“The direct read functionality treats the CAD file

as a database of spatial features”

CAD files are rich in attribute data – don’t lose this during conversion

Page 18: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 19: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Filter out certain

CAD blocks

Rename field

names

Page 20: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Lists all the block names

in the dwg

Page 21: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

“Text_” field = blockname

Attribute fields in feature class have new field

names

Page 22: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 23: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 24: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

CAD linked to database/object data – use AutoCAD Map export to shapefiles

or coverage, then load into SDE/Oracle

There are currently no ESRI tools out there

to bring in database linked attributes via object

data or link templates in AutoCAD Map

AutoCAD Map 2006 has direct read capability to SDE/Oracle

Page 25: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Narrow what you convert in AutoCAD Map

by a query

Page 26: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 27: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Make sure your data source is connected and

the link templates you need are

active

Page 28: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

For complex closed polylines you might need to convert to a coverage first, then geodatabase or shapefile

Page 29: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 30: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Select both drawing property attributes and

link template attributes to migrate over.

Page 31: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 32: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Here is your chance to

change the Output Field

Names

Page 33: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

AutoCAD dwg property attributes and linked database attributes are now part of the

converted feature class.

Page 34: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 35: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 36: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Create a new personal geodatabase or new feature layers in SDE to import your

shapefile data into

Page 37: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 38: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Here is another chance to

change the field names or

decide not to bring in some attribute fields

your geodatabase

Page 39: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 40: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

You can do similar functions several

ways...this time you use the Export to

Geodatabase command.

Page 41: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 42: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 43: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

CAD annotation – use ArcToolbox \

Conversion Tools \ to Geodatabase \

Import CAD Annotation

Finally! A great tool for converting AutoCAD

Text into geodatabase annotation.

Page 44: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Preview AutoCAD

text to make sure it isn’t

mtext

Page 45: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

You need to explode all mtext

for conversion. Set up a selection filter

for only mtext, then explode this.

Page 46: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Once you explode the mtext, save the dwg and

preview again in ArcCatalog

Page 47: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Be sure to select the dwg file annotation class for

conversion

Page 48: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

You need to determine a

reference scale. We use 1:5000 for our

campus maps based on units of

feet.

Page 49: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

This is how the converted CAD

annotation looks in the geodatabase

annotation feature class

Page 50: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

You will be able to edit geodatabase annotation easily in a ArcGIS edit session with Annotation edit tools

Page 51: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

CAD text or blocks linked to polygons

– use ArcToolbox\ CAD Translation \

PolygonsfromCADLinesandPoints

There are several powerful geoprocessing

tools/scripts in the CAD Translation toolbox.

Page 52: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Download this free

ArcToolbox

Page 53: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 54: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 55: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Notice the parcel number is just

text, not a block attribute.

Page 56: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

We have filtered out just the parcel number layer to pull as an attribute for the

parcel polygons

Page 57: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Parcel polygons now have the

enclosed text from the CAD dwg as a

parcel attribute

Page 58: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Approaches to exporting from GIS to CAD

Set up a CAD template .dwg (with preinserted blocks, layers, linetypes)

Create geodatabase fields for CAD mapping like LAYER, ROTATION, LINETYPE, CADTYPE, REFNAME

For conversion to CAD – use ArcToolbox \ Conversion Tools \ Export to Geodatabase \ Export to CAD

Page 59: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Select all the Chilled

Water feature

classes to export into one CAD

file

Page 60: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Exported from SDE – this CAD file now has mapped blocks and attributes, layers and

linetypes automatically from the CAD template file (seed file)

Page 61: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

For mapping geodatabase attributes back to CAD you need to make sure you have fields for

CADtype = insert

and the

REFNAME = blockname

Page 62: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu
Page 63: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

In an ArcGIS edit session – use the Field Calculator to

populate the REFNAME with the

correct CAD blockname

Page 64: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

2 new geodatabase fields you created to

export to CAD

Page 65: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Create a AutoCAD template file – make it

read-only

Page 66: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Point feature class in SDE is exported to new CAD file and block attributes automatically

populated to block inserts.

Note: open up newly created dwg in AutoCAD first, zoom extents and save before viewing in ArcCatalog.

Page 67: Indiana University Migrating from AutoCAD to a Geodatabase Theresa Thompson ththomp@indiana.edu

Questions ???

[email protected]