Skip to main content

I am working on a computer vision personal project and need satellite imagery for my training/validation data. Currently I am working with some mildly-deprecated source code to fetch from Bing’s map tile service. I have some code that I wrote to extract all the tiles which cover a specified region given a lat/lon bounding box and range of zoom levels. With Bing, I just need to construct a quad-key for each desired XYZ and then throw a GET request to a URL using that quad-key and boom I’ve got the tile. 

As I said this Bing tool is being deprecated and I am trying to decide between using Azure Maps or Planet. Ideally I would like to integrate this tooling alongside my existing process so I can run my model on datasets from various sources.

I could very much be wrong here but I believe with Planet I could achieve an extremely similar workflow to what I currently have by leveraging the Global BasemapThe issue that I am running into is that I appear to not have any mosaics added to my account yet:

% curl -u "PLA<redacted>:" "https://api.planet.com/basemaps/v1/mosaics" | jq .
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 100 124 0 0 1080 0 --:--:-- --:--:-- --:--:-- 1087
{
"_links": {
"_self": "https://api.planet.com/basemaps/v1/mosaics?api_key=PLA<redacted>"
},
"mosaics": []
}

As you can see the “mosaics” list is empty (I have a valid API key just removed it in the example obviously).

Would love some guidance if anyone can point me in the right direction. I have read thru a lot of the documentation and played around in the Planet Explorer, but I am still confused on how I can add the Global Basemap mosaic to my account so that I can query from it. 

Notably I would like to get as high of zoom as possible. It looks like SkySat has the highest with 18, does this specification matter for how I add this to my account?

Could also take a different route and try to hit

“https://tiles{0-3}.planet.com/data/v1/{item_type}/{item_id}/{z}/{x}/{y}.png?api_key={pl-api-key}”

directly but seems to be a little convoluted for how exactly to determine `item_id`. Again please let me know if I am wrong and this is the better approach.


Hi ​@brady5klein 

The reason you are not seeing any mosaics is because you do not have access to any yet, in order to purchase mosaics please Contact Sales.


Hi​@elyhienrich 

Would you recommend taking the mosaic approach or setting up functionality to query for the desired item_type/item_id to fit the standard tile service request structure (per link)?