Merge pull request #5689 from rcordovano/update-geolocation-attribute-helper-docs

6106 GPX parser waypoint elevation bug fix
This commit is contained in:
Richard Cordovano 2020-03-11 10:12:54 -04:00 committed by GitHub
commit 9ec8abbf3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,7 +216,7 @@ class GPXParserDataSourceIngestModule(DataSourceIngestModule):
geoWaypointList = TskGeoWaypointsUtil.GeoWaypointList()
for point in route.points:
geoWaypointList.addPoint(point.latitude, point.longitude, elevation, point.name)
geoWaypointList.addPoint(GeoWaypoint(point.latitude, point.longitude, point.elevation, point.name))
try:
geoArtifactHelper.addRoute(None, None, geoWaypointList, None)