Skip to main content
Question

Convert DTED to MBTiles Possible?

  • October 8, 2020
  • 4 replies
  • 75 views

Forum|alt.badge.img

I like to use FME Desktop to convert multiple DTED Files into one single MBTile file. Does anyone has a simple example on how to go about it?

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.

4 replies

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • October 8, 2020

Would it not be possible to have a DTED reader connected straight to a MBTile writer?

This assumes that all the DTED files are the same LOD.

The MBTile writer will resample and retile and convert the format all automatically, based on the parameters.

 


Forum|alt.badge.img

thanks for the reply.

 

I tried loading multiple DTED 0 files to the DTED reader and connected it directly to a MBTile writer.

 

However, i keep getting the following error during the run:

MBTILES writer: Unsupported band interpretation 'INT16'. Please convert the interpretation to one of the following valid types: ALPHA8, BLUE8, GREEN8, RED8. This can be done with the RasterInterpretationCoercer and RasterBandInterpretationCoercer transformers

 

Thus i also tried the setup below, but also getting the same result as above:FME_DTED_MBTILES

any idea why?

 

Thanks in advance.


Forum|alt.badge.img

Managed to generate the MBTiles from DTED by setting both RasterInterpretationCoercer and RasterBandInterpretationCoercer to interpret Alpha16.

 

However i am still having an issue where by the each DTED file was converted to one MBTiles file.

I was hoping that the writer could just produce one single large MBTile file from all the DTED files input.

 

Do i need to add some Merger or Joiner transformer>?


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • October 13, 2020

Managed to generate the MBTiles from DTED by setting both RasterInterpretationCoercer and RasterBandInterpretationCoercer to interpret Alpha16.

 

However i am still having an issue where by the each DTED file was converted to one MBTiles file.

I was hoping that the writer could just produce one single large MBTile file from all the DTED files input.

 

Do i need to add some Merger or Joiner transformer>?

One of the two interpretationCoercers should be sufficient.

 

What are the settings on your MBTiles writer?

 

Alternatively, you can use a RasterMosaicker to combine the DTED files into a single feature prior to writing.