Replies: 2 comments 6 replies
-
Sure, it's a bit confusing. I'll download DuckDB and give it at shot, but in the meantime, you need
Putting that together:
Just to be clear, everyone has access through that SAS API. Anyone can generate those short-lived SAS tokens (providing your Planetary Computer credentials to SAS API will give you longer access).
I'm happy to work with others to figure out what this should look like. We've made some choices in the STAC metadata that make things work especially smoothly for the Python / fsspec side of things. Happy to add additional metadata for others. |
Beta Was this translation helpful? Give feedback.
-
Ah, great. Good to know - I'm never quite sure if I'm just doing it totally wrong or if my account doesn't have the right access. Good to know it'll always be the former ;)
Cool. I've got a blog post mostly drafted that goes deep into my findings to make things work better. Since your work was the jumping off point most all is completely compatible, with some tweaks on the client side. You've got hive partitions on the quadkey which I don't, which could be interesting. I did country_iso instead of RegionName, but I think both should work. Right now the user has to supply the country_iso, so they'd need to supply the regionname, to get fast queries. But I'm hoping to try out automatically calculating country_iso by quadkey, see opengeos/open-buildings#29 and if that works then it seems like it'd be easy to add a regionname column too. Your level 9 quadkeys seem more reasonable for that, I did 12 as I was mostly thinking about using it within a parquet file when I made it. |
Beta Was this translation helpful? Give feedback.
-
Hey there, I'm trying to figure out how to access data on PC, specifically the building footprints GeoParquet. I'd like to add it to this little command-line tool I'm working on, see opengeos/open-buildings#27
DuckDB does most of my heavy lifting, and they just came out with azure support, see https://duckdb.org/docs/extensions/azure I've spent ~10 minutes trying to figure out how to get my 'connection string', but don't feel any closer. I've never quite gotten the hang of azure and credentials - not sure how to even do the basics, and not sure if I need something more for planetary computer, but I think I have access?
So help is much appreciated. And ideally I'd have an easy route for users of the CLI to query microsoft buildings, perhaps they could add a connection string as an argument, or maybe there's a route that doesn't need the connection string.
thanks!
Beta Was this translation helpful? Give feedback.
All reactions