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

GPX to KML conversion problem #166

Open
giuliogatto opened this issue Jun 20, 2019 · 0 comments
Open

GPX to KML conversion problem #166

giuliogatto opened this issue Jun 20, 2019 · 0 comments

Comments

@giuliogatto
Copy link

Hello, I am doing what is described in this issue:
#17

But what I get is this:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
  <Document>
    <name>IT001</name>
    <Placemark>
      <name>IT001</name>
      <description>Track converted from GPX</description>
         <MultiGeometry><Point><coordinates>11.423035,45.897655</coordinates></Point><Point><coordinates>11.423035,45.897655</coordinates></Point>..

With tags, which don't seem to be correct KML.
So it looks like the line:
$linestring = $geometry->out('kml');
Is not outputting correct KML tags.. am I doing something wrong here? Do I need another layer of conversion?
Thanks in advance to anyone who can help with this!

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

1 participant