Skip to content

Commit

Permalink
refactor(demo) provide alias on projections (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord authored and mbarbeau committed Dec 19, 2019
1 parent d4c8c51 commit b88c7e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/environments/environment.github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,15 @@ export const environment: Environment = {
projections: [
{
code: 'EPSG:32198',
alias: 'Quebec Lambert',
def:
'+proj=lcc +lat_1=60 +lat_2=46 +lat_0=44 +lon_0=-68.5 +x_0=0 +y_0=0 \
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs',
extent: [-799574, 45802, 891595.4, 1849567.5]
},
{
code: 'EPSG:3798',
alias: 'MTQ Lambert',
def:
'+proj=lcc +lat_1=50 +lat_2=46 +lat_0=44 +lon_0=-70 +x_0=800000 +y_0=0 \
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs',
Expand Down
2 changes: 2 additions & 0 deletions src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ export const environment: Environment = {
projections: [
{
code: 'EPSG:32198',
alias: 'Quebec Lambert',
def:
'+proj=lcc +lat_1=60 +lat_2=46 +lat_0=44 +lon_0=-68.5 +x_0=0 +y_0=0 \
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs',
extent: [-799574, 45802, 891595.4, 1849567.5]
},
{
code: 'EPSG:3798',
alias: 'MTQ Lambert',
def:
'+proj=lcc +lat_1=50 +lat_2=46 +lat_0=44 +lon_0=-70 +x_0=800000 +y_0=0 \
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs',
Expand Down
2 changes: 2 additions & 0 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@ export const environment: Environment = {
projections: [
{
code: 'EPSG:32198',
alias: 'Quebec Lambert',
def:
'+proj=lcc +lat_1=60 +lat_2=46 +lat_0=44 +lon_0=-68.5 +x_0=0 +y_0=0 +ellps=GRS80 \
+towgs84=0,0,0,0,0,0,0 +units=m +no_defs',
extent: [-799574, 45802, 891595.4, 1849567.5]
},
{
code: 'EPSG:3798',
alias: 'MTQ Lambert',
def:
'+proj=lcc +lat_1=50 +lat_2=46 +lat_0=44 +lon_0=-70 +x_0=800000 +y_0=0 \
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs',
Expand Down

0 comments on commit b88c7e1

Please sign in to comment.