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

encoding/mvt: skip encoding of features will nil geometry #141

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Conversation

paulmach
Copy link
Owner

@paulmach paulmach commented Jan 9, 2024

Addresses an issue in #135

  • will not encode features with nil geometry, used to panic
  • layer.Clip() will remove the feature from the layer.Features array if it clips to nothing.

cc @polastre

@paulmach paulmach merged commit 3198547 into master Jan 11, 2024
2 checks passed
@paulmach paulmach deleted the nil-mvt branch January 11, 2024 19:50
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.

1 participant