-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Export and import of gpx is inconsistent #1932
Comments
Thanks for the report! Not sure exactly about the status of the external lib we current use for exporting to gpx: https://github.com/tyrasd/togpx Needs more investigation! |
Maybe switch to https://github.com/We-Gold/gpxjs ? Edit: this lib is the other way (parsing)… For creating: https://github.com/dwayneparton/geojson-to-gpx |
I would say the |
From the togpx doc:
So this is the expected behaviour. It's configurable, but from the specs it seems there is no way to have custom properties, only desc is expected (if I read it correctly). So we can either keep the current behaviour, so all properties are exported in the GPX, either have a custom configuration to export only the First thing to decide: I wonder how other GPX tools behave, and specifically how other tools would load a GPX concatenating many properties in the |
Even if I reduce in that gpx-file to Spielmops |
A new release has been deployed just now that changes the lib used for GPX. Could have a try ? |
I create an item in a map-layer:
![testdaten nach Eingabe](https://private-user-images.githubusercontent.com/3194177/342110835-accc6b42-65ff-4bf6-800d-ea009dcaa4be.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNjE5OTgsIm5iZiI6MTcyMTI2MTY5OCwicGF0aCI6Ii8zMTk0MTc3LzM0MjExMDgzNS1hY2NjNmI0Mi02NWZmLTRiZjYtODAwZC1lYTAwOWRjYWE0YmUuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMDAxNDU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjljNDBlNmNjNWY3MWFkN2QzNWY1Yjk4YWFlYzE3ZTNkNzAxM2MyOTUxZGRjNjBkOGU1ODIzZmViZGZiNjYzZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.n0E5XTjRj0ZGFuYHdD6VofD2qswCa3pgvpP6EtSOe8c)
Then I export this item as gpx and look at it via editor:
![Testdaten als GPX-Datei](https://private-user-images.githubusercontent.com/3194177/342110884-cb6ec162-a107-4072-9b34-a60431ac8754.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNjE5OTgsIm5iZiI6MTcyMTI2MTY5OCwicGF0aCI6Ii8zMTk0MTc3LzM0MjExMDg4NC1jYjZlYzE2Mi1hMTA3LTQwNzItOWIzNC1hNjA0MzFhYzg3NTQuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMDAxNDU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OThlNGQ1YzJhMDM4MDA2NjNmZjZmMjFlNGI3NWVmYzkyZmEwMDBkZTRjZGYyZTdlNGM4Y2NlMGFkZGZmMmY5MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.ULBWqddKkd7Q7tEAAgg4JgajfbqwQHKLMZMeYGh0Ndw)
And after that I import this file. Result:
![Testdaten als GPX-Import](https://private-user-images.githubusercontent.com/3194177/342110924-d9ef04c0-76e3-46dc-84f8-499c8f6fe4f4.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNjE5OTgsIm5iZiI6MTcyMTI2MTY5OCwicGF0aCI6Ii8zMTk0MTc3LzM0MjExMDkyNC1kOWVmMDRjMC03NmUzLTQ2ZGMtODRmOC00OTljOGY2ZmU0ZjQuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMDAxNDU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTFmNmIwZDczMDdkYjg0YmU0YjZkMjZjYTg2ZTEwMzcyMWFiMDczM2EyODJmZTU1MGNiYzA1ZmE1NjA4NWYyMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.I_DysFbC1393IcoS2mJCo3KaD97RbviVZYtn8eYyQXc)
Why is this so? Why is the description not in description-field any more?
Spielmops
The text was updated successfully, but these errors were encountered: