AnsweredAssumed Answered

Add raster to mosaic dataset fails

Question asked by iaron on Feb 23, 2017
Latest reply on Feb 23, 2017 by iaron

Frontend: ArcGIS 10.4.1 on Windows 10

Backend: ArcSDE 10.4.1 and Oracle 12c on Windows Server 2012 R2

 

I've created a raster mosaic and added two rasters to it. Then I versioned the Footprints table in order to add a field for the "Year" (so I can use the time slider). All worked fine....

 

Problem occurs when i try to add more rasters into the mosaic.

 

If I run the tool from ArcCatalog, I get this error message:

Executing: AddRastersToMosaicDataset MKRF_GIS.Orthophoto_Master "Raster Dataset" \\MyServer\gis\Connections\Administrator\mkrf_gis@default@mkrforcl2.sde\MKRF_GIS.Orthophoto_2006 UPDATE_CELL_SIZES UPDATE_BOUNDARY NO_OVERVIEWS # 0 1500 "PROJCS['NAD_1983_UTM_Zone_10N',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Transverse_Mercator'],PARAMETER['False_Easting',500000.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-123.0],PARAMETER['Scale_Factor',0.9996],PARAMETER['Latitude_Of_Origin',0.0],UNIT['Meter',1.0]];-5120900 -9998100 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision" # SUBFOLDERS OVERWRITE_DUPLICATES BUILD_PYRAMIDS CALCULATE_STATISTICS BUILD_THUMBNAILS # NO_FORCE_SPATIAL_REFERENCE ESTIMATE_STATISTICS #

Start Time: Wed Feb 22 15:40:31 2017

2017-02-22T15:40:31.658: Loading raster datasets

ERROR 999999: Error executing function.

Cannot create an insert cursor using the mosaic dataset.

Objects in this class cannot be updated outside an edit session [MKRF_GIS.AMD_Orthophoto_Master_CAT]

Failed to execute (AddRastersToMosaicDataset).

Failed at Wed Feb 22 15:40:31 2017 (Elapsed Time: 0.62 seconds)

If i run the tool from ArcMap, inside an edit session, I get this message:

Executing: AddRastersToMosaicDataset MKRF_GIS.Orthophoto_Master "Raster Dataset" \\My Server\gis\Connections\Administrator\mkrf_gis@default@mkrforcl2.sde\MKRF_GIS.Orthophoto_2006 UPDATE_CELL_SIZES UPDATE_BOUNDARY NO_OVERVIEWS # 0 1500 "PROJCS['NAD_1983_UTM_Zone_10N',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Transverse_Mercator'],PARAMETER['False_Easting',500000.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-123.0],PARAMETER['Scale_Factor',0.9996],PARAMETER['Latitude_Of_Origin',0.0],UNIT['Meter',1.0]];-5120900 -9998100 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision" # SUBFOLDERS OVERWRITE_DUPLICATES BUILD_PYRAMIDS CALCULATE_STATISTICS BUILD_THUMBNAILS # NO_FORCE_SPATIAL_REFERENCE ESTIMATE_STATISTICS #

Start Time: Wed Feb 22 15:57:30 2017

2017-02-22T15:57:30.904: Loading raster datasets

ERROR 999999: Error executing function.

Cannot create an insert cursor using the mosaic dataset.

The requested operation is invalid on a closed state [MKRF_GIS.AMD_Orthophoto_Master_CAT]

Failed to execute (AddRastersToMosaicDataset).

Failed at Wed Feb 22 15:57:30 2017 (Elapsed Time: 0.57 seconds

Any ideas?

 

Thanks,

 

Ionut

Outcomes