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

Save centroids of input Layer to an output Layer #175

Open
ruicruz93 opened this issue Jun 1, 2021 · 0 comments
Open

Save centroids of input Layer to an output Layer #175

ruicruz93 opened this issue Jun 1, 2021 · 0 comments

Comments

@ruicruz93
Copy link

So I found a little typo that took me quite a while to fix regarding this recipe for getting centroids for features in an input layer, as seen in this chapter of the documentation.
By inserting the inFeature = None line, the connection with the current inFeature is effectively terminated thus resulting in the annulment of all attribute values insrted in the outLayer for that feature.
I thus removed that line and it solved the problem.
It was a good opportunity to solidify the contents learnt up until that point nonetheless.

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