Hi there #mapstodon, may I request some of your #GIS knowledge once more?
I'm trying to figure out whether there is a way to filter a #parquet file via @geopandas read_parquet
by coarse location.
As far as I can tell, creating a geohash column beforehand and filtering by geohash seems to be the only way to do something like that; did I miss something?
[#]python #geopandas
=> More informations about this toot | More toots from tfardet@scicomm.xyz
@tfardet @geopandas That is correct, as of 0.14.4 and GeoParquet spec 1.0. With the next release of geopandas, you will be able to do a spatial filter based on the bbox information, given it is provided in the GeoParquet file based on its specification v1.1.
=> More informations about this toot | More toots from martinfleis@fosstodon.org
@martinfleis OK, thanks!
If I understand correctly, that means that, from the next version on, @geopandas will automatically use v1.1 when calling to_parquet
and I'll be able to use a new filter syntax (explained in read_parquet
's docstring, I imagine), but I'll have to regenerate all my previous parquet file.
Does that sound about right?
=> More informations about this toot | More toots from tfardet@scicomm.xyz
@tfardet Yes, precisely.
=> More informations about this toot | More toots from martinfleis@fosstodon.org This content has been proxied by September (ba2dc).Proxy Information
text/gemini