Merging multiple shapefiles into a single shapefile
August 12 2010 |
4 comments
Categories:
Map Data
Hello, I have multiple shapefiles of underwater forms (coral reef, outcrop, sandflat, etc) that I would like to combine into a single shapefile. This would make the data easier to manage and I would use a column in the attribute table to delineate each form, rather than have each be in a separate shapefile. How would I go about doing this? Thanks.
Mapping Center Answer:
First, all the data have to be of the same type (e.g., polygon). Then you can use the Merge tool (ArcToolbox -> Data Management toolbox -> General toolset) to combines your multiple input datasets of the same data type into a single, new output dataset. You could also use Append, but the Merge tool has the advantage that it creates a new dataset from all the combined data. In contrast, Append appends multiple input datasets into an existing target dataset.
I have hundreds of individual shapefiles that I want to merge into a single shapefile.
How do I choose all of them in one go?
It seems to me that I have to click on each of them in turn. I can't get the Shift or Control keys to work as one normally gets using Windows applications.
Is ther a simple method?
Thanks
Mike Sexton
Geoscience Australia
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000055000000
In the case where each shapefile is in a different subfolder, please refer the previous answers here and use the script provided (you may need to modify the script based on your needs):
http://mappingcenter.esri.com/index.cfm?fa=ask.answers&q=1682
http://mappingcenter.esri.com/index.cfm?fa=ask.answers&q=1716
Hope this helps!
If you would like to post a comment, please login.
I'm using the Data Management > General > Merge tool to combine many different mapsheets together (just for drainage). The merge works fine, but it's really slow to load/unload, and still draws the new merged rivers as individual mapsheets (but they all fit together and have matching attributes in the end).
My question is - is the merged layer really a true merge and a new file, or a file copying the source location of the original smaller files? Hence the slow, piece-meal loading...
Thanks in advance for your help :)
Britt