Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tnagorra
Copy link
Contributor

@tnagorra tnagorra commented Mar 2, 2023

We are currently using @turf/boolean-valid for validation of geojson.
We have a false negative for a geojson. (For more information https://mapswipe.slack.com/archives/C0HCW2CJJ/p1677586146742749?thread_ts=1677518532.043429&cid=C0HCW2CJJ)

The library does not specify what is wrong with the geojson which is not very useful.

Changing the geojson validation library from @turf/boolean-valid to @placemarkio/check-geojson so that we get better errors and avoid issue with the false negative.

@tnagorra tnagorra requested a review from frozenhelium March 2, 2023 09:24
@danbjoseph
Copy link
Member

if this is ready to be merged please change from draft. thank you.

@frozenhelium
Copy link
Contributor

@tnagorra Should we merge this?

@danbjoseph
Copy link
Member

would also be useful if you could note the reason for the change in geojson validator - i.e. which issue(s) is this solving?

@tnagorra tnagorra marked this pull request as ready for review April 11, 2023 03:38
@tnagorra
Copy link
Contributor Author

The conversation is on slack at https://mapswipe.slack.com/archives/C0HCW2CJJ/p1677643592304189?thread_ts=1677518532.043429&cid=C0HCW2CJJ

I have also updated the description of the PR

@danbjoseph danbjoseph requested a review from Hagellach37 April 11, 2023 12:27
@tnagorra tnagorra requested a review from laurentS April 13, 2023 04:27
@frozenhelium frozenhelium merged commit 9685a10 into dev Apr 13, 2023
@frozenhelium frozenhelium deleted the feature/geojson-validator-new branch April 13, 2023 05:21
@udaynwa udaynwa mentioned this pull request May 16, 2023
Merged
thenav56 added a commit that referenced this pull request May 18, 2023
Dev

Managers Dashboard
- Use a different GeoJSON validator #662
- Add a namespace for file name in storage #668
- Fix delete projects not working #657
Community Dashboard
- Fix the heatmap not moving when the user pans through world copies #655
- Fix time-series aggregation issue #669
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.

4 participants