I am trying to use Python in ArcGIS 10.4 to load a directory of JP2 images into a raster catalog.
I can load individual files but can figure out how to load all of the file at the same time.
this will load individual files ....
>>> import arcpy
>>> from arcpy import env
>>> env.workspace = "d:/data"
>>> arcpy.RasterToGeodatabase_conversion("Image1.jp2;Image2.jp2","d:/data/Database.gdb/Orthos")
I tried creating a list of the rasters with arcpy.ListRasters and replace the Input_Rasters with the list name and this works if there is only one item in the list.
Txs.