python and gis brendan duffy. background utility data management for all new and existing...

23
Python and GIS Brendan Duffy

Upload: oswin-daniel

Post on 29-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

Python and GIS

Brendan Duffy

Page 2: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 3: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 4: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

Background

• Utility data management for all new and existing construction/projects on campus is managed by the GIS department in Facilities Management.

• AutoCAD files(DWG’s) is the current format for project delivery method from contractors, project managers.

Page 5: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

The Problem

• Not all DWG’s are created equal, there is no naming convention so layers in a DWG are all jumbled together. Sometimes a feature is in multiple layers making querying out specifics utilities from a drawing difficult.

Page 6: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 7: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 8: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 9: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 10: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 11: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

• Manually Fixing one DWG by hand takes about 2 hours this involved consolidating layers and renaming them.

Page 12: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 13: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 14: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 15: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 16: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 17: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

Objective

• To create a program that copies a folder containing DWG files and removes funny characters from the drawing’s name and pulling out all the line work from each of the DWG files. Then storing the line work in a dataset inside a geodatabase that is created from this program.

• The file geodatabase needs to contain a custom projection to transform the drawings into UTM NAD83 N12. Once the File Geodatabase is created the copied folder needs to be deleted.

Page 18: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 19: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department
Page 20: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

• With this program it took .66 minutes to pull in the data from one DWG and about five minutes of manually fixing geometry to refine the line.

• It took 20 minutes to go through a folder of 30 DWG’s.

• One nice added benefit is all the line data we filter through can quickly be queried out by running the program once against all the DWG’s.

Page 21: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

Time Savings

Manually fixing DWG's Using the Program0

10

20

30

40

50

60

70

Time per DWG (hours)30 DWG's (hours)

Page 22: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

Future Goals

• This program has a limitation to only work with a folder containing DWG’s. I am currently working on adding functionality to grab only DWG’s in a folder and skipping the rest.

• Utilizing unique properties of each utility to further refine line features for example line sizes that are greater than 30 inches can only be storm water, the greatest line size of sewer is 16 inches.(Boolean logic)

Page 23: Python and GIS Brendan Duffy. Background Utility data management for all new and existing construction/projects on campus is managed by the GIS department

Questions?