Replies: 2 comments 5 replies
-
Hi Jeremy, thanks for raising this. Do you have a sample item / items that's potentially causing issues, just to make sure we're on the same page? In particular,
We do pull the item properties up to the top level, but not the properties / extra fields of each asset. So it's fine to have an I'm noticing now that the stac-geoparquet docs don't have a simple example that shows a basic JSON item and the equivalent stac-geoparquet, just this more thorough and complex NAIP example. I'll put up a PR to fix that.
I thought this was discussed somewhere, but I wasn't able to find references to it in the repo. Perhaps it was somewhere else. My hazy recollection is that I was following geopandas'
I wouldn't rule it out entirely if we discovered a meaningful class of items that can't be represented as stac-geoparquet. I'm hopeful this isn't an issue though. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm an engineer at Google working on Earth Engine and BigQuery. We're publishing some tables to BigQuery that contain raster metadata with a STAC-inspired schema. So far we've based the table schema on STAC itself, but we were considering adopting stac-geoparquet in order to be more consistent with external formats aimed at analytical databases. In particular, it'd be nice to be able to import/export easily between BigQuery image tables and stac-geoparquet files.
My main concern is that stac-geoparquet puts the properties at top level, which creates some awkward conflicts; for example, we've already encountered an asset with an "id" property that would be disallowed (at least with its current name) due to a conflict with the main "id" field. And for BigQuery at least, there's no benefit in putting the properties at top level vs. nested within the "properties" field -- they're easily queryable in both schema locations.
Can you tell me a bit more about why you chose to move the properties at top level? Is it necessary for some query engines? Is there any possibility that a future version of stac-geoparquet might move them back inside a "properties" object, or is stac-geoparquet fully committed to keeping them at top level?
Thanks!
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions