Opened 8 years ago

Last modified 7 years ago

#89 closed defect

Negative altitudes in KML export — at Version 4

Reported by: Erin Lynch Owned by: Olly Betts
Priority: minor Milestone: 1.2.32
Component: aven Version: 1.2.30
Keywords: KML Cc:

Description (last modified by Olly Betts)

If I open the following example in aven and export underground survey legs as KML, the resulting KML files has negative altitude values.

Example:

*cs out UTM49N
*cs UTM49N
*fix	gps	0453838	2786895	217.5557
gps	1	10	0	0

Output: ...

<LineString><altitudeMode>absolute</altitudeMode><coordinates>
110.54180955,25.19749535,-217.56
110.54180921,25.19758565,-217.56
</coordinates></LineString></MultiGeometry></Placemark>

..

Change History (4)

comment:1 Changed 8 years ago by Olly Betts

Milestone: 1.2.30
Version: 1.2.29

Well, they are underground!

It looks like the sine tilt angle correction has the wrong sign (KML doesn't actually allow you to export the survey tilted, but the same routine is used to adjust the coordinates regardless of the export format), so this is probably globally wrong (at least for formats which care about Z).

comment:2 Changed 8 years ago by Olly Betts

Version: 1.2.291.2.30

comment:3 Changed 7 years ago by Olly Betts

Milestone: 1.2.311.2.32

Ticket retargeted after milestone closed

comment:4 Changed 7 years ago by Olly Betts

Description: modified (diff)
Note: See TracTickets for help on using tickets.