ArcPro 3.4.2 (no extensions)
I have 800 separate sid raster files (5000'x5000') and a separate polygon shape file with 800 polygons surrounding each individual sid file.
Is there a way to automate populating each polygon field with the correct sid file names it surrounds/outlines?
I also have access to ArcMap 10.8.2 if it would be easier.
Solved! Go to Solution.
Other option that just need Basic license.
ArcCatalog, New -> Raster Catalog. Create the catalog, then Load from Workspace to add all the SIDs to it.
However, it won't let you delete the Raster column now, so:
make a blank Polygon layer with the only attribute as "Name" text length 256.
then, start editing on the new blank polygon layer, select all of the polygons in the raster catalog, copy, paste to the new polygon layer.
This will give you a polygon layer with the outlines and the Name field preserved to use for spatial join.
This method will preserve the file name and extension.
R_
one way would be to create a new Mosaic dataset, then add the SID rasters to it without building overviews.
This will make a Footprint layer (polygons) with the outlines of each input SID image. You can then 'Export' the Footprint layer to a separate Polygon feature class, and each polygon will have the name of the SID it encompasses in the [name] field.
If you delete the Raster field from the 'new' Footprint layer (need to delete the Raster field from this new FC or it won't let you perform a spatial join against it), you could then use this as your polygon layer, or can perform a spatial join against it to populate your polygon featureclass.
Not sure if this works for you, but may get you along a path that does.
R_
Edit: This will NOT copy the file extension of the image files, just the name itself.
Thank you for your kind response. It looks as if that is exactly what I need.
Unfortunately, the Create Mosaic Dataset tool is not licensed for our ArcPro. I am currently using it under our ArcMap license and thought everything was available, but apparently not.
If you have any other ideas, let me know. It may be awhile before my company is able to license the tool.
Thanks again
I don't have time to wait around for 'Pro' to do it's thing, and since you said you had Desktop, I just did I there.
I just right click in my GDB in ArcCatlog (10.8.2) and select New -> Mosaic Dataset, then Add Rasters to it, then load into ArcMap to do the rest.
It does say it needs a Standard license.
R_
Other option that just need Basic license.
ArcCatalog, New -> Raster Catalog. Create the catalog, then Load from Workspace to add all the SIDs to it.
However, it won't let you delete the Raster column now, so:
make a blank Polygon layer with the only attribute as "Name" text length 256.
then, start editing on the new blank polygon layer, select all of the polygons in the raster catalog, copy, paste to the new polygon layer.
This will give you a polygon layer with the outlines and the Name field preserved to use for spatial join.
This method will preserve the file name and extension.
R_
Jumping off from your method, I ended up creating a raster catalog and doing basically the same thing.
Thanks again for your help. You put me on the right track!
super easy, super fast