1

I have 397 shapefiles that I need to merge into one shapefile, and I need to add an attribute for the name of each of the shapefiles. I have no experience in coding/ Python.

Is this possible to do without any coding in ArcMap 10.3?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
  • What do you mean by attribute for the name? – Moh Mar 19 '18 at 12:59
  • @User2009 The file names are 1.shp, 2.shp, etc and I want the 1, 2, etc to be in the attribute column. – Maitri Shah Mar 19 '18 at 13:10
  • @cm1I had a look at that, but it requires some coding. I have no experience in coding sadly. – Maitri Shah Mar 19 '18 at 13:11
  • 2
    Shapefiles cannot start with numbers. – ahmadhanb Mar 19 '18 at 13:20
  • 1
    @ahmadhanb I think you're thinking of geodatabase feature classes, shapefiles are just regular file system files and can start with numbers or any other character permitted by the file system. – Dan C Mar 19 '18 at 13:52
  • @DanC thanks for the information. Starting a shapefile name with numbers can cause an error as far as I know. This was also discussed here in this thread: https://gis.stackexchange.com/questions/7886/is-starting-names-with-numbers-a-bad-data-naming-convention – ahmadhanb Mar 19 '18 at 14:13
  • @MaitriShah You can edit your question by using ModelBuilder. so you can add the name filed for each shapefile and merge all of them – Moh Mar 19 '18 at 15:11

0 Answers0