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

Fix: APIDAE Trek parser now raises an error on not continuous segments #3428

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

marcantoinedupre
Copy link
Contributor

If the merge action from django/gis's GEOS object fails to produce a single LineString feature a RowImportError exception is raised and the Trek from APIDAE is not imported.

This is necessary because the altimetry profile cannot be computed for geometries which are not a continuous LineString.

@cypress
Copy link

cypress bot commented Jan 25, 2023

Passing run #5666 ↗︎

0 24 0 0 Flakiness 0

Details:

Merge e028300 into 00525e7...
Project: Geotrek-admin Commit: 0f18f70e9b ℹ️
Status: Passed Duration: 03:42 💡
Started: Jan 31, 2023 3:26 PM Ended: Jan 31, 2023 3:30 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Base: 98.26% // Head: 98.26% // No change to project coverage 👍

Coverage data is based on head (00525e7) compared to base (00525e7).
Patch has no changes to coverable lines.

❗ Current head 00525e7 differs from pull request most recent head e028300. Consider uploading reports for the commit e028300 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3428   +/-   ##
=======================================
  Coverage   98.26%   98.26%           
=======================================
  Files         291      291           
  Lines       20889    20889           
=======================================
  Hits        20526    20526           
  Misses        363      363           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@marcantoinedupre marcantoinedupre marked this pull request as ready for review January 25, 2023 13:25
@marcantoinedupre marcantoinedupre requested a review from a team January 25, 2023 13:26
@marcantoinedupre marcantoinedupre force-pushed the fix-apidae-trek-parser-geometry-import branch 3 times, most recently from cbe1972 to 6918e52 Compare January 31, 2023 13:59
If the `merge` action from django/gis's GEOS object fails to produce a single LineString feature an RowImportError exception is raised and the Trek from APIDAE is not imported.

This is necessary because the altimetry profile cannot be computed for geometries which are not a continuous LineString.
@marcantoinedupre marcantoinedupre force-pushed the fix-apidae-trek-parser-geometry-import branch from 6918e52 to e028300 Compare January 31, 2023 15:10
@marcantoinedupre marcantoinedupre merged commit 2d6b622 into master Jan 31, 2023
@marcantoinedupre marcantoinedupre deleted the fix-apidae-trek-parser-geometry-import branch January 31, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants