Repository navigation
Conversation
Download dropped the closing point and rotated the rings of the feature itself, so a second download of the same water body used a different origin and gave a different file, and the popup point count dropped. Work on a copy of each ring.
String replace only changed the first / and the first \, so names with more than one still reached the file name.
turf.intersect throws on a LineString (an unclosed water way), which stopped the crop at that feature and left the later ones off the map. These features are never displayed, so skip them.
The map was cleared at the start of a search but the features were not, so after a failed search Crop brought the previous results back.
JS remainder keeps the sign of the dividend, so angles below -180 were not wrapped (-270 stayed -270). This is reached by longitude differences across the antimeridian.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/and\in the name were replaced.wrap_180didn't wrap below -180 (-270 stayed -270).