-
Notifications
You must be signed in to change notification settings - Fork 223
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
old mapsource does not understand <bounds ...></bounds> #186
Comments
OK, try the following
it will download the xsd files in And then install xmllib, download your gpx file and try one of:
(depending on the gpx version). |
How would that help? Let me rephrase my problem: AFAIK, both those variants are legal:
Gpxpy.to_xml() creates the first variant, Mapsource only understands the second variant. I know a lot of people still use Mapsource. |
You said "I believe", I wanted to be sure that the problem is not the generated GPX. It's quite possible that gpxpy generates an invalid XML file. And, mapsource being a popular app -- I thought maybe the problem is in the GPX file. If that's not the case, I agree with you, but it's also not a bug in another application. And here, it's not a bug, it's a feature request. Anyway, I did try to fix this in |
A fix for this is now in the latest |
it just refuses to load the gpx file, no reason given.
Mapsource only understands <bounds ... />
I believe this should always be correct syntax, so this change should not do any harm. But it makes the output a bit shorter.
The text was updated successfully, but these errors were encountered: