1

I am trying to tile the Mars themis raster that has the following crs:

PROJCS["SimpleCylindrical Mars",
    GEOGCS["GCS_Mars",
        DATUM["D_Mars",
            SPHEROID["Mars",3396190,0]],
        PRIMEM["Reference_Meridian",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Equirectangular"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",180],
    PARAMETER["standard_parallel_1",0],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]]]

The --profile option in gdal2tiles can be geodetic, mercator or raster. Given the projection of the input raster above, I tile the raster as follows:

gdal2tiles.py --zoom=0-7 --profile raster input.tif output/

However, Cesium.js is unable to consume these tiles because it only supports a tiling scheme of either geodetic or mercator.

Is there a workaround? I was wondering if someone could kindly point me in the right direction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.