[QGIS-Developer] Processing: No spatial index exists for input layer, performance will be severely degraded

Ujaval Gandhi ujaval at spatialthoughts.com
Thu Nov 26 07:24:29 PST 2020


+1 to have an option to generate spatial index automatically for
intermediate layers. As I understand, creating index for database layers
automatically may not be preferable, but it's reasonable to want this for
intermediate memory layers. Since processing can already identify which
operations might benefit from the index, it would be much better user
experience to take care of it internally.
[image: Logo] <https://spatialthoughts.com/>
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: ujaval at spatialthoughts.com
[image: LinkedIn icon] <https://www.linkedin.com/in/spatialthoughts/>  [image:
Twitter icon] <https://twitter.com/spatialthoughts>



On Thu, Nov 26, 2020 at 8:26 PM Luigi Pirelli <luipir at gmail.com> wrote:

> I've this message constantly... but usually when an intermediate layer is
> used in some geoprocess. So, you can just add a "create spatial index" step
> before the next geoprocess. Doing it automatically can be time spending. Do
> you really need it everytime?
>
> Luigi Pirelli
>
>
> **************************************************************************************************
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Book: Mastering QGIS3 - 3rd Edition
> <https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition>
> * Hire a team: http://www.qcooperative.net
>
> **************************************************************************************************
>
>
> On Mon, 23 Nov 2020 at 15:23, Andreas Neumann <andreas at qgis.org> wrote:
>
>> Hi,
>>
>> When running QGIS processing models, I frequently get the red warning
>> messages:
>>
>> No spatial index exists for input layer, performance will be severely
>> degraded
>>
>>
>> These are temporary (intermediate) geopackage files that QGIS generates
>> during the running of the model. Is there an option that QGIS could
>> automatically generate these spatial indexes for intermediate files?
>>
>>
>> Thanks,
>>
>> Andreas
>>
>> --
>> Andreas Neumann
>> QGIS.ORG board member (treasurer)
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201126/91ba3912/attachment.html>


More information about the QGIS-Developer mailing list