Hi exports
I have a map. There is a layer in my map including some polygons. They are called raster extents
This layer's attribute table have a field by the name of raster_numbers. each polygon has a special raster_number. They are empty polygons though.
I also have a folder containing raster images with the same numbers as raster_number field in my map extent layer. The name of each raster is a number equal to one number in the layer field. It means that each raster has a same number for one polygon.
I need to create a python script to go through raster_number field in map extent layer. Then add the related raster image to the polygon with the same number.
I hope somebody can help me to do this job.
Best regards
Babak
I have a map. There is a layer in my map including some polygons. They are called raster extents
This layer's attribute table have a field by the name of raster_numbers. each polygon has a special raster_number. They are empty polygons though.
I also have a folder containing raster images with the same numbers as raster_number field in my map extent layer. The name of each raster is a number equal to one number in the layer field. It means that each raster has a same number for one polygon.
I need to create a python script to go through raster_number field in map extent layer. Then add the related raster image to the polygon with the same number.
I hope somebody can help me to do this job.
Best regards
Babak