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

Add set discard superseded method to api #1534

Merged
merged 7 commits into from
Jul 19, 2019

Conversation

matherno
Copy link
Contributor

Added proj_operation_factory_context_set_discard_superseded() function to API.
Also made it so that FilterResults::removeUninterestingOps() is not called if not discarding superseded operations.

@kbevers
Copy link
Member

kbevers commented Jun 26, 2019

Please update scripts/reference_exported_symbols.txt:

Difference(s) found in exported symbols. If intended, refresh scripts/reference_exported_symbols.txt with 'scripts/dump_exported_symbols.sh src/.libs/libproj.so > scripts/reference_exported_symbols.txt'

@kbevers kbevers requested a review from rouault June 26, 2019 06:13
@kbevers
Copy link
Member

kbevers commented Jun 26, 2019

Closes #1519

@@ -947,6 +947,7 @@ proj_operation_factory_context_set_desired_accuracy
proj_operation_factory_context_set_grid_availability_use
proj_operation_factory_context_set_spatial_criterion
proj_operation_factory_context_set_use_proj_alternative_grid_names
proj_operation_factory_context_set_discard_superseded
Copy link
Member

Choose a reason for hiding this comment

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

symbols should be sorted. so move this line just after proj_operation_factory_context_set_desired_accuracy

@rouault
Copy link
Member

rouault commented Jun 29, 2019

Could you also please add a test in test/unit/test_c_api.cpp ?

@rouault
Copy link
Member

rouault commented Jul 3, 2019

@matherno ping ^

Two tests, for each state set by proj_operation_factory_context_set_discard_superseded
@kbevers kbevers merged commit 0fc4242 into OSGeo:master Jul 19, 2019
@kbevers kbevers added this to the 6.2.0 milestone Jul 19, 2019
@kbevers
Copy link
Member

kbevers commented Jul 19, 2019

@matherno Thanks for your contribution. Sorry for not getting round to merging this sooner!

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.

4 participants