Select to view content in your preferred language

Possible to code? - Attach picture to feature

Jump to solution
12-14-2015 12:53 PM
New Contributor II

I am building a map from scratch of a water/sewer system. My current work flow is like this...

  1. Collect points on Topcon GRS-1 (handheld GPS unit)
  2. Convert to shapefile
  3. Move file to my computer
  4. Append to my existing gdb

This has worked so far with manholes and valves, but we are taking pictures of the hydrants... and moving that over has not been fun.

The picture's "name" shows up in the shapefile as it's location on the handheld (IMAGECAP1 below). This is my general work flow:

  1. Move shapefile to my computer (like before)
  2. Put file of pictures taken on computer
  3. Convert shapefile to feature class in default.gdb
  4. Attach raster by searching for each individual file on my computer
  5. Append to existing gdb (No Test)


When I'm bringing in at least 150-200 hydrants each time I do this, it can be pretty time consuming. Is there a way I could do this using code? The reason I use the default gdb is because I don't want the IMAGECAP1 attribute to be included in my existing gdb, but I need to see the picture's name in order to attache the raster. I hope this makes sense!

Tags (1)
1 Solution

Accepted Solutions
2 Replies
Regular Contributor III
New Contributor II

No, but I will now!

0 Kudos