Skip to content
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

👽 Handle ms-buildings 20230425 update in Object Detection tutorial #106

Merged
merged 2 commits into from
May 31, 2023

Conversation

weiji14
Copy link
Owner

@weiji14 weiji14 commented May 31, 2023

The Microsoft Building footprint dataset was updated on 25 April 2023 to a Delta Lake storage format, which changed the schema and added an extra layer on top of the geoparquet files designed for faster bounding box based queries. The old method of filtering just by a msbuildings:region attribute from #49 now fails however, so need to add a bounding box region argument to the intersect parameter when performing the STAC API search.

Preview at https://zen3geo--106.org.readthedocs.build/en/106/object-detection-boxes.html#load-cloud-native-vector-files

Broken Fixed
image image

Note that documentation was ok at zen3geo v0.6.0 released on 20230418 (see https://zen3geo.readthedocs.io/en/v0.6.0/object-detection-boxes.html#load-cloud-native-vector-files) as it was a week prior to the ms-building 20230425 update 😌. This patch will make it to zen3geo v0.6.1.

References:

Using `pystac_client.Client.open(..., modifier=planetary_computer.sign_inplace` to handle the STAC Asset signing directly when accessing the Planetary Computer STAC API. Added some notes to the PySTAC-Client documentation as an extra reference.
The Microsoft Building footprint dataset was updated on 25 April 2023 to a Delta Lake storage format, which changed the schema and added an extra layer on top of the geoparquet files designed for faster bounding box based queries, see https://web.archive.org/web/20230315044820/https://planetarycomputer.microsoft.com/dataset/ms-buildings#Example-Notebook. The old method of filtering just by a `msbuildings:region` attribute now fails however, so need to add a bounding box region argument to the intersect parameter when performing the STAC API search.
@weiji14 weiji14 added the documentation Improvements or additions to documentation label May 31, 2023
@weiji14 weiji14 added this to the 0.6.x milestone May 31, 2023
@weiji14 weiji14 self-assigned this May 31, 2023
@weiji14 weiji14 mentioned this pull request May 31, 2023
13 tasks
@weiji14 weiji14 marked this pull request as ready for review May 31, 2023 04:19
@weiji14 weiji14 merged commit a1b1ff2 into main May 31, 2023
@weiji14 weiji14 deleted the fix/ms-buildings-20230425 branch May 31, 2023 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant