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

Apply filters to feature request for categorized renderer #2526

Closed
wants to merge 1 commit into from

Conversation

nyalldawson
Copy link
Collaborator

This makes rendering for the categorized renderer MUCH faster when only certain categories are checked, as only the matching records for the displayed features are fetched from the provider. The current behaviour is that ALL features are fetched, and then only those with a matching value are rendered.

Makes rendering much faster when only certain categories are checked,
as only the matching records for the displayed features are fetched
from the provider.
@nyalldawson
Copy link
Collaborator Author

@m-kuhn I'm pretty confident this is safe to merge (it's been heavily tested), but do you mind having a quick look as I gather you implemented the renderer filter support?

@m-kuhn m-kuhn assigned mwa and m-kuhn and unassigned mwa Dec 3, 2015

if ( !cat.renderState() )
{
allActive = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate with line 546?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@m-kuhn
Copy link
Member

m-kuhn commented Dec 3, 2015

LGTM
Please merge at will

@m-kuhn m-kuhn assigned nyalldawson and unassigned m-kuhn Dec 3, 2015
@nyalldawson
Copy link
Collaborator Author

Merged in 9eee121

@nyalldawson nyalldawson closed this Dec 3, 2015
@nyalldawson nyalldawson deleted the cat branch January 3, 2016 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants