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

QGIS reads all features to calculate layer extent #18185

Closed
qgib opened this issue Feb 20, 2014 · 4 comments
Closed

QGIS reads all features to calculate layer extent #18185

qgib opened this issue Feb 20, 2014 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 20, 2014

Author Name: Alvaro Huarte (@ahuarte47)
Original Redmine Issue: 9608
Affected QGIS version: master
Redmine category:vectors


Now QGIS always reads all features of a layer to calculate the extent when the layer is opened.
It is very slow for big layers.

See:
#500116bfe337760a21a6c34ac16073eba5fefe40#diff-106be592650b55ccae79c83eecd15cebR1691

Re-enabling this code, the layer fetch the extent from provider:

QgsRectangle mbr = mDataProvider->extent();
setExtent( mbr );

@qgib
Copy link
Contributor Author

qgib commented Feb 20, 2014

Author Name: Giovanni Manghi (@gioman)


Is this a regression?


  • category_id was changed from Browser to Vectors

@qgib
Copy link
Contributor Author

qgib commented Feb 20, 2014

Author Name: Alvaro Huarte (@ahuarte47)


Giovanni Manghi wrote:

Is this a regression?

I think so

@qgib
Copy link
Contributor Author

qgib commented Feb 20, 2014

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from High to Severe/Regression

@qgib
Copy link
Contributor Author

qgib commented Feb 20, 2014

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "a1ada3c54ceb9c4c2bf30b4d7afb2e2c70153fb3".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Version 2.2 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant