-
Notifications
You must be signed in to change notification settings - Fork 610
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
GPX 1.1 - wrong header #1200
Comments
I just did a quick test and I can see the version 1.1 header as well as the gpxtpx namespace. If the file already existed when GPX 1.1 was selected then the header wouldn't be written. Are you trying with a new file? Sample:
|
I am sorry! You are of course right. I did miss the fact that the new points are appended to the file. So I must delete the existing GPX file when changing the format. |
Congratualtions for your great little tool!
But with activating GPX 1.1 logging the header for version 1.0 is written to the GPX file. Therefore some programs (e.g. RouteConverter) can't read the file due to the missing "gpxtpx" namespace.
As I understand your code (I do not really know Java) the problem is the private definition of "getBeginningXml" which is therefore not virtual. The addition of "public" or "protected" (the better option?) should do the trick.
The text was updated successfully, but these errors were encountered: