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

Update any edit_features()/query() call to ONLY retrieve/send edits for needed attributes #68

Open
cosbyr opened this issue Mar 21, 2019 · 0 comments

Comments

@cosbyr
Copy link
Contributor

cosbyr commented Mar 21, 2019

Current calls are retrieving/sending ALL of the attributes and increasing the amount of data sent back and forth to service.

Use this pattern

features = fl.query(where_clause, out_fields = [list of needed fields for attribute changes])
for feature in features:
     feature.set_value("necessary field", "updated value")
fl.edit_features(updates=features)
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

No branches or pull requests

1 participant