All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.6.2 (2023-05-30)
- Zero elevation data in GPX should still be included (6457106)
5.6.1 (2023-05-05)
5.6.0 (2022-12-30)
5.5.0 (2022-11-12)
5.4.0 (2022-10-31)
5.3.0 (2022-10-23)
5.2.2 (2022-08-09)
5.2.1 (2022-06-15)
5.2.0 (2022-06-12)
5.2.0-1 (2022-06-12)
- Fix typo (4a9a57a)
5.2.0-0 (2022-06-12)
- Handle HTML in description tags (e156191)
5.1.3 (2022-05-22)
- Switch ESM entry point to use .mjs ending to fix Node.js native ESM support (cd366b8)
5.1.3-0 (2022-05-22)
5.1.2 (2022-04-24)
5.1.1 (2022-04-24)
5.1.0 (2022-04-23)
5.0.0 (2022-04-22)
5.0.0-5 (2022-03-19)
5.0.0-4 (2022-03-15)
- Allow meta object to contain new values (6dd282e)
5.0.0-3 (2022-03-15)
- Export Folder and Root types (b9fa7f0)
5.0.0-2 (2022-03-14)
5.0.0-1 (2022-03-14)
5.0.0-0 (2022-03-14)
4.8.0-0 (2022-03-14)
- Folders and TypeScript (6f36fd3)
4.7.1-0 (2022-03-09)
4.7.0 (2022-03-08)
- Support gx:CascadingStyle (600c542)
4.6.1 (2022-03-07)
4.6.1-1 (2022-03-07)
- Typo (9cb1ed0)
4.6.1-0 (2022-03-07)
- Make module system more convoluted (845ff7a)
4.6.0 (2022-03-07)
- Support additional GPX extensions (ae2f00f)
4.5.0 (2021-08-03)
4.4.1 (2021-04-27)
4.4.0 (2021-03-31)
4.3.0 (2020-12-28)
4.2.0 (2020-09-05)
- Preserve GPX linestring type in a _gpxType property that is either rte or trk (54fa558)
- TCX Support (6df0878)
4.1.0 (2020-06-13)
- Add LabelStyle support and complete IconStyle support for KML (f920b16)
4.0.0 (2020-04-05)
- Previously, togeojson would ignore Placemarks that did not have associated geometry. Per the GeoJSON specification, Feature objects can have null geometries. After this change, togeojson will output features with null geometries as the translation of KML Placemarks with no geometry, instead of ommitting those items entirely.
3.2.0 (2019-12-29)
- add garmin extension handling (2e95798)
3.1.0 (2019-12-25)
3.0.1 (2019-06-17)
- Typo in rollup configuration (1af08f6)
3.0.0 (2019-03-28)
- this may modify browser support if you’re using an old browser. See the MDN page for full details:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill
2.0.0 (2019-03-08)
- Generator methods, removed CLI (f37a30b)
- the cli that was previously installed along with togeojson has been removed, and will be installable as @tmcw/togeojson-cli
Other changes in this pass:
- Switch from microbundle to rollup to build
- Remove dependencies
- Remove reliance on XMLSerializer. This will make togeojson work in worker contexts.
1.0.0 (2019-01-18)
1.0.0-alpha.1 (2019-01-18)
1.0.0-alpha.0 (2019-01-18)
- Supports the
link
tag in GPX data. - Supports the
type
tag for waypoints in GPX data.
- Supports the
cmt
(comment) tag in GPX data.
- Fixes a potential crash with QGIS-generated GPX files.
- Now includes TimeStamp property from Placemarks, if it exists.
- Added support for StyleMap elements in Google-flavored KML
- Improved test coverage
- Made
#
prefix for internal style references optional - Uses
eslint
for code style uniformity
- Fix
#
prefix on exported hex colors
- Fix trackpoints with elevation=0 having their elevation skipped
- Fix rte based GPX based tracks
- Add CDATA support to KML
- Add heartrate support for GPX tracks
- Fix elevation support
- Fix test runner
- Fix an IE9 error: IE9 'supports'
XMLSerializer
inasmuch as it will create an instance that fails always and hard.
- Encode timestamps along lines in GPX and KML as a
coordTimes
property.
- Encode KML id attributes on Placemarks as GeoJSON Feature id properties.
- Support for the
gx:Track
andgx:MultiTrack
extensions to GPX
- GPX conversion creates MultiLineString geometries when given multiple track segments.
- Support for simplestyle spec 1.1.0
- Tests in tape rather than mocha/expect.js
- Elevation values along linestrings and in points for GPX are now parsed
correctly into
Z
coordinate values in GeoJSON.
- No longer bundles xmldom for browsers
- Stricter check for browser versus browserify when requiring
xmldom
- Support for pipes and streams
echo "LineString(0 0, 10 10)" | wellknown | tokml | togeojson > map.geojson
- Improve documentation
- Make style hashing on by default, remove options object
- Fix global leak.
- Comments
- GPX Support
- Support GeometryCollections as themselves.