Add Planet initial database schema #114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/planet-schema"
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?
Closes #113
Implements the
planetdatabase schema for tracking purchased Planet Labs satellite imagery.Tables
planet.itemplanet.sensorplanet.item_assetplanet.orderplanet.order_itemKey design decisions
geometry(Polygon,4326)) for spatial queries — matches the existingmunicipal.parcelpatterncapture_date,capture_hour) for common temporal access patterns without application overheadavailable_assetsandpermissions— PostgreSQL native array operations are more efficient than JSONB for simple string listssun_azimuth,sun_elevation,view_angle,satellite_azimuth) captured per the nidus-reveal design doc requirements for lighting normalization between satellite passesdelivery,hosting,error_hintson orders — these are configuration blobs that don't need to be individually queryableNidus Reveal alignment
All metadata fields specified in the nidus-reveal design doc are present on
planet.item: solar_azimuth, solar_elevation, off_nadir_angle (view_angle), and cloud_cover. The geometry and GSD fields support the high-res (~0.3m) and medium-res (~3m) layer classification.Code generation
db/bobgen.yamlupdated to include theplanetschema. After migration, rundb/jetgen.shto produce Go types indb/gen/nidus-sync/planet/.