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

Creating Label layer fails (keyError: line 531) when creating after join on base layer #30

Open
jatkins23 opened this issue Apr 25, 2019 · 0 comments

Comments

@jatkins23
Copy link

In looping through the sourceFeature and labelFeature attributes (lines 529 - 531), the program fails with an uncaught KeyError when operating on a table with joined in data. I believe it searches for columns in the join that are not present in the newly created label layer but I am not sure.

Work-around!
I have found a solution by creating the label layer before joining and then joining the same csv to both layers (since my symbology and labels are dependent on the joined data), however, it would be ideal to not have to join this twice or at least to have the error caught or since it was pretty difficult to diagnose.

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