Skip to content

How to check if loop is closed using turf booleanValid in TypeScript? #2496

Answered by JamesLMilner
karimfayed asked this question in Q&A
Discussion options

You must be logged in to vote

There is some history to the booleanValid package that may give some context about why it is not listed in the documentation: #1918

I personally would say in it's current state not to rely on booleanValid for comprehensive GeoJSON validation. You could potentially look at packages such as https://github.com/placemark/check-geojson and https://github.com/mapbox/geojsonhint which may offer similar alternatives depending on your requirements.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by twelch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2474 on September 20, 2023 15:49.