Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Script to batch process adding raster datasets as attributes in a feature class

$
0
0
Hello, All.

I have a large set of point features (signs locations) that I would like to add images to. I have the sign feature class in a Geodatabase and I know how to add the images manually one at a time. I think the easiest way to handle this would be to create a field that contains the filepaths for the images (so each cell would read "C:/Data/images/IDnumber.jpg", with IDnumber being unique for each feature), but I don't know how to write the code to use the file path to import the images into the raster field in the feature class. I'm new to python in general, but can work with code if someone give me an idea of how to format it.

Any help would be greatly appreciated! Thanks.

Viewing all articles
Browse latest Browse all 2485

Trending Articles