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

Don't assume the first element of the KML node is the root feature #2945

Merged
merged 2 commits into from
Aug 18, 2015

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Aug 17, 2015

NetworkLinkControl elements can be children of the kml root node but do not count as the root feature node. Instead, we need to iterate all kml child nodes to locate the root feature node.

Reported via the forum.

Below test fails in master, passes in this branch.

NetworkLinkControl elements can be children of the kml root node but
do not count as the root feature node.  Instead, we need to iterate
all kml child nodes to locate the root feature node.
@pjcozzi
Copy link
Contributor

pjcozzi commented Aug 18, 2015

Looks good.

pjcozzi added a commit that referenced this pull request Aug 18, 2015
…hildren

Don't assume the first element of the KML node is the root feature
@pjcozzi pjcozzi merged commit acd9d33 into master Aug 18, 2015
@pjcozzi pjcozzi deleted the kml-non-feature-children branch August 18, 2015 00:11
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

Successfully merging this pull request may close these issues.

2 participants