adrianaksan / qgis-mongodb-plugin

Loads layers with geometry from MongoDB in to QGIS
9 stars 8 forks source link

Allow to set a query #10

Closed corinis closed 7 years ago

corinis commented 8 years ago

Currently the plugin simply gets ALL data in a collection.

When working with bigger datasets it might be good to add a text-area where you can set a query which is then added when getting the data (mabye also do a count in the dialog to see how many results would come back using the given query).

Sample:

{ 
   "properties.type": "street"
}

and this would then create a layer with the given query.

adrianaksan commented 8 years ago

Thanks for the suggestion. I haven't looked at this project for a while. Maybe it's time for some updates :)

corinis commented 8 years ago

cool. I just thought it would be even better - in addition to do custom queries - to have a default query that simply allows a geoquery i.e. you specify a point and a radius and this will will generate a "near" query in mongodb - that way you can take a closer look at a specific are instead of loading all data.

Its just a usability thing, but when working with geodata you quickly reach a LOT of entries, so allowing a limit would allow much faster use for quick data analysis