1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-03 06:25:58 +00:00

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

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)