Skip to content

Commit

Permalink
Merge pull request #6 from maseology/main
Browse files Browse the repository at this point in the history
added 3161
  • Loading branch information
wroge authored Nov 2, 2023
2 parents 56ee0cb + 2200963 commit d848fa6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions epsg.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func EPSG() *Repository {
6355: NAD83AlabamaEast(),
6356: NAD83AlabamaWest(),
6414: NAD83CaliforniaAlbers(),
3161: NAD83OntarioMNRlambert(),
}

for i := 1; i < 61; i++ {
Expand Down
6 changes: 6 additions & 0 deletions reference.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ func NAD83CaliforniaAlbers() ProjectedReferenceSystem {
return crs
}

// NAD83OntarioMNRlambert is a projected Coordinate Reference System similar to
// https://epsg.io/3161
func NAD83OntarioMNRlambert() ProjectedReferenceSystem {
return NAD83().LambertConformalConic2SP(-85, 0, 44.5, 53.5, 930000, 6430000)
}

// GeocentricReferenceSystem represents a geocentric Coordinate Reference System.
type GeocentricReferenceSystem struct {
Datum Datum
Expand Down

0 comments on commit d848fa6

Please sign in to comment.