Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a query regarding the dissolving of polygon features in ArcGIS 9.3. I only have the bare-bones license and an extremely basic knowledge of VB.

I have a large shapefile with around 4500 polygons and I want to know if there is anyway of dissolving the ones that overlap? I basically want to turn this layer into a shapefile that contains seperate areas, so where one polygon is on its own it will remain but where multiple polygons overlap they dissolve into 1, with each separate area having its own set of attributes. The shapefile changes quite frequently and up until now I have been going through them all and manually dissolving overlapping areas using the editor tool but I'm sure there's a much quicker way of doing it!

Any insight into how this might be achieved would be greatly appreciated. Cheers,

Tom


Thank you all very much for the excellent responses. I've had a go using the dissolve tool and joining the exported attribute table and this works perfectly! I thought the dissolve tool only worked on attributes and not spatial location so that's extremely useful to know. Also the model builder code is Cheers again,

Tom

share|improve this question
    
Great answers. Brad Nesom, how do you get the orginal attribute table value to the dissolved shapefile? –  Gunnar Feb 5 at 20:38

3 Answers 3

up vote 10 down vote accepted

I might be missing something, but won't the basic Dissolve tool (somewhere in the data management toolbox) do this for you? No need to mess with any code as in artwork21's answer. Just open the dissolve tool, select your feature class, do not select any field to dissolve on, and then uncheck 'Create Multi-part poygons' otherwise all your poly's will be become one large multi-part poly.

I don't have Arc in front of me right now, but if I'm reading your question correctly, I've done this before using this method. The only concern here is attributes in the table. You know the data, so you'll have to choose how to combine each field in the Statistic Fields part of the tool.

If this process is done extremely frequently or you'd like it done automatically, then do this with model builder and export it to a script, but this tool should take 10 seconds to fill out.

share|improve this answer

You can create a model within Model Builder and export out the script, then copy and paste that script to a UIButtonControl within ArcMap vba. See script example below.

Private Sub Dissolve_Click()

' Create the Geoprocessor object
set gp = CreateObject("esriGeoprocessing.GPDispatch.1")

' Load required toolboxes...
gp.AddToolbox "C:/Progra~1/ArcGIS/ArcToolbox/Toolboxes/Data Management Tools.tbx"

' Local variables...

Dim test_shp as string

test_shp = "C:\Temp\test.shp"
Output_Feature_Class = "C:\Temp\test_Dissolve.shp"

' Process: Dissolve...
gp.Dissolve_management test_shp, Output_Feature_Class, "", "", 
  "MULTI_PART", "DISSOLVE_LINES"

End Sub
share|improve this answer

@Tom Parker - MWrenn is correct.
You have the option of selecting an attibute to dissolve on.(this will do an attribute dissolve) or no attribute (this will do a spatial dissolve).

choose the statistics and any attributes you want to carry over. (this is not going to quite work like you want).

options

Prior to doing the dissolve. create a new field and calculate the FID into it.
Then export a dbf of your attributes and you can (somewhat join them back up with the polygons afterward).

If you need help with this let me know and I will post more screen shots or find some help on arcgis.com resource center.

If you notice in the following screen shot the name is the same in all of the polygons (9.3.1 doesn't seem to dissolve correctly from arcmap). Try it from arccatalog.

aftter dissolve

Maybe someone else will have a better method.

The only other way I can think of is to select by location (polygons that intersect each other).
Export those to a seperate file and then dissolve them.
Then after you get each file dissolve you could use the free merge layers (in et-geo-wizards)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.