Tag Info

Hot answers tagged

6

This should do it and is a little simpler than the examples in the online help for UpdateCursor which is nevertheless worth a read. I've assumed your shapefile is in a folder called C:\temp and that structuretype is an integer field. If it is a text field just use "3" and "4" instead of 3 and 4. import arcpy features = ...


4

Depending on the situation you have a few options: 1) The Region Group tool will allow you to isolate individual pixels, which can then be filtered based on count. 2) The Con tool can be used to remove (set null) or change the value of pixels if you can identify them by their values. 3) A variety of filters can be used to remove isolated pixels (e.g. ...


1

There is an Esri Technical Article on this (don't be put off by it only going up to ArcGIS 9.3.1 because it still applies at 10.1). Try the instructions there and, if you have any problems, perhaps edit your question to describe the steps you have done and where you may need further assistance. A quick description is: Start Editing Create two polygons - ...



Only top voted, non community-wiki answers of a minimum length are eligible