Skip to content

Commit

Permalink
NTv2_0.gsb has to be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
wroge committed Jan 17, 2024
1 parent 1094d64 commit fcbe27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wgs84.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,12 @@ func loadNTv2(name string, spheroid Spheroid, base CRS) CRS {
return errorCRS{err: err}
}

crs := NTv2(file, spheroid, base)
crs := loadReaderNTv2(file, spheroid, base)

return crs
}

func NTv2(reader io.Reader, spheroid Spheroid, base CRS) CRS {
func loadReaderNTv2(reader io.Reader, spheroid Spheroid, base CRS) CRS {
if base == nil {
base = Geographic(nil, NewSpheroid(6378137, 298.257223563))
}
Expand Down

0 comments on commit fcbe27a

Please sign in to comment.