8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I'd expect tokml to take the id property from a GeoJSON Feature and use for the id attribute of the <Placemark>(https://developers.google.com/kml/documentation/kmlreference#placemark).
tokml
id
<Placemark>
const tokml = require('tokml') const geojson = { type: 'Feature', id: 'abc', properties: {}, geometry: {type: 'Point', coordinates: [1,2]}}; tokml(geojson)
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <Placemark> <ExtendedData></ExtendedData> <Point> <coordinates>1,2</coordinates> </Point> </Placemark> </Document> </kml>
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <Placemark id="abc"> <ExtendedData></ExtendedData> <Point> <coordinates>1,2</coordinates> </Point> </Placemark> </Document> </kml>
The text was updated successfully, but these errors were encountered:
add placemark id fixes mapbox#39
c9b85d1
@supersonicclay I've added this to my fork here https://github.com/maphubs/tokml
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
I'd expect
tokml
to take theid
property from a GeoJSON Feature and use for theid
attribute of the<Placemark>
(https://developers.google.com/kml/documentation/kmlreference#placemark).Repro
Actual
Expected
The text was updated successfully, but these errors were encountered: