Skip to content

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

Merged
paulmach merged 1 commit intomasterfrom
nil-mvt
Jan 11, 2024
Merged

encoding/mvt: skip encoding of features will nil geometry#141
paulmach merged 1 commit intomasterfrom
nil-mvt

Conversation

@paulmach
Copy link
Copy Markdown
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
@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