enricofer / refFunctions

6 stars 10 forks source link

Eliminate limit of 100000 #25

Open cesarcorreo opened 5 years ago

cesarcorreo commented 5 years ago

First, thanks for the plugin. I'm using it in a layer with around 300.000 poinst but I'm having the limit problem. I'm "only a user" and I don't know how to eliminate the 100.000 limit.

enricofer commented 5 years ago

I’m helping Matthias Kuhn in porting refFunctions to core: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/145. These new features will go beyond that limit and will likely land in next QGIS 3.10 so the plugin is to be cosidered discontinued. Anyway you could bypass the limit editing the file reffunctions.py located in the reffunctions plugin directory replacing in the lines the occurences of if count < 100000: with a bigger value that fit your needs, for example if count < 400000: Once modified the file you have to unload and reload the plugin to allow the edits to take effects. https://github.com/enricofer/refFunctions/blob/0f9e73f3798f16c020cea0e20db3447d77254161/reffunctions.py#L849 https://github.com/enricofer/refFunctions/blob/0f9e73f3798f16c020cea0e20db3447d77254161/reffunctions.py#L1025 etc ....

cesarcorreo commented 5 years ago

Really thanks for your fast answer. I have just done and was perfect