*UPDATE: This doesn’t work for merged shapefiles with any part greater than 2GB - so it doesn’t work for the huge census blocks files. Modify the workspacedirectory and output bigshapefile names to match your situation. ![]() It is probably necessary to have all the shapefiles with matching coordinate systems, although I don’t know this for sure. Put this code in a python script file (like ‘merge_shapefiles.py’) in the same directory with all the shapefiles you want to merge and run it. After downloading all census blocks using the python methods in a prior post, I used the python code contained in this post below to merge all the census blocks for the entire United States into one big happy shapefile. ![]() Using the magic of ArcGIS’ python scripting, it is possible to merge a large number of shapefiles together programmatically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |