I am merging several points gathered on Google Earth after converting KML into a shapefile. I would like to have in the output file (merged) a field indicating the file name of the corresponding source points (the original single points that I want to merge).

Is that possible in ArcGIS?

  • By Layer do you mean you exported the KML as a shapefile? What version of arcmap are you using? What do you mean by "source point"? Please edit your question with these details
    – GISHuman
    Jun 28, 2016 at 14:33
  • How did you perform the kmz to shapefile conversion (software, website, or tool)?
    – artwork21
    Jun 28, 2016 at 16:07

1 Answer 1


You could easily achieve this with modelbuilder: use a featureclass iterator to iterate over your shapefiles, this feeds into an add field, then calculate tool using inline substitution from a parse path tool to store the file name.

Once you have run that you can run a merge tool bring them altogether into a single dataset.

Basically read the help file and find out about modelbuilder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.