AnsweredAssumed Answered

Possible to code? - Attach picture to feature

Question asked by abeckMU19 on Dec 14, 2015
Latest reply on Dec 14, 2015 by abeckMU19

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)

 

hydAttTable.JPG

 

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!

Outcomes