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

Hide PostGIS raster overviews from browser panel #53829

Open
effjot opened this issue Jul 14, 2023 · 2 comments · May be fixed by #59884
Open

Hide PostGIS raster overviews from browser panel #53829

effjot opened this issue Jul 14, 2023 · 2 comments · May be fixed by #59884

Comments

@effjot
Copy link

effjot commented Jul 14, 2023

Feature description

Raster overviews in PostgreSQL/PostGIS databases are regular raster tables named o_…. If you have more than a few rasters in a database schema, the browser panel view is quite cluttered. As you rarely access the raster overviews directly as an user (I don’t know if there’s even a real use case for that), it would be nice to hide those from the browser panel.

Maybe the “hide path” feature could be extended to non-file datasources, including wildcards.
Even better would be to exclude any table listed in the view raster_overviews, so overviews are hidden even if they don’t use the standard name.

Thanks for considering this idea!

Additional context

No response

@effjot
Copy link
Author

effjot commented Jul 17, 2023

Probably the query in QgsPostgresConn::getTableInfo() (file qgspostgresconn.cpp) could be adapted to do this. But my C/C++ skills are very rusty.

@kewgis
Copy link

kewgis commented Sep 24, 2024

Could this perhaps be an option in the Browser Panel Filter?

@JanCaha JanCaha linked a pull request Dec 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants