lutraconsulting / qgis-discovery-plugin

Provides search / gazetteer functionality in QGIS using PostGIS-based data
http://www.lutraconsulting.co.uk/products/discovery/
GNU General Public License v2.0
15 stars 16 forks source link

Search tables with no geometry #55

Closed nicolasmcfadden closed 5 years ago

nicolasmcfadden commented 5 years ago

Great work with adding Geopackage recently! However I was wondering if you were planning on making tables with no geometry searchable as well?

wonder-sk commented 5 years ago

How would that work though without geometries? The idea of Discovery plugin is to highlight the searched features on the map...

nicolasmcfadden commented 5 years ago

That's a fair point so I'll explain why I thought of that. I have a construction project with a buildings layer (polygon ofc) and a equipment layer (no geometry) bound by a relation to the buildings so for each building I can have the equipment list. However the "Discovery" plugin is also very handy to quickly type an equipment tag to have basic information appear about it and open it's relevant attribute table. I've actually been using it that way with an equipment "point layer" but that contains no points and it works ok. But I thought it was kind of convoluted to fake a point layer to be able to use the plugin..

saberraz commented 5 years ago

Have you tried Locator toolbar?

nicolasmcfadden commented 5 years ago

I just tried and it tells me "no geometry" and it doesn't open the attribute table.