Select to view content in your preferred language

Want to delete data outside of a custom extent

14750
13
06-24-2014 01:30 PM
RyanConnelly
Emerging Contributor
Hi, I'm back.

So I've successfully clipped the extent of all of my layers by drawing a polygon from the Draw toolbar and then going into the Data Frame Properties of the layer and clipping by that polygon.  However, when I go into the data attribute table for any of my point feature classes, they still have the same number of records as they did before the clip.

I need to actually remove all data that is outside of the clipped extent from my tables.  Not sure if it would help anyway, but I apparently don't have whatever license is needed for the Erase tool.

Is this doable without it?

Thanks,
Ryan
Tags (2)
0 Kudos
13 Replies
OwenEarley
Frequent Contributor
The clip by polygon in the Data Frame Properties only prevents data outside the polygon from displaying on the map.

If you want to delete the data use the Clip tool (available from the Geoprocessing menu). Note that you will need to use a feature class as the clip extent instead of a graphic polygon feature created using the Draw toolbar.

The Clip tool is available at all license levels.
0 Kudos
RobertParty
Deactivated User
I am fairly sure you can do this with what you have. With the layers that you have clipped I think you can right click on the layers and go down to Data, then select export data, and export all features in view extent, also when you do that make sure you have zoomed out to see the whole layer you are trying to export.

If that doesnt work then do what the previous reply said and use the Clip Tool. If you are unsure of setting up the feature class all you need to do is either create a new file geodatabase in your catalog window or use your default geodatabase, then right click on the geodatabase and select new feature class, Give it a name, and make sure you have Polygon Features selected as the type, then on the next page select your coordinate system you are using. Then unless you know your specific needs i would leave the rest of the tabs at the default. Once the feature class is created, go to the editor tool bar and select start editing and select the feature class you just made, then go to the far end of the editing tool bar and select create feature and draw your polygon, when you have drawn it, select save edits on the editing tool bar, then select stop editing and then you can use your polygon to clip the features!
Hope that helps!
0 Kudos
RyanConnelly
Emerging Contributor
I'm sorry, but I'm still very confused.  I went to the Help File to figure out how to create a new feature class, but how can I customize the shape of the feature class that is created?  (In the Help File page that you linked, it was a circle.  How do I make mine a custom polygon?)

Also, the dialog box says that choosing a Coordinate System is optional.  Is it really?

Everything else is in D_Unknown_Lambert_Azimuthal_Equal_Area, whatever that is.  It doesn't seem that that's even an option in Arc.


(I have access to ENVI as well.  Any idea if what I'm trying to do is easier in that software?)
0 Kudos
RobertParty
Deactivated User
Ok, the coordinate system is technically optional, but if your coordinate systems dont match then the clip tool is going to be clipping from the wrong area. Where is your data coming from? and give me a few minutes to get some pictures together to walk you through it!
0 Kudos
RyanConnelly
Emerging Contributor
Yeah that's kind of what I thought re: the coordinate system.  It's satellite and radar data.  The radar data is in WGS 1984, so I kept re-projecting the sat data to that but the other collaborator kept giving me files in Lambert Equal Area... when we met at his office to coregister all of the datasets I just let him re-project them into Lambert.

And thank you!  As you can guess, I'm pretty much teaching myself Arc as I go along.

Edit: Also, didn't even see your first reply.  When I was saying I was confused, that was still with the first reply.  Sorry about that.
0 Kudos
RobertParty
Deactivated User
Make sure the Editor tool bar is enabled

[ATTACH=CONFIG]34876[/ATTACH]

then select start editing, and at the end of the tool bar there is the create features button select that.

[ATTACH=CONFIG]34877[/ATTACH]

make sure the polygon creator is selected, then draw your polygon around the data you want.

[ATTACH=CONFIG]34878[/ATTACH]

then save your edits and select stop editing.

then use the data you have and the polygon you have in the clip (analysis) tool and it will clip it to the polygon you drew!

[ATTACH=CONFIG]34879[/ATTACH]

[ATTACH=CONFIG]34880[/ATTACH]
0 Kudos
RyanConnelly
Emerging Contributor
For some reason my Editor toolbar is grayed out.  Is this another licensing issue?
0 Kudos
RobertParty
Deactivated User
It could be. Is the whole bar grayed out?
0 Kudos
RobertParty
Deactivated User
What version of ArcGIS do you have? and is the word Editor on the tool bar grayed out? if its not, select start editing and select your polygon layer and that will make the rest of the tool bar selectable.
0 Kudos