Skip to content

Commit bf77df3

Browse files
committed
Fix linter error
1 parent cef2e25 commit bf77df3

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

pkg/spatial/projections/transverse_mercator.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ func NewTransverseMercator(opts ...Option) *TransverseMercator {
9494
// The implementation uses the series expansion from "Map Projections: A Working
9595
// Manual" (https://pubs.usgs.gov/pp/1395/report.pdf), Chapter 8: Transverse
9696
// Mercator projection.
97-
//
98-
// "For the ellipsoidal form, the most practical form of the equations is a set
99-
// of series approximations which converge rapidly to the correct centimeter or
100-
// less at full scale in a zone extending 3° to 4° of longitude from the central
101-
// meridian. Beyond this, the forward series as given here is accurate to about
102-
// a centimeter at 7° longitude, but the inverse series does not have sufficient
103-
// terms for this accuracy. The forward series may be used with meter accuracy
104-
// to 10° of longitude."
10597
func (p *TransverseMercator) ToProjected(point orb.Point) orb.Point {
98+
// "For the ellipsoidal form, the most practical form of the equations is a set
99+
// of series approximations which converge rapidly to the correct centimeter or
100+
// less at full scale in a zone extending 3° to 4° of longitude from the central
101+
// meridian. Beyond this, the forward series as given here is accurate to about
102+
// a centimeter at 7° longitude, but the inverse series does not have sufficient
103+
// terms for this accuracy. The forward series may be used with meter accuracy
104+
// to 10° of longitude."
105+
106106
// TODO: Find a more accurate series expansion in US Army manuals.
107107
lon := point.Lon() * math.Pi / 180.0
108108
lat := point.Lat() * math.Pi / 180.0

0 commit comments

Comments
 (0)