Opened 6 years ago

Last modified 4 years ago

#3480 new enhancement

m.cogo enhancement request: add declination support

Reported by: fgfletcher Owned by: grass-dev@…
Priority: normal Milestone: 7.8.3
Component: Default Version: 7.0.1
Keywords: m.cogo Cc:
CPU: Unspecified Platform: MacOSX

Description

m.cogo converts a sequence of (bearing,distance) pairs into cumulated cartesian (x,y) coordinates beginning from a user provided starting x,y position.

The bearing entry is in the form "N 52:17:04 W", widely used in survey maps.

However, many surveys use magnetic bearings which are rotated from true geographic North by an angle called the Declination - which itself depends on the date and survey location.

Currently when using m.cogo with such data it is first necessary to convert the magnetic bearing by adding(subtracting) the Declination as known for the date and location of the survey.

This is tedious and error prone when a survey could consist of hundreds of bearings, especially as adding a declination can "wrap around" a bearing into a different quadrant, for example: a 15° declination wrapping from N 10 E to N 5 W.

It would be very helpful if one could provide a Declination argument to m.cogo which would be added to each bearing. All that is needed in processing is to add the Declination value to the Azimuth (from input bearing) and handle the special cases of result <0 or >= 360.

Way above my skill level, but I'm hoping somebody might take an interest.

Change History (6)

comment:1 by martinl, 6 years ago

Milestone: 7.2.4

comment:2 by sbl, 5 years ago

Milestone: 7.2.47.8.0

All enhancements should point to 7.8

comment:3 by neteler, 5 years ago

Milestone: 7.8.07.8.1

Ticket retargeted after milestone closed

comment:4 by neteler, 4 years ago

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

comment:5 by neteler, 4 years ago

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:6 by neteler, 4 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.