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

There is no mention of the XML schemas in the header. #62

Open
keltia opened this issue Dec 12, 2024 · 1 comment
Open

There is no mention of the XML schemas in the header. #62

keltia opened this issue Dec 12, 2024 · 1 comment

Comments

@keltia
Copy link
Contributor

keltia commented Dec 12, 2024

It would be better to generate the full KML file with the schemas like in:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">

I note there is no support for the Google extensions (xmlns:gx="http://www.google.com/kml/ext/2.2"), would you be interested in these?

@pjsier
Copy link
Member

pjsier commented Dec 22, 2024

Thanks for flagging this! I haven't looked deeply into the quick-xml library we're using here in a bit, but there's a KmlVersion enum that was set up to handle this in the future. Definitely open to thoughts or PRs here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants