planetlabs / gpq

Utility for working with GeoParquet

Home Page:https://planetlabs.github.io/gpq/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpq: not able to view the geoparquet output in QGIS 3.28

aborruso opened this issue · comments

Hi,
I'm using 3.28.14-Firenze for Win.
If I drag 6 drop a gpq geoparquet output file, the file is not rendered in QGIS and I only have a white background.
And also the table view contains no record.

The source file is contained in this zip file, that contains some shapefiles:
https://www.istat.it/storage/cartografia/confini_amministrativi/non_generalizzati/2023/Limiti01012023.zip

I create the gepparquet in the way I have detailed below.

Am I doing something wrong?

Thank you

wget -O file.zip "https://www.istat.it/storage/cartografia/confini_amministrativi/non_generalizzati/2023/Limiti01012023.zip"

unzip -o file.zip -d .

ogr2ogr -f GeoJSON -t_srs EPSG:4326 comuni.geojson Limiti01012023/Com01012023/Com01012023_WGS84.shp -lco "RFC7946=YES"

gpq convert --compression="gzip" --max 1000 --from="geojson" comuni.geojson comuni_compressed.parquet

Starting from the same input, and using gdal and parquet output, I have no problem and QGIS render it properly