Skip to main content
Solved

Adding data to an ESRI File Geodatabase (FGDB) raster mosaic


tim_wood
Contributor
Forum|alt.badge.img+8

I have several hundred TIFFs that I want to load in to a File Geodatabase (FGDB) raster mosaic. ArcGIS allows you to load one image, then mosaic additional images into the same raster. I'm trying to do this with FME.

So far, I have tried the following:

1) RasterMosaicker, but that seems to create the mosaic in memory or temp before writing one huge raster to the FGDB.

2) Read several TIFFs (e.g. select 2 TIFFs or specify *.tif in the Reader) and send to the same FGDB raster dataset (i.e. no fanout on the Writer) with Drop Table set to "No" for obvious reasons. This loads the first image then fails on the second with "ERROR |Failed to write raster data tile when writing to raster dataset 'TIFF2'. The error number from ArcObjects is: '-2147467259'".

3) Using the Path Reader to get the TIFF names, then sending these 1 at a time to a second Workspace using the WorkspaceRunner (Wait for Job to Complete = Yes). The second Workspace loads the TIFF into the raster dataset. This works fine when only 1 TIFF is in the source folder, but as soon as I add another to the source folder, the second Workspace crashes with "ERROR |Failed to write raster data tile when writing to raster dataset 'TIFF'. The error number from ArcObjects is: '-2147467259'" when trying to load the additional image, but the the original one loads/reloads fine. Again on the Writer, Drop Table is set to "No".

Best answer by markatsafe

Geodatabase Raster Mosaic Dataset writer was added to FME 2018

View original
Did this help you find an answer to your question?

3 replies

takashi
Influencer
  • August 23, 2017

Hi @tim_wood, According to the doc, the File Geodatabase Raster Dataset Writer seems not to support write a raster into a FGDB raster mosaic, unfortunately.

"Note: Esri Geodatabases can store rasters as raster datasets, raster catalogs, and raster mosaics. FME supports reading raster datasets and raster catalogs. In addition, FME supports reading mosaic datasets either as a single mosaicked raster through a raster dataset reader, or as multiple-source rasters through a raster catalog reader. Writing is supported for raster datasets but not for raster catalogs or mosaic datasets. Finally, raster support is limited to File Geodatabases and Enterprise Geodatabases." -- Esri Geodatabase Reader/Writer Geodatabase > Quick Facts

If the error occurs when you are writing a raster into a raster dataset (not a raster mosaic) that should be supported by the writer, I would recommend you to contact Safe support to investigate the reason.

tim_wood
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • August 23, 2017
takashi wrote:

Hi @tim_wood, According to the doc, the File Geodatabase Raster Dataset Writer seems not to support write a raster into a FGDB raster mosaic, unfortunately.

"Note: Esri Geodatabases can store rasters as raster datasets, raster catalogs, and raster mosaics. FME supports reading raster datasets and raster catalogs. In addition, FME supports reading mosaic datasets either as a single mosaicked raster through a raster dataset reader, or as multiple-source rasters through a raster catalog reader. Writing is supported for raster datasets but not for raster catalogs or mosaic datasets. Finally, raster support is limited to File Geodatabases and Enterprise Geodatabases." -- Esri Geodatabase Reader/Writer Geodatabase > Quick Facts

If the error occurs when you are writing a raster into a raster dataset (not a raster mosaic) that should be supported by the writer, I would recommend you to contact Safe support to investigate the reason.
ESRI are really unhelpful with their terminology! There is a mosaic dataset which is like a raster catalog... http://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/what-is-a-mosaic-dataset.htm

 

What I want to do is mosaic hundreds of source images into a single raster (ESRI raster dataset). In ArcGIS, I can create the dataset from 1 image, then mosaic other images into that data set in batches. I'd like to do the same with FME but am not sure if it's possible.

 

 


Forum|alt.badge.img+2
  • Best Answer
  • March 28, 2018

Geodatabase Raster Mosaic Dataset writer was added to FME 2018


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings