Planet integration: Initial database schema #113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With the completion of #111 we should now have the ability to talk to Planet. We need to go from there to beginning to populate the database with information about the satellite images we have purchased. I'd like you to look at the data that is available from the planet API and propose a database schema in nidus-sync. The schema can just be called
planet. We need to keep track of the metadata about an image like when it was created, time of day, the source sensors, how many bands it has, the geographic area covered (use PostGIS types for this), the external identifiers, and any other data you think may be useful. You can look at the go-planet submodule to get ideas about what information is available. It's probably a good idea to reference the Nidus Reveal design and implementation in doc/nidus-reveal to make sure we have all the data we'll need.#114 is up with the proposed
planetschema.What I found in go-planet
After digging through the go-planet submodule, the Planet API provides these data categories for each image item:
Schema design
Five tables in the
planetschema:planet.itemplanet.sensorplanet.item_assetplanet.orderplanet.order_itemNidus Reveal alignment
The schema captures all the metadata the nidus-reveal design doc calls out (§10.3): solar_azimuth, solar_elevation, view_angle (off-nadir), cloud_cover. The PostGIS geometry and GSD fields enable the high-res / medium-res layer classification.