List Mosaic Quads

Comments

1 comment

  • Official comment
    Emir Hartato

    Hi Hannah, sorry for not getting back to you sooner!

    The mosaic_id is an unique identifier for every generated mosaic (e.g. 858fee97-b5c9-4e01-9fe6-59d48ba178a5 which refer to global_quarterly_2018q1_mosaic).

    To look up the mosaic_id in your case for global_quarterly_2016q4_mosaic , you can put the address below in your browser:

    https://api.planet.com/basemaps/v1/mosaics?&name__is=global_quarterly_2016q4_mosaic

    and it will return the mosaic metadata (including the quads url) like this:

    {
    "_links": {
    "_self": "https://api.planet.com/basemaps/v1/mosaics"
    },
    "mosaics": [
    {
    "_links": {
    "_self": "https://api.planet.com/basemaps/v1/mosaics/55696e0b-5c9b-4b76-9307-7faca1f08b64",
    "quads": "https://api.planet.com/basemaps/v1/mosaics/55696e0b-5c9b-4b76-9307-7faca1f08b64/quads?bbox={lx},{ly},{ux},{uy}",
    "tiles": "https://tiles.planet.com/basemaps/v1/planet-tiles/global_quarterly_2016q4_mosaic/gmap/{z}/{x}/{y}.png"
    },
    "bbox": [
    -180,
    -56,
    180,
    76
    ],
    "coordinate_system": "EPSG:3857",
    "datatype": "byte",
    "first_acquired": "2016-10-01T00:00:00.000Z",
    "grid": {
    "quad_size": 2048,
    "resolution": 4.777314267823516
    },
    "id": "55696e0b-5c9b-4b76-9307-7faca1f08b64",
    "interval": "3 mons",
    "item_types": [
    "PSScene3Band",
    "REOrthoTile"
    ],
    "last_acquired": "2017-01-01T00:00:00.000Z",
    "level": 15,
    "name": "global_quarterly_2016q4_mosaic",
    "product_type": "timelapse"
    }
    ]
    }

    Then you can use the quads url to get the list of mosaic quads on your script.

    I hope this helps.

     

    Best regards,

    Emir

    Comment actions Permalink

Please sign in to leave a comment.