-
Notifications
You must be signed in to change notification settings - Fork 15
stac-geoparquet metadata updates #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
TomAugspurger
merged 17 commits into
stac-utils:main
from
TomAugspurger:94-metadata-versioned
May 14, 2025
Merged
Changes from 16 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0d96049
stac-geoparquet metadata updates
TomAugspurger db05f50
lint
TomAugspurger a6a2f43
lint
TomAugspurger b0343ef
fix
TomAugspurger a0519d4
Split the changes
TomAugspurger f0b10ef
split part 2
TomAugspurger 5ff072d
Update spec/stac-geoparquet-spec.md
TomAugspurger 24ea7ab
Add ruff to pre-commit
TomAugspurger 18de998
Added ruff to pre-commit
TomAugspurger 0fcb09b
lint
TomAugspurger 8291a89
updated dependencies
TomAugspurger 2c5968c
fixed description
TomAugspurger 7ff149b
Fixes
TomAugspurger 5d13ebb
fixes
TomAugspurger 5b1139e
Remove 'stac:' prefix
TomAugspurger 93c5d34
no collection validation
TomAugspurger a62fe8b
Update spec/stac-geoparquet-spec.md
gadomski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,5 @@ | |
|
|
||
| set -e | ||
|
|
||
| uv run ruff check | ||
| uv run ruff format --check | ||
| uv run pre-commit run --all-files | ||
| uv run mypy stac_geoparquet | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| { | ||
| "version": "1.0.0", | ||
| "collection": { | ||
| "id": "simple-collection", | ||
| "type": "Collection", | ||
| "stac_extensions": [], | ||
| "stac_version": "1.1.0", | ||
| "description": "A simple collection demonstrating core catalog fields with links to a couple of items", | ||
| "title": "Simple Example Collection", | ||
| "keywords": [ | ||
| "simple", | ||
| "example", | ||
| "collection" | ||
| ], | ||
| "providers": [], | ||
| "extent": { | ||
| "spatial": { | ||
| "bbox": [ | ||
| [ | ||
| 172.91173669923782, | ||
| 1.3438851951615003, | ||
| 172.95469614953714, | ||
| 1.3690476620161975 | ||
| ] | ||
| ] | ||
| }, | ||
| "temporal": { | ||
| "interval": [ | ||
| [ | ||
| "2020-12-11T22:38:32.125Z", | ||
| "2020-12-14T18:02:31.437Z" | ||
| ] | ||
| ] | ||
| } | ||
| }, | ||
| "license": "CC-BY-4.0", | ||
| "summaries": {}, | ||
| "links": [] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "$schema": "http://json-schema.org/draft-07/schema#", | ||
| "$id": "https://stac-utils.github.io/stac-geoparquet/json-schema/metadata.json", | ||
| "title": "STAC GeoParquet Metadata", | ||
| "description": "JSON Schema for STAC GeoParquet metadata stored in Parquet file metadata", | ||
| "type": "object", | ||
| "properties": { | ||
| "version": { | ||
| "type": "string", | ||
| "const": "1.0.0", | ||
| "description": "The stac-geoparquet metadata version." | ||
| }, | ||
| "collection": { | ||
| "type": "object", | ||
| "description": "This object represents a Collection in a SpatioTemporal Asset Catalog. Note that this object is not validated against the STAC Collection schema. You'll need to validate it separately from stac-geoparquet." | ||
| } | ||
| }, | ||
| "required": ["version"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {"id":"3dep-lidar-copc","type":"Collection","links":[{"rel":"items","type":"application/geo+json","href":"https://planetarycomputer.microsoft.com/api/stac/v1/collections/3dep-lidar-copc/items"},{"rel":"parent","type":"application/json","href":"https://planetarycomputer.microsoft.com/api/stac/v1/"},{"rel":"root","type":"application/json","href":"https://planetarycomputer.microsoft.com/api/stac/v1/"},{"rel":"self","type":"application/json","href":"https://planetarycomputer.microsoft.com/api/stac/v1/collections/3dep-lidar-copc"},{"rel":"license","href":"https://www.usgs.gov/3d-elevation-program/about-3dep-products-services","title":"About 3DEP Products & Services"},{"rel":"describedby","href":"https://planetarycomputer.microsoft.com/dataset/3dep-lidar-copc","title":"Human readable dataset overview and reference","type":"text/html"}],"title":"USGS 3DEP Lidar Point Cloud","assets":{"thumbnail":{"href":"https://ai4edatasetspublicassets.blob.core.windows.net/assets/pc_thumbnails/3dep-lidar-copc-thumbnail.png","type":"image/png","roles":["thumbnail"],"title":"Thumbnail"}},"extent":{"spatial":{"bbox":[[-166.8546920006028,17.655357747708283,-64.56116757979399,71.39330810146807],[144.60180842809473,13.21774453924126,146.08202179248926,18.18369664008955]]},"temporal":{"interval":[["2012-01-01T00:00:00Z","2022-01-01T00:00:00Z"]]}},"license":"proprietary","keywords":["USGS","3DEP","COG","Point cloud"],"providers":[{"name":"Landrush","roles":["processor","producer"]},{"url":"https://www.usgs.gov/core-science-systems/ngp/3dep/","name":"USGS","roles":["processor","producer","licensor"]},{"url":"https://planetarycomputer.microsoft.com","name":"Microsoft","roles":["host","processor"]}],"summaries":{"gsd":[2.0]},"description":"This collection contains source data from the [USGS 3DEP program](https://www.usgs.gov/3d-elevation-program) reformatted into the [COPC](https://copc.io) format. A COPC file is a LAZ 1.4 file that stores point data organized in a clustered octree. It contains a VLR that describes the octree organization of data that are stored in LAZ 1.4 chunks. The end product is a one-to-one mapping of LAZ to UTM-reprojected COPC files.\n\nLAZ data is geospatial [LiDAR point cloud](https://en.wikipedia.org/wiki/Point_cloud) (LPC) content stored in the compressed [LASzip](https://laszip.org?) format. Data were reorganized and stored in LAZ-compatible [COPC](https://copc.io) organization for use in Planetary Computer, which supports incremental spatial access and cloud streaming.\n\nLPC can be summarized for construction of digital terrain models (DTM), filtered for extraction of features like vegetation and buildings, and visualized to provide a point cloud map of the physical spaces the laser scanner interacted with. LPC content from 3DEP is used to compute and extract a variety of landscape characterization products, and some of them are provided by Planetary Computer, including Height Above Ground, Relative Intensity Image, and DTM and Digital Surface Models.\n\nThe LAZ tiles represent a one-to-one mapping of original tiled content as provided by the [USGS 3DEP program](https://www.usgs.gov/3d-elevation-program), with the exception that the data were reprojected and normalized into appropriate UTM zones for their location without adjustment to the vertical datum. In some cases, vertical datum description may not match actual data values, especially for pre-2010 USGS 3DEP point cloud data.\n\nIn addition to these COPC files, various higher-level derived products are available as Cloud Optimized GeoTIFFs in [other collections](https://planetarycomputer.microsoft.com/dataset/group/3dep-lidar).","item_assets":{"data":{"type":"application/vnd.laszip+copc","roles":["data"],"title":"COPC data","pc:type":"lidar","pc:encoding":"application/vnd.laszip+copc"},"thumbnail":{"type":"image/png","roles":["thumbnail"],"title":"3DEP Lidar COPC"}},"stac_version":"1.1.0","msft:group_id":"3dep-lidar","msft:container":"usgs-3dep-copc","stac_extensions":["https://stac-extensions.github.io/item-assets/v1.0.0/schema.json","https://stac-extensions.github.io/pointcloud/v1.0.0/schema.json"],"msft:storage_account":"usgslidareuwest","msft:short_description":"Nationwide Lidar point cloud data in COPC format.","msft:region":"westeurope"} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.