Skip to main content
Question

I need to convert a collection of GEOTIFFs to a format that can be uploaded to Cesium Ion with the spatial reference system intact.

  • July 26, 2022
  • 3 replies
  • 60 views

I've been trying to convert them to PNGs and TFWs but with everything I've tried so far, Cesium tells me "Missing or invalid spatial reference system".

3 replies

eric_armitage
Contributor
Forum|alt.badge.img+10

What formats does Cesium accept?


What formats does Cesium accept?

Here's the list (under "Imagery"): https://cesium.com/learn/3d-tiling/tiler-data-formats/#supported-data-formats

Even though it accepts GeoTIFFs, I have over 600 of them and all together, they're too large for it to accept.


caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • July 27, 2022

Try creating a .prj file with WKT representation of coordinate reference system.

All the files should have the same text and the filename of the .png that references it.

You could obtain the WKT by writing a BBOX of one image to .shp and using the text (of the .prj writen) in a Text File writer via the text_line_data attibute.