Skip to content

Add support for Planet API with monthly visual basemaps#12

Merged
rudokemper merged 1 commit into
mainfrom
planet-api-support
Jan 29, 2024
Merged

Add support for Planet API with monthly visual basemaps#12
rudokemper merged 1 commit into
mainfrom
planet-api-support

Conversation

@rudokemper
Copy link
Copy Markdown
Member

Goal

To add support for generating raster tiles using the Planet API, specifically focused on monthly visual basemaps from the NICFI program.

Screenshots

Screenshot from 2024-01-29 13-27-39
2023-12 Planet monthly visual tiles with a GeoJSON overlay

What I changed

  • Added planet-monthly-visual and monthyear (YYYY-DD) as CLI options. This gives the user the ability to define which monthly basemap they want (since the latest is not always the best, depending on cloud cover and other factors).
  • Add Planet API base URL as an option in downloadOnlineTiles. Additionally, for Planet we now prepare a HTTP Basic Authentication request header with the API key as username, which is what the API expects.

@rudokemper rudokemper merged commit dc9f3a1 into main Jan 29, 2024
@rudokemper rudokemper deleted the planet-api-support branch January 29, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant