Skip to main content
Question

How would you mosaic many disjointed jpg tiles?

  • April 24, 2018
  • 5 replies
  • 36 views

Forum|alt.badge.img

How would you mosaic many disjointed jpg tiles along several different routes within a city area and write resultant to a File Geodatabase? Does FME create the FGDB on the fly?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3703 replies
  • April 25, 2018

If you're going to mosaic a collection of disjointed rasters (using the RasterMosaicker) the areas in between will be filled with nodata. This may or may not be what you want (if the tiles you have are far apart your resulting raster will be very large and mostly nodata).

FME can create a FGDB on the fly, checkout the fanout settings on the Writer in the Navigator.


Forum|alt.badge.img
  • Author
  • 4 replies
  • April 25, 2018

If you're going to mosaic a collection of disjointed rasters (using the RasterMosaicker) the areas in between will be filled with nodata. This may or may not be what you want (if the tiles you have are far apart your resulting raster will be very large and mostly nodata).

FME can create a FGDB on the fly, checkout the fanout settings on the Writer in the Navigator.

I keep getting this error msg when trying to write the image:

 

"JPEG writer: Failed to write the output file using JPEG compression. The raster is being written with a tile size of '99721' rows by '74796' columns, whereas the maximum number of rows or columns that JPEG compression can handle is 65500. Please reduce the tile size if writing a tiled file, or reduce the size of the raster

 

A fatal error has occurred. Check the logfile above for details"

 

 

 


redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3703 replies
  • April 25, 2018

You’ll need to use a Tiler to cut the data into more manageable chunks (set it to be a little bit less than the values mentioned in that error message)


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • 2252 replies
  • April 25, 2018

@charlesbanks

you could raster resample it before you write it.


david_r
Celebrity
  • 8394 replies
  • April 25, 2018
I keep getting this error msg when trying to write the image:

 

"JPEG writer: Failed to write the output file using JPEG compression. The raster is being written with a tile size of '99721' rows by '74796' columns, whereas the maximum number of rows or columns that JPEG compression can handle is 65500. Please reduce the tile size if writing a tiled file, or reduce the size of the raster

 

A fatal error has occurred. Check the logfile above for details"

 

 

 

Yeah, that's a 7500 megapixel raster, it's humongous!

 

I suspect you want something smaller and more manageable for the users. Perhaps have a look at the Tiler as a last step before sending it to the writer.