Skip to content

Commit 4120648

Browse files
authored
feat: update stac-geparquet version key (#735)
Updated in stac-utils/stac-geoparquet#98
1 parent 2e988e1 commit 4120648

File tree

1 file changed

+2
-2
lines changed
  • crates/core/src/geoarrow

1 file changed

+2
-2
lines changed

crates/core/src/geoarrow/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use serde_json::{Value, json};
1717
use std::{collections::HashMap, sync::Arc};
1818

1919
/// The stac-geoparquet version metadata key.
20-
pub const VERSION_KEY: &str = "stac_geoparquet:version";
20+
pub const VERSION_KEY: &str = "stac:geoparquet_version";
2121

2222
/// The stac-geoparquet version.
2323
pub const VERSION: &str = "1.0.0";
@@ -329,7 +329,7 @@ mod tests {
329329
fn to_table() {
330330
let item: Item = crate::read("examples/simple-item.json").unwrap();
331331
let table = Table::from_item_collection(vec![item]).unwrap();
332-
assert_eq!(table.schema().metadata["stac_geoparquet:version"], "1.0.0");
332+
assert_eq!(table.schema().metadata["stac:geoparquet_version"], "1.0.0");
333333
}
334334

335335
#[test]

0 commit comments

Comments
 (0)