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
Only the first segment of GPX tracks is imported #375
Comments
This issue seems similar to that one: I can start to implement the solution with JSTS. |
I made the following commit Pixelfr@cc8c1cb2b3fa97cb6c68658d2dc3306b57522235 But
I am not very familiar with closure and I probably missed something... Any hint? |
Thanks @pixelfr for having a look at this issue! I am not sure what the problem is exactly. Closure seems to expect some missing definition? |
Clearly my externs file was not correct. I added JSdoc declarations here but I still get the same error when I use This is weird, I get a different behavior from edit: files at the root are not updated on the docker machine with |
I just pushed a new commit which solves some issues pixelfr@a43d0d03cd41334180e5c89bb5cbdbba8d1fde14 |
@pixelfr I recommend that you create a pull request with your gps_merge_tracks branch. This way we could see your changes (diff) and discuss them directly in the PR. See for instance https://github.com/c2corg/v6_ui/wiki/Howto-Contribute#and-open-a-pull-request |
Sure. I didn't do it because it was still not working. But yes I going to to the PR. |
No problem to create a PR even if the changes are not ready. We generally prefix the titles of those PR by "[WIP]" (Work in Progress). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been closed because it has not had recent activity. Do not hesitate to reopen it if necessary. |
When uploading a GPX track with several segments (for instance if the GPS has been turned off while recording), all segments are shown on the document editing form map but only the first segment is actually sent to the API.
Most likely because of https://github.com/c2corg/v6_ui/blob/master/c2corg_ui/static/js/editing/documentediting.js#L428
It would make sense to concatenate segments instead so the the whole track is sent to the API and saved to the document.
Simplified example of multi-segment GPX file:
The text was updated successfully, but these errors were encountered: