107
Shapefile Creation Shapefile Creation in ArcGIS in ArcGIS Making the Boundary Making the Boundary Shapefile from an AutoCAD Shapefile from an AutoCAD DWG DWG ePermit Boundary Shapefile Submittal Support Training Series

Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

  • View
    251

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Shapefile Creation Shapefile Creation in ArcGISin ArcGIS

Making the Boundary Making the Boundary Shapefile from an AutoCAD Shapefile from an AutoCAD

DWGDWG

ePermit Boundary Shapefile Submittal Support Training Series

Page 2: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The Basic Workflow There are several different workflows that can be used.

All of the them are good as long as the submitted shapefile meets DMP GIS specifications.Source CAD Drawing

Boundaries Only DWG

ArcGIS Shapefile

Save Down or Export

Attach to GIS Map

Page 3: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The Source CAD FileThe Source CAD File

•It is your decision whether to make any changes to the layer structure in your current CAD template.

•The object is to move certain selected elements from the source CAD drawing into a separate DWG file that will contain only those features required by the DMP.

•If placing these features on different layers, renaming layers, or establishing any other standards that facilitate an eventual export, copy, or save down into this separate DWG will speed or enhance this process, then you might make these types of modifications to your CAD workflow.

•The challenge on the CAD side is to make this process as seamless and easy as possible. Ideally, once the separate specific boundary DWG is created, the CAD operator should not have to perform any additional edits or modifications, and should be ready to attach this DWG to an ArcMap project immediately and begin attributing the features.

•How you, as CAD operators, get to this point is up to you, as only you know what will work best within the CAD framework and software you operate with.

Page 4: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The Boundary DWGThe Boundary DWG• Kentucky Single Zone Coordinate System• Contain only the following features

• Proposed Boundary• Current Approved Boundary• Fills• Permanent Impoundments• Haul Roads• Bonding Increment Boundaries (if applicable)

• All features must be closed polygon elements.• Make sure to save the DWG down to ACAD version 2007.• For haul roads, the polygon area would be the right of way

edges but if the roads are polylines these could be buffered into polygons.

• The DMP Shapefile Specification can be downloaded from the website at http://minepermits.ky.gov/Pages/CHIA.aspx This document contains detailed information regarding the shapefile format.

Page 5: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Example of Source MRP Map in AutoCAD

Page 6: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Boundaries Only DWG Resulting from Export, Copy, or Savedown

Page 7: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Creating the ShapefileCreating the Shapefile

1.1. Start ArcMapStart ArcMap2.2. Set the Coordinate System of the Set the Coordinate System of the

Shapefile to Kentucky Single Zone Shapefile to Kentucky Single Zone NAD83 units in feet.NAD83 units in feet.

3.3. OROR – simply attach the empty shapefile – simply attach the empty shapefile Empty_DMP_Shapefile.shp to the Table Empty_DMP_Shapefile.shp to the Table of Contents (TOC) and the coordinate of Contents (TOC) and the coordinate system will automatically set to the system will automatically set to the proper values.proper values.

4.4. Attach the Boundary DWG last.Attach the Boundary DWG last.5.5. These two files are all the data you need.These two files are all the data you need.

Page 8: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Open a New ArcMap Project

Page 9: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Add Data Button

Table of

Contents

(TOC)

Map Display

Area

Page 10: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

(1) Click on the Add Data Button

(2)Select the Empty DMP

Shapefile to add First

Page 11: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The Empty DMP Shapefile is added to the TOC – it’s empty – so no data displays.

Doing this sets your coordinate system. If you add the DWG first, the coordinate system might not set.

Page 12: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

If you accidentally add the DWG file first, you will probably get the message below. Your file will still attach, but your coordinate system will NOT be set

correctly and your shapefile will not meet the specification.

Page 13: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Using the Add Data button again, double-click on the Icon for the DWG file to see the component

elements. (see next slide)

We don’t want the whole DWG, just the polygons.

Page 14: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Double-Click on the icon / not on

the filename

Page 15: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Files for each of the component elements of the DWG will list out.

Select the “Polygon” element and click the “Add” button to add it

to the TOC

Page 16: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

All the data you need is now added to your ArcMap project – in order to see the data you will need to Zoom

In to its location. (next slide)

Page 17: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

(1) Right Click on the Polygon layer (highlighted) and a context menu will appear.

(2) From this menu left click on “Zoom to Layer” and your data should appear.

Page 18: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

If you do not see your data, it is If you do not see your data, it is probably because the features are probably because the features are

polylines and not polygons, or polylines and not polygons, or something happened during the something happened during the export or save down procedure.export or save down procedure.

You will need to go back into You will need to go back into AutoCAD and convert, edit, or AutoCAD and convert, edit, or otherwise make sure that all of otherwise make sure that all of

these elements are polygons, then these elements are polygons, then re-add the new polygon layer to the re-add the new polygon layer to the

TOC and see if that fixes the TOC and see if that fixes the problem. problem.

If your elements are polygons If your elements are polygons then…then…

Page 19: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Your Screen Should Look Something Like This

Page 20: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now Change the Symbology to See All of Now Change the Symbology to See All of the Featuresthe Features

(1) Click on the Expand box to see

the layer symbology

(2) With the symbology expanded you see that your layer is currently

set to solid-green (in this example)

We need to change this to “Hollow” so we can

see all our data.

Page 21: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Solid filled polygons can mask out other features.

The color of the boundaries may be different on your display – it doesn’t matter.

Also, you may not see some of the features, such as impoundments or roads, because they are beneath other boundaries that are solid filled, such as the proposed permit boundary. This is caused by the order in which the elements were originally digitized and does not matter.

Page 22: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

By Changing the Fill Selection You Can See All Your Features

Change your solid fill color to “Hollow” so that you can “look through” stacked features and see all of your data.

To do this double-click on the color box under the polygon element class in the TOC.

Double-click on this box

Page 23: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

A Symbol Selector Box Will Appear

(1) Click this one “Hollow”

(2) Then Click “OK”

Page 24: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Your Data Should Look Similar to This

Note: ArcMap assigns symbology to attached layers at random – that means that it might just come up in “Hollow” to begin with, and you won’t even have to do this step!

Page 25: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

At this point in the process At this point in the process you need to ensure that you you need to ensure that you have have ALLALL your data present your data present and that it consists entirely and that it consists entirely

of of closed polygonsclosed polygons..•Proposed Permit Boundary(s)

•Current Approved Permit Boundary

•Impoundments

•Fills

•Haul Roads

•Bonding Increment Boundaries (if applicable)

Page 26: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Impoundments

Haul Roads

Current Approved Boundary

Proposed Boundary(s)

Fill

Page 27: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now would be a good time to double-check to see that your coordinate system is Kentucky Single Zone.

(1) Right-Click on “Layer” at the top of the TOC to highlight it and see the drop-down context menu.

(2) Next click on the “Properties”

option at the bottom.

Page 28: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The Data Frame Properties menu will display. It doesn’t matter which tab it comes up in, you want the “Coordinate System” tab to be the active one.

If it isn’t, then click on it.

Page 29: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Your coordinate system must be shown here as

NAD 1983 StatePlane

Kentucky FIPS 1600 Feet. If it is

anything else your shapefile will be incorrect and you should not

proceed.

Page 30: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

If the Coordinate System is If the Coordinate System is Wrong or Undefined You CanWrong or Undefined You Can

Close ArcMap, then start over and make sure to add the Close ArcMap, then start over and make sure to add the Empty_DMP_Shapefile.shp to the TOC Empty_DMP_Shapefile.shp to the TOC firstfirst..

At the bottom of the Coordinate System dialog box you have At the bottom of the Coordinate System dialog box you have displayed, click the folder icon for Predefined, then click displayed, click the folder icon for Predefined, then click Projected Coordinate Systems, then click State Plane, then Projected Coordinate Systems, then click State Plane, then NAD 1983 then scroll down to the very first entry for NAD 1983 then scroll down to the very first entry for Kentucky and click it. The coordinate system box at the top Kentucky and click it. The coordinate system box at the top will reflect the change. Click OK and the box will close. You will reflect the change. Click OK and the box will close. You have just reset your coordinate system to the correct one.have just reset your coordinate system to the correct one.

The data may disappear from the screen because it has been The data may disappear from the screen because it has been reprojected, if so, just right click on the Polygons layer and reprojected, if so, just right click on the Polygons layer and click “Zoom to Layer” from the drop-down context menu.click “Zoom to Layer” from the drop-down context menu.

OR

Page 31: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

But if the coordinate system But if the coordinate system is correct – and all your is correct – and all your

data is present in polygon data is present in polygon form….form….

you are ready for the next you are ready for the next step, which is to create the step, which is to create the shapefile that you will be shapefile that you will be

sending to the DMP.sending to the DMP.

Page 32: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Shapefiles are for GIS systems.Shapefiles are for GIS systems.

As you may already know, the power in a As you may already know, the power in a GIS lies not in the graphics but in the GIS lies not in the graphics but in the underlying database tables whose underlying database tables whose records of information are attached to records of information are attached to every map feature in the shapefile.every map feature in the shapefile.

In this section you will create the In this section you will create the shapefile and populate its table with the shapefile and populate its table with the appropriate information that describes appropriate information that describes your boundary polygons.your boundary polygons.

Page 33: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Each of the attendees of this training Each of the attendees of this training presentation has been given a copy of the presentation has been given a copy of the specification for this DMP Shapefile. Inside specification for this DMP Shapefile. Inside this specification you find requirements for this specification you find requirements for field names, acceptable values, etc. field names, acceptable values, etc.

There are several ways to create this shapefile, There are several ways to create this shapefile, some easier than others. For example, from some easier than others. For example, from the ArcMap project you have been working the ArcMap project you have been working with , at this point, you could just export the with , at this point, you could just export the polygon layer into a shapefile format.polygon layer into a shapefile format.

But if you did that, all of the AutoCAD fields – But if you did that, all of the AutoCAD fields – 30 of them – would be inserted into the 30 of them – would be inserted into the attribute table. You would have to delete attribute table. You would have to delete these fields, then add the 7 fields the DMP these fields, then add the 7 fields the DMP requires in the specification. Try this if you requires in the specification. Try this if you like…..like…..

But there is a much simpler But there is a much simpler way -way -

Page 34: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The Empty_DMP_Shapefile.shp that you The Empty_DMP_Shapefile.shp that you attached to your ArcMap project at the attached to your ArcMap project at the beginning of this exercise contains the beginning of this exercise contains the

coordinate system information you need, coordinate system information you need, but it also has all seven of the fields you but it also has all seven of the fields you will need to populate already defined for will need to populate already defined for

you.you.

Also, this shapefile is defined as a Also, this shapefile is defined as a polygonal shapefile type, and will not polygonal shapefile type, and will not

accept any geometries other than accept any geometries other than polygons.polygons.

The easiest thing to do would be simply to The easiest thing to do would be simply to merge AutoCAD polygons into this merge AutoCAD polygons into this

prepared shapefile, and then you don’t prepared shapefile, and then you don’t have to deal with creating and naming have to deal with creating and naming

fields in the attribute table – it will all be fields in the attribute table – it will all be done for you.done for you.

Page 35: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Click on the Red Toolbox icon on the menu bar to bring up Arc

Tools

Page 36: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The tool we need is called “Merge” – to get to it dbl-click on “Data

Management Tools”

Page 37: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now dbl-click on “General”

Page 38: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

And now we see the “Merge” tool. Dbl-click

on it to start it.

Page 39: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Your screen should look like this. You will need to see the TOC so if the Merge dialog box is too large and obscures

the TOC just resize its window.

Page 40: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Like This

Page 41: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

On the Merge dialog box, click on the Input Data drop-down button and

you will see the available layers that you can

merge. Click on the Empty_DMP_Shapefile

first.

Page 42: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Notice that the layer goes into the

list of files to be merged

And that it’s table fields go into this list.

Note that these are exactly the fields called for in the

specification.

Page 43: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Click on the Input Data drop-down button again and add the remaining DWG polygon layer to

the merge list.

Page 44: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Notice that the 30 AutoCAD fields have been

added to the Field Map section below the

required shapefile fields. We don’t want these and we need to delete them out of the list so that

they do not merge into our shapefile and create

more work for us.

Now we have both the files we need for the merge. But first we need to clean up

the fields.

Page 45: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

(1) To delete these fields, first highlight the field you want to delete by clicking on

it. (2) Then click the delete button in the panel to the right of

the field list.

The field will delete and one beneath it will become highlighted. So you should only have to click the delete button until the unwanted fields are all gone. Because we added the Empty DMP Shapefile

first, and its fields are on top, this task is made easier.

Page 46: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

If you accidentally delete If you accidentally delete a field you need, just a field you need, just close the Merge tool close the Merge tool

dialog box and reopen it. dialog box and reopen it. It will come up blank and It will come up blank and

you can just start over you can just start over again.again.

Page 47: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Almost ready – now you have to tell it where to put the

resulting merged shapefile and what to name it.

This Output Dataset box will always have something it in, but it will never be named

what you want, so will always have to change this value

before you merge.

Page 48: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Your Final Dialog Box Should Look Like This.

Page 49: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Remember that the naming convention for

the shapefile you submit to the DMP is specified in

the Specifications document. It is critical

that you name your shapefiles according to

the spec.

Permit Number, Action, and Action number (if Applicable) – use only underbars and no

spaces.

Make sure the directory exists or you could get an error icon.

Page 50: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

When you are ready click the OK

button and the Merge tool will

start.

Page 51: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

A process box will appear showing you the progress of the merge. If there are errors it will tell you. Otherwise it states that

the merge was completed successfully.

Just close the box when finished.

Page 52: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Notice that your new merged shapefile has been added to the TOC and has been assigned a solid green symbology. You might have to

“Zoom to Layer again to see the data.

Page 53: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Time to clean up the project a little.

Right-click on the polygon and Empty DMP Shapefile

layers and select “Remove” from the context menu that

appears.

This doesn’t delete the files, just removes them from the

TOC.

You can dismiss the Arc Tools directory, you don’t need it

anymore. Just click the “x”

here.

Page 54: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Your Screen Should Look Something Like This

Page 55: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Notice the “Donut”. If you have proposed boundaries or other features in AutoCAD that have holes in them, you need to make sure that these features export, copy or save down correctly. Depending on the version of ACAD or the type of extension software you have, the process or workaround for doing so is up to you.

Page 56: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now lets take a look at what Now lets take a look at what got created.got created.

Drive to the directory you Drive to the directory you specified when you gave the specified when you gave the merge file a name, and look merge file a name, and look

at the new file created by at the new file created by the Merge Tool.the Merge Tool.

Page 57: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Here we see that a “shapefile” is really a collection of six separate files. What these are is explained in the Specification Document, but together they comprise the geometries, attribute table, spatial indexes, and coordinate system information required for a shapefile to display, even though when you attach it to the TOC in an ArcMAP project, it appears as a single file. When you send the shapefile to DMP you must include all of these files.

Page 58: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Notice the file with the extension PRJ. This is the

projection file that contains the coordinate system information. If you want to see it, it can be opened with any text editor,

such as Notepad.

Page 59: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The next section will be The next section will be to populate the attribute to populate the attribute

table.table.

For this we will need the For this we will need the Editor toolbar to be Editor toolbar to be

attached to our project.attached to our project.

Page 60: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

There are many toolbars in ArcMap and we need the one that lets us edit a shapefile.

On the top menu bar, click on

View

Page 61: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

A context menu appears, hold the mouse cursor over “Toolbars” and a

menu of toolbar choices will appear.

Page 62: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

From this menu, click on “Editor” and the Editor

toolbar will appear.

Page 63: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

This is the editor toolbar. All ArcMap toolbars are dockable. Just use the mouse to drag it up toward the other toolbars and it

will dock when it gets close.

Page 64: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Like So

Page 65: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now you’re ready to Now you’re ready to populate the attribute populate the attribute

table.table.

Page 66: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

How to Display the Attribute Table

Right-click on the layer and select “Open Attribute Table” from the context menu.

Page 67: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The attribute table appears in its own window – you may want to resize it. Note that all of the fields required by the DMP

specification are empty. In this section we will populate those fields.

If you have dual monitors, it’s easier if you drag the attribute table into the other monitor.

Page 68: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Attribute Table TerminologyAttribute Table Terminology

Fields = Columns

Records

=

Rows

Page 69: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Each Record is Attached to a Each Record is Attached to a Feature on the Map, and Contains Feature on the Map, and Contains Information About that Feature.Information About that Feature.

Page 70: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

To explore this relationship, click on the “Select To explore this relationship, click on the “Select Features” tool on the menu bar, then click either a Features” tool on the menu bar, then click either a feature on the map, or on a record in the attribute feature on the map, or on a record in the attribute

table. table.

Page 71: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Select Tool BehaviorSelect Tool Behavior The tool works with the usual Windows The tool works with the usual Windows

functionalityfunctionality By holding the shift key down you can By holding the shift key down you can

select more than one featureselect more than one feature By holding the left mouse button down, By holding the left mouse button down,

you can drag a box that selects you can drag a box that selects everything it touches.everything it touches.

To “unselect”, click the “Clear Selected” To “unselect”, click the “Clear Selected” tool or click in an unoccupied map area.tool or click in an unoccupied map area.

Page 72: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Notice that although you can mouse click on a record value

in a field and highlight it, it won’t let you type anything in.

Page 73: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

In order to add, delete, or In order to add, delete, or edit either records or map edit either records or map features (geometries) – features (geometries) – the the

Layer must be Open for Layer must be Open for Edit.Edit.

(1) Click on the “Editor” drop-down

box to see the context menu.

(2) Click on Start Editing.

If you only have the one layer

attached to the TOC, the editor

will immediately open your

shapefile for edit.

Page 74: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now you are ready to add Now you are ready to add the attribute values that the attribute values that describe the features in describe the features in

the map.the map.

The first thing you notice The first thing you notice is that some of fields will is that some of fields will contain the same value, contain the same value, while others will contain while others will contain

all different values.all different values.

Page 75: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The field values for PermitNo, AppType, The field values for PermitNo, AppType, AppNum and Subdate will have the AppNum and Subdate will have the

same value for every record.same value for every record.

You could highlight the PermitNo field You could highlight the PermitNo field for the first record, type in 8380005, for the first record, type in 8380005, then cntrl-C (copy) cntrl-V (paste) it then cntrl-C (copy) cntrl-V (paste) it

into all the records below it using the into all the records below it using the down arrow key to move your way down down arrow key to move your way down the records, and that will work fine. But the records, and that will work fine. But

there is a faster way.there is a faster way.

You can use the You can use the Field EditorField Editor..

Page 76: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Field Editor BehaviorField Editor Behavior

The field editor will automatically populate The field editor will automatically populate records in a specific with a value you type in.records in a specific with a value you type in.

It will populate all the records in a selected It will populate all the records in a selected field unless you have any map features field unless you have any map features selected. In that case it will populate only selected. In that case it will populate only those features that you have selected.those features that you have selected.

Therefore, to populate ALL of the records in a Therefore, to populate ALL of the records in a field, make sure that you have nothing field, make sure that you have nothing selected – click on the “Clear Selections” selected – click on the “Clear Selections” button. No records in your attribute table button. No records in your attribute table should be highlighted.should be highlighted.

Page 77: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Using the Field EditorUsing the Field Editor

Click in the Field Name box to

highlight all the record values for that

field.

In this example we will auto-populate the value “8380005” into ALL of the records for the PermitNO field.

Page 78: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

(1) Now Right-Click inside the field-name box for PermitNo to display the context

menu.

(2) Click on “Field

Calculator” to bring up the dialog box.

Page 79: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The Field Calculator dialog will The Field Calculator dialog will display.display.

Page 80: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Because you already highlighted the field

PermitNo, the calculator already

has this field selected as the field

that will be modified.

PermitNo =

So all we have to do is give it the

value. Since it is a text field (they all

are) we should enclose our value

in double quotation marks

“8380005”

With that done, just click the OK

button to populate your records.

Page 81: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

All of the record values for PermitNo are now populated with the value you typed in.

This is the fastest way to do this kind of edit, and because you didn’t have to type each value in, the odds of making a typo error are greatly reduced. In this case the values are either all right or all wrong.

Page 82: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now repeat this workflow Now repeat this workflow for:for:

AppType (the type of application, AM, NW, AppType (the type of application, AM, NW, etc)etc)

AppNum (if applicable – NW will not have AppNum (if applicable – NW will not have an AppNum so just leave it blank)an AppNum so just leave it blank)

SubDate (the date you will submit the permit SubDate (the date you will submit the permit – doesn’t have to exact as long as it is more – doesn’t have to exact as long as it is more current than the last boundary shapefile you current than the last boundary shapefile you may have submitted for the same permit may have submitted for the same permit number.) Take care with the format on this number.) Take care with the format on this value! value! mm/dd/yyyy – 01/21/2011mm/dd/yyyy – 01/21/2011

Page 83: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Like SoLike So

Page 84: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

All that’s left is to populate All that’s left is to populate FeatType, FeatCLS and SMISCode.FeatType, FeatCLS and SMISCode.

These have to be populated record by These have to be populated record by record as each may have different values record as each may have different values depending on what kind of feature it depending on what kind of feature it describes.describes.

It is critical that you are sure the record It is critical that you are sure the record you are populating belongs to the feature you are populating belongs to the feature on the map that it describes.on the map that it describes.

It is equally critical that the values you It is equally critical that the values you enter are taken from the list of approved enter are taken from the list of approved values in the DMP shapefile specification values in the DMP shapefile specification document.document.

Page 85: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Overview of the Overview of the remaining fieldsremaining fields

FeatType – the FeatType – the typetype of feature the record of feature the record describes. Every record will have a value – no describes. Every record will have a value – no blanks.blanks.

FeatCLS – FeatCLS – the kind or categorythe kind or category of the feature, of the feature, for example the FeatType may be IM for for example the FeatType may be IM for impoundment, but what kind of impoundment? impoundment, but what kind of impoundment? DGO for dugout, EMB for embankment, etc. DGO for dugout, EMB for embankment, etc. Some features, such as haul roads and increment Some features, such as haul roads and increment boundaries, will not have a value and the field boundaries, will not have a value and the field will be left blank.will be left blank.

SMISCode – within the permit application are SMISCode – within the permit application are tables where names have been assigned by the tables where names have been assigned by the applicant to delineate haul roads, applicant to delineate haul roads, impoundments, fills, and bonding increments. impoundments, fills, and bonding increments. This field will contain the values from this (these) This field will contain the values from this (these) tables appropriate to the feature they describe. tables appropriate to the feature they describe.

Page 86: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

To see which record belongs to which To see which record belongs to which feature just click (select) the record feature just click (select) the record

and look at the map to see what and look at the map to see what feature highlights.feature highlights.

(1) Click the box area to the right of the record to select it.

(2) Then see what highlights on the

map.

This happens to be a Current Approved

Boundary Area

Page 87: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Click on the field for your highlighted record and a dark outline will appear,

then just type in the value.

Remember to refer to the specifications for a list of

approved values.

Approved Boundary features do not get a

SMISCode value according to the spec.

Just leave it blank.

Page 88: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now select the next record. This one is a proposed permit Now select the next record. This one is a proposed permit boundary. But we know that for this application, there are boundary. But we know that for this application, there are two separate proposed permit boundary areas. We will save two separate proposed permit boundary areas. We will save

time by combining both features into a single record.time by combining both features into a single record.

Page 89: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

In ArcMap you can connect, or Merge, In ArcMap you can connect, or Merge, separate features so that selecting one of separate features so that selecting one of

them will select all of them, and all of them them will select all of them, and all of them will be described by the same record in the will be described by the same record in the

attribute table. attribute table.

This different from the “Merge” application This different from the “Merge” application you used to create the shapefile so don’t get you used to create the shapefile so don’t get

confused.confused.

In our boundary shapefile these features are In our boundary shapefile these features are called called

“multi-part polygons”.“multi-part polygons”.

You can only do this when the attributes of You can only do this when the attributes of ALL of the polygons you will merge are ALL of the polygons you will merge are

identical for the entire record.identical for the entire record.

Page 90: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

WorkflowWorkflow Select ALL of the proposed permit Select ALL of the proposed permit

boundary areas (only two in this boundary areas (only two in this example).example).

Click on the Editor drop-down list button Click on the Editor drop-down list button to see the context menu for the editor.to see the context menu for the editor.

Click on the “Merge” command (will Click on the “Merge” command (will only enable if two or more features are only enable if two or more features are selected)selected)

Click “OK” to the Merge Message Box Click “OK” to the Merge Message Box (the features are the same, it doesn’t (the features are the same, it doesn’t matter which one merges with which)matter which one merges with which)

All done. Populate the record.All done. Populate the record.

Page 91: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

(2) Select all of the proposed boundary polygons on the map. In this example there are only two.

(1) Using the Select

Tool…

The 2 records will highlight in the attribute table indicating they are

selected..

Page 92: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

(1) Click on the drop-down box on the Editor tool bar to display

the context menu…

(2) Then click on the Merge command.

Page 93: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

The Merge command’s confirmation box will appear. At least one entry in the list must be highlighted, then you can click the OK button. All of the features in the list will be merged into the highlighted one, but since they are all the same type of feature (proposed boundaries) their records are identical so it doesn’t matter which one gets merged into.

Page 94: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

After the Merge the map will still show the features as highlighted, but there will be only one record

describing them in the attribute table. You have created a multi-part polygon. Clicking on one

proposed boundary area will highlight them all, and when you attribute the record, they will all carry the

same descriptions.

Page 95: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Now click inside the appropriate fields to populate the record.

Notice in this example that the total number of

records went from 28 to 27

after the merge.

Page 96: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

What happened to the haul What happened to the haul roads and impoundments? roads and impoundments? I don’t see them anymore I don’t see them anymore

on the map.on the map.

Page 97: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

They are still there, it’s just when you did the merge ArcMap resequenced the display order and they are lying “underneath” the permit boundary polygon, which is solid

filled.

Page 98: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Remember you can just change the symbology to

“Hollow” to see all of the data at any time. Unlike AutoCAD,

symbology attributes are never held in the shapefile, so it doesn’t matter about color,

weight, or style.

Page 99: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Question…Question…

If I can merge all the permit boundaries together and just have to attribute a single record for them, why can’t I merge all of my impoundments, haul roads and other like features together the same way?

Page 100: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Answer…Answer…

Because the attributes for FeatCLS and SMISCode could be different for each case of the remaining features. The SMISCode values will never be the same. Haul roads have the same blank FeatCLS value but the SMISCode will be different. Impoundments may have different FeatCLS values as well as different SMISCodes. These are not good candidates for merging and have to be populated one by one.

Page 101: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

So one by one…

(1) Select the record in the attribute table

(2) See what kind of feature gets highlighted on the map

(3) Click on the selected field and type in the value.

(4) Repeat until all records are populated. Refer to the specification for approved field values.

Highlighted embankment

pond

Page 102: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Example of a fully Example of a fully attributed table.attributed table.

Page 103: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

To complete the attribution you must “Stop Editing” and save your edits.

(1) Just click on the drop-down button for the Editor

(2) Then click on “Stop Editing”

Page 104: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

If you haven’t already saved your edits (which you are free to do at anytime

during this process by clicking on “Save Edits” in the Editor context menu) you will

be prompted to do so now.

Click “Yes” to save all of your edits, or “No” to completely roll back all your edits to the last save. So if you haven’t

saved at all, and you click “No”, no changes to the attribute

table will be saved..

Page 105: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Exit ArcMap after Saving

Page 106: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Navigate to where your shapefile is located and include all of the files in your permit

application to the KY Division of Mine Permits.

Page 107: Shapefile Creation in ArcGIS Making the Boundary Shapefile from an AutoCAD DWG ePermit Boundary Shapefile Submittal Support Training Series

Where to get help.Where to get help.Call or Email

Jeffrey Laird or Daryl Hines at the Division of Mine Permits

(502) 223-2320

[email protected] [email protected]

You can email me the shapefile and/or DWG you are working on. Make sure that you have a phone by your workstation. Then we can work through it together both looking at the same shapefile.