Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stage #4

Open
wants to merge 743 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
743 commits
Select commit Hold shift + click to select a range
6f4e337
Merge pull request #47 from Canadian-Geospatial-Platform/dependabot/n…
johnweng001 Apr 13, 2023
25b11ca
bug fix: pasting a url into the browser should now properly load the …
Apr 17, 2023
0953000
Merge pull request #48 from Canadian-Geospatial-Platform/dependabot/n…
johnweng001 Apr 18, 2023
e330f04
Merge pull request #49 from Canadian-Geospatial-Platform/dependabot/n…
johnweng001 Apr 18, 2023
6ceb85e
Merge pull request #34 from Canadian-Geospatial-Platform/dependabot/n…
johnweng001 Apr 18, 2023
fd4251a
open a new tab on right click of view record (#53)
johnweng001 Apr 20, 2023
10b8ca0
Dev STAC (#56)
johnweng001 Apr 20, 2023
35486f8
Bump ansi-html and webpack-dev-server
dependabot[bot] Apr 20, 2023
fe175db
Bump webpack from 5.13.0 to 5.80.0
dependabot[bot] Apr 20, 2023
8fd8fb6
Merge pull request #55 from Canadian-Geospatial-Platform/dependabot/n…
johnweng001 Apr 22, 2023
d8bf385
Merge pull request #57 from Canadian-Geospatial-Platform/dependabot/n…
johnweng001 Apr 22, 2023
8f0bf26
Bump node-forge and webpack-dev-server
dependabot[bot] Apr 22, 2023
1dd90c5
Merge pull request #51 from Canadian-Geospatial-Platform/dependabot/n…
johnweng001 Apr 22, 2023
e387223
fixed webpack 5 upgrade dev mode
johnweng001 Apr 22, 2023
cce3bbf
Merge pull request #60 from Canadian-Geospatial-Platform/dev-webpack5…
johnweng001 Apr 22, 2023
6771285
2304302222 -Testing
indiciumx May 1, 2023
b609fb6
upgraded react to 17.0.2 and babel
johnweng001 May 23, 2023
796d6aa
Merge pull request #67 from Canadian-Geospatial-Platform/dev-reactbab…
johnweng001 May 23, 2023
c82b707
ui code changes for 'id' lambda refactor (#71)
bo-lu May 29, 2023
d864c3b
disabled Metadata and viewable on the map filters for june release
johnweng001 May 30, 2023
d1452c6
Merge pull request #72 from Canadian-Geospatial-Platform/dev-june
johnweng001 May 30, 2023
c77ac26
added French text for stac filter
johnweng001 May 30, 2023
f527b15
Merge pull request #73 from Canadian-Geospatial-Platform/dev-stac-text
johnweng001 May 30, 2023
8b66441
Update organisations.json per #174
bo-lu Jun 2, 2023
f6b1aba
fixed organisations json
Jun 2, 2023
d9543bc
Merge pull request #74 from Canadian-Geospatial-Platform/stac-font
johnweng001 Jun 2, 2023
bc217a3
fixed date editing issue
johnweng001 Jun 6, 2023
5f98c70
Merge pull request #76 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 6, 2023
b263b15
fixed temporal datepicker locale
johnweng001 Jun 6, 2023
4ed9d46
Merge pull request #77 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 6, 2023
41b78b4
updated French text
johnweng001 Jun 6, 2023
0fe7b22
Merge pull request #78 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 6, 2023
5869030
added toolbar for datepicker year change
johnweng001 Jun 6, 2023
e15135f
Merge pull request #79 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 6, 2023
e97bb54
updated geolocator api url
johnweng001 Jun 7, 2023
8bddd3f
Merge pull request #80 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 7, 2023
2266628
fixed geolocator search param
johnweng001 Jun 8, 2023
25296b5
Merge pull request #81 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 8, 2023
6d524e0
added keys nominatim in geo locator search
johnweng001 Jun 8, 2023
628d91f
Merge pull request #82 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 8, 2023
e9a460f
fit extent search in the map
johnweng001 Jun 8, 2023
dede58f
Merge pull request #83 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 8, 2023
83a941e
fixed extent search result list
johnweng001 Jun 8, 2023
e926553
Merge pull request #84 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 8, 2023
a9af3e5
updated how to text
johnweng001 Jun 8, 2023
0078b8b
Merge pull request #85 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 8, 2023
3864d1d
corrected react version
johnweng001 Jun 8, 2023
7654652
Merge pull request #86 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 8, 2023
80010ed
Revert "corrected react version"
johnweng001 Jun 14, 2023
12c505c
Merge pull request #91 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 14, 2023
933e55b
fixed spatial extent param and removed spatial/temporal from keyword …
johnweng001 Jun 14, 2023
34c0510
Merge branch 'stacfilter-fix' of https://github.com/Canadian-Geospati…
johnweng001 Jun 14, 2023
17569fb
Merge pull request #92 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 14, 2023
bd12a98
changed temporal params to begin and end
johnweng001 Jun 14, 2023
767ed34
Merge pull request #93 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 14, 2023
57a7dfa
#97 Refactor metadata page related products loading (collections api …
johnweng001 Jun 27, 2023
eaa9277
Merge pull request #100 from Canadian-Geospatial-Platform/stacfilter-fix
johnweng001 Jun 27, 2023
3ec0934
regenerate package lock.
PVautour Jul 20, 2023
d863fd3
add file structure for sign in page.
May 15, 2023
dd7ab94
hardcoded redirect functions.
PVautour May 16, 2023
d216a09
we now have structure for a dispatch component and a receive componen…
PVautour May 16, 2023
0f9299f
we now go through sign in flow and redirect to receive sign in page.
PVautour May 17, 2023
d54028a
sign in works. missing redirect to original page.
PVautour May 23, 2023
3bb8bea
we receive jwt.
PVautour Jun 22, 2023
3ed6dd1
format.
PVautour Jun 22, 2023
f072fc5
remove useless comments.
PVautour Jun 22, 2023
13d3139
we are now fetching oidc configuration and setting it in a variable.
PVautour Jun 22, 2023
c772ae3
set oidc configuration as singleton.
PVautour Jun 22, 2023
eda68e6
refactor, switch authorization to typescript, rely on manual configur…
PVautour Jun 28, 2023
4a5be7e
remove getToken function.
PVautour Jun 28, 2023
e96fff9
add authorization.ts to git versioning.
PVautour Jun 28, 2023
49fae6f
typescript the receivesignin page.
PVautour Jun 28, 2023
ee1f4b7
typescript refactor.
PVautour Jun 28, 2023
d347186
Displaying the token on a page.
PVautour Jun 28, 2023
45b81bf
sign in button conditional on being signed in.
PVautour Jun 29, 2023
9be1505
signin widet in header works.
PVautour Jun 29, 2023
092b75b
fix styling of sign in button.
PVautour Jun 29, 2023
32db79e
change name of sample page requiring sign in.
PVautour Jul 19, 2023
ce7fc89
improve demo sign in required page.
PVautour Jul 19, 2023
c5eb1da
add type info to useState in sample sign in page.
PVautour Jul 19, 2023
781a3c3
refactor.
PVautour Jul 19, 2023
1d2b202
add authorization headers to requests.
PVautour Jul 19, 2023
2984a62
improve sign in button look and feel.
PVautour Jul 19, 2023
f6fb4a2
togglelable menu in header.
PVautour Jul 19, 2023
b76b4d8
add logout button and basic functionnality.
PVautour Jul 19, 2023
8610ad7
sign in css improvements.
PVautour Jul 19, 2023
e9a9d13
refactor
PVautour Jul 19, 2023
fc89ee3
add translations to sign in widget.
PVautour Jul 20, 2023
4e337fc
add user name to logout form.
PVautour Jul 20, 2023
3041e65
user name is no longer clickable.
PVautour Jul 20, 2023
9205062
Merge pull request #106 from Canadian-Geospatial-Platform/rebase/feat…
PVautour Jul 20, 2023
71f0faa
added similar records in metadata page
johnweng001 Aug 1, 2023
9ca38a5
Merge pull request #108 from Canadian-Geospatial-Platform/dev-72
johnweng001 Aug 1, 2023
502c6ce
remove sign in feature.
Aug 3, 2023
5f907a9
restored package-lock file
johnweng001 Aug 14, 2023
4b9d634
Merge pull request #109 from Canadian-Geospatial-Platform/dev-72
johnweng001 Aug 14, 2023
df0dc50
updated id api to use v2
johnweng001 Aug 23, 2023
86fe9cf
Merge pull request #110 from Canadian-Geospatial-Platform/dev-metadatav2
johnweng001 Aug 23, 2023
b8ae390
fix keyword only search issue
johnweng001 Aug 24, 2023
d8f6a0b
Merge pull request #111 from Canadian-Geospatial-Platform/dev-210
johnweng001 Aug 24, 2023
5c2ede4
fixed keyword only search mode
Aug 29, 2023
cb02c2f
Merge pull request #113 from Canadian-Geospatial-Platform/dev-112
johnweng001 Aug 29, 2023
2446ed0
changed default sorting to popularity desc
Aug 29, 2023
b080809
Merge pull request #114 from Canadian-Geospatial-Platform/dev-112
johnweng001 Aug 29, 2023
28ba567
210 added pagination in metadata related products
johnweng001 Aug 30, 2023
955fa97
Merge pull request #115 from Canadian-Geospatial-Platform/dev-210
johnweng001 Aug 31, 2023
7bedcf1
initial change for displaying stac thumbnail
Sep 12, 2023
8a82056
Merge pull request #117 from Canadian-Geospatial-Platform/dev-112
johnweng001 Sep 12, 2023
54fc43b
fixed search button not to shift
Sep 13, 2023
694c07a
Merge pull request #118 from Canadian-Geospatial-Platform/dev-112
johnweng001 Sep 13, 2023
15258a5
removed setview
Sep 13, 2023
0f0a4a8
Merge pull request #119 from Canadian-Geospatial-Platform/dev-112
johnweng001 Sep 13, 2023
4dae18f
adjusted padding and zoom for bbox
Sep 14, 2023
fc341ec
Merge pull request #120 from Canadian-Geospatial-Platform/dev-112
johnweng001 Sep 14, 2023
05a7479
use cog tile service to display stac thumbnail in search page
johnweng001 Sep 19, 2023
fbe2662
Merge pull request #121 from Canadian-Geospatial-Platform/dev-112
johnweng001 Sep 19, 2023
f1e914d
added cog tile for stac in metadata page
johnweng001 Sep 19, 2023
50c53ec
Merge pull request #122 from Canadian-Geospatial-Platform/dev-112
johnweng001 Sep 21, 2023
d5ec8ab
remove thumbnail tile
Sep 21, 2023
71a6dff
Merge pull request #123 from Canadian-Geospatial-Platform/dev-112
johnweng001 Sep 22, 2023
b6b1a7a
Revert "remove thumbnail tile"
Sep 26, 2023
0803acd
Revert "added cog tile for stac in metadata page"
Sep 26, 2023
e0fa873
Revert "use cog tile service to display stac thumbnail in search page"
Sep 26, 2023
76a880b
Revert "adjusted padding and zoom for bbox"
Sep 26, 2023
63a9180
Revert "removed setview"
Sep 26, 2023
90e7d8c
Revert "fixed search button not to shift"
Sep 26, 2023
cadd783
Revert "initial change for displaying stac thumbnail"
Sep 26, 2023
68fdab3
Merge pull request #124 from Canadian-Geospatial-Platform/dev-Aug30
johnweng001 Sep 26, 2023
aa5e8e6
restored temp reverts
Sep 26, 2023
ebdd99a
Merge pull request #127 from Canadian-Geospatial-Platform/dev-restore…
johnweng001 Sep 26, 2023
4483d30
fixed protocol image lowercase
Sep 28, 2023
8f0af76
fixed image url searching
Sep 28, 2023
565b7d3
fixed image checking in metadata page:
Sep 28, 2023
318b9d1
updated image format for png and jpeg thumbnail
Sep 28, 2023
99a3682
replaced high-resolution logo image
Oct 7, 2023
2834169
updated cog tiler url for all env
Oct 20, 2023
7b3245e
switched apis for stac thumbnail
Oct 20, 2023
c834507
fixe overflow text in search result list
Nov 15, 2023
bf97d8f
fixed filter panel expand/collapse transition issue
Nov 16, 2023
97c6927
added EO filters
Dec 6, 2023
3055f57
externalized eo filter options
Jan 9, 2024
be3e5e7
updated French translation
Jan 17, 2024
f8c6978
added error handling for tilejson loading
Jan 30, 2024
ec32b8a
Merge branch 'dev' into dev-132-sourcefilter
Jan 31, 2024
d86c96a
fixed spatial extent not working after clear filters
Feb 1, 2024
2a8898b
Merge branch 'dev' into dev-132-sourcefilter
Feb 2, 2024
508315a
added eo filter components
Feb 8, 2024
e141ee6
Merge pull request #133 from Canadian-Geospatial-Platform/dev-132-sou…
johnweng001 Feb 8, 2024
d437d9f
Not to send polarization/orbit in search params if eo collection not …
Feb 8, 2024
f6d8460
for sentinel-1 to show image layer instead of using tileservice
Feb 15, 2024
28b5814
not to tigger search when view footprint is clicked
Feb 17, 2024
a2722ba
added html styled tooltip
Feb 19, 2024
ee3d21e
updated translation text for eofilter
Feb 27, 2024
b9afdf3
added config file for eodms image switch on/off
Mar 20, 2024
f1dca74
Update rampviewer.tsx with chart plugins
bo-lu Jun 6, 2024
1c18a0f
Update rampviewer.tsx
bo-lu Jun 6, 2024
ad07054
Update rampviewer.tsx to add additional <script> and <link> for chart…
bo-lu Jun 6, 2024
680dbbc
Update to use thumbnail correction lambda for sentinel-1
bo-lu Jun 7, 2024
ebac3d3
Logs when thumbnail correction is made
bo-lu Jun 7, 2024
5276eb6
Update metadatapage.jsx
bo-lu Jun 7, 2024
daa92ef
Updated logic handle when image is type tiff
bo-lu Jun 8, 2024
d033af0
Update metadatapage.jsx
bo-lu Jun 8, 2024
7ccf73e
Incorporate orbitState param to pass asc/desc in request
bo-lu Jun 9, 2024
ba79d9f
Minor typo
bo-lu Jun 9, 2024
ceb1ed9
Reorder logic on main search component to support sentinel-1 thumbnai…
bo-lu Jun 9, 2024
ac0cfb9
Remove debug code from search and metadata details page
bo-lu Jun 9, 2024
afcfd17
Update geosearch.tsx
bo-lu Jun 9, 2024
94b692c
Update Stage-deployment.yml to use GITHUB_TOKEN instead of PAT
bo-lu Jun 9, 2024
105a846
Update Prod-deployment.yml to use GITHUB_TOKEN instead of PAT
bo-lu Jun 9, 2024
d94a910
Bumps attribution to 2024
bo-lu Jun 14, 2024
95aaeb6
Change CGP to Geo.ca
bo-lu Jun 14, 2024
7506aad
Updated french translation for related products
bo-lu Jun 14, 2024
1b518f5
Update canada-world-config.json for range slider, update attribution …
bo-lu Jun 19, 2024
bc9f271
Add workflow_dispatch to run workflows manually from the Actions tab
bo-lu Jun 28, 2024
671da88
Update thumbnail-config.json
bo-lu Jul 2, 2024
304b2aa
Only load localstate if params are not included in url request
bo-lu Sep 12, 2024
5c793cf
Clear all params other than organizations
bo-lu Sep 13, 2024
3982122
Update localStorage.ts
bo-lu Sep 13, 2024
6c229c4
Removed if statement to force filter reset if url params are provided
bo-lu Sep 17, 2024
80336a3
Update localStorage.ts
bo-lu Sep 17, 2024
b96c953
Update localStorage.ts
bo-lu Sep 17, 2024
520e632
Update localStorage.ts
bo-lu Sep 17, 2024
e35412f
Update localStorage.ts
bo-lu Sep 17, 2024
ee02823
Update thumbnail-config.json to use different api endpoint which bett…
bo-lu Sep 25, 2024
a3898b8
v1.4.4 Change behaviour of when user arrives using params and locatio…
bo-lu Sep 25, 2024
53cccbe
Initial commit for RCM-ARD
bo-lu Oct 29, 2024
2550dbc
Fixing logic to enable the loading of COG from rcm-ard collection
bo-lu Nov 1, 2024
d59b7a8
debug for rcm-ard
bo-lu Nov 1, 2024
0a2a6ea
typo
bo-lu Nov 1, 2024
2249df4
Improve readability of imageUrls variable and add application/geotiff
bo-lu Nov 1, 2024
2b0c1f1
typo
bo-lu Nov 1, 2024
1c2b080
c;ode cleanup to determine if thumnail png or COG geotiff should be l…
bo-lu Nov 1, 2024
ae3826a
set max to 98th percentile to improve shading for rcm-ard
bo-lu Nov 1, 2024
80ce4f7
Invalidate localstorage after 5 minutes instead of checking params in…
bo-lu Nov 5, 2024
3981507
Adjust padding to account for left search panel
bo-lu Nov 5, 2024
75e5eef
Use longitude offset based on zoom level
bo-lu Nov 5, 2024
aa0bd3c
add debug code
bo-lu Nov 5, 2024
35eec29
set new time for session after session expiry
bo-lu Nov 5, 2024
6a2c957
bug fixes to localstorage
bo-lu Nov 5, 2024
ab71b53
Update geosearch.tsx
bo-lu Nov 5, 2024
2be76ac
adjust longitude offset
bo-lu Nov 5, 2024
e98e075
Update geosearch.tsx
bo-lu Nov 5, 2024
2d61595
Update geosearch.tsx
bo-lu Nov 5, 2024
ddcacce
use getBoundsZoom to calculate best zoom level
bo-lu Nov 5, 2024
ef2138e
Update geosearch.tsx
bo-lu Nov 5, 2024
9d06038
fix bug related to console output
bo-lu Nov 7, 2024
23f5424
Update geosearch.tsx
bo-lu Nov 7, 2024
7cafd78
Update geosearch.tsx
bo-lu Nov 7, 2024
ed0a74e
Update geosearch.tsx
bo-lu Nov 7, 2024
0d64e6e
Update geosearch.tsx
bo-lu Nov 7, 2024
71b5a67
Update geosearch.tsx
bo-lu Nov 7, 2024
8df71d5
Update geosearch.tsx
bo-lu Nov 7, 2024
70be151
Update geosearch.tsx
bo-lu Nov 7, 2024
0f2a2aa
Update geosearch.tsx
bo-lu Nov 7, 2024
93c5e0c
Update geosearch.tsx
bo-lu Nov 7, 2024
e31627c
Update geosearch.tsx
bo-lu Nov 7, 2024
f4eaa08
Update geosearch.tsx
bo-lu Nov 7, 2024
174b846
Update geosearch.tsx
bo-lu Nov 7, 2024
785b122
Update geosearch.tsx
bo-lu Nov 7, 2024
fb22157
Update geosearch.tsx
bo-lu Nov 7, 2024
876eb3b
Update geosearch.tsx
bo-lu Nov 8, 2024
b756766
Update geosearch.tsx
bo-lu Nov 8, 2024
0449c97
Update geosearch.tsx
bo-lu Nov 8, 2024
e7e694e
Update geosearch.tsx
bo-lu Nov 8, 2024
9e726b8
Update geosearch.tsx
bo-lu Nov 8, 2024
d66a9d8
Update geosearch.tsx
bo-lu Nov 8, 2024
ac19825
Update geosearch.tsx
bo-lu Nov 8, 2024
2976df0
Update geosearch.tsx
bo-lu Nov 8, 2024
62c035a
Update geosearch.tsx
bo-lu Nov 8, 2024
31cde5f
Update geosearch.tsx
bo-lu Nov 8, 2024
2dcf830
Update geosearch.tsx
bo-lu Nov 8, 2024
b3e74e5
Removes bbox when paging. Zoom to extent of canada before zoom/panning
bo-lu Nov 12, 2024
39d98d2
Create reset to initial map function
bo-lu Nov 12, 2024
1a40cb3
debug map reset
bo-lu Nov 12, 2024
176dea9
Update geosearch.tsx
bo-lu Nov 12, 2024
0179401
Update geosearch.tsx
bo-lu Nov 12, 2024
460f6ec
Update geosearch.tsx
bo-lu Nov 12, 2024
dda9a66
Update geosearch.tsx
bo-lu Nov 12, 2024
2f17bb3
Update geosearch.tsx
bo-lu Nov 12, 2024
45d8b9b
Update geosearch.tsx
bo-lu Nov 14, 2024
fd82f0f
Add tooltip for rcm-ard in en/fr
bo-lu Nov 14, 2024
4b0df2c
Set min zoom to 4 to improve stability of the app
bo-lu Nov 14, 2024
6556a50
refactor display of eo and thumbnails on search page
bo-lu Nov 18, 2024
99ec0fa
Change default text
bo-lu Nov 19, 2024
ad1a7fc
minor fixes
bo-lu Nov 19, 2024
d733ee4
change rcm-ard polarization to new format
bo-lu Nov 19, 2024
57065ef
For colour ramp use 98th percentile instead of max
bo-lu Nov 19, 2024
ae985d4
Change to draw bbox if tiling fails
bo-lu Nov 19, 2024
c1bace8
Merge branch 'prod' into dev
bo-lu Dec 17, 2024
fe591a5
Bumps attribution to 2025
bo-lu Jan 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
versioning-strategy: increase
23 changes: 23 additions & 0 deletions .github/workflows/Prod-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Prod Deployment

on:
push:
branches: [ stage ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Initiate - Stage
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: stage

- name: Push changes - Init Prod
run: git push origin -f stage:prod

22 changes: 22 additions & 0 deletions .github/workflows/Stage-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Stage Deployment

on:
push:
branches: [ dev ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Initiate - Dev
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }}

- name: Push changes - Init Stage
run: git push origin -f dev:stage
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist/
dist/
src/security/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.13.2
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome",
"request": "launch",
"type": "chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
{
"name": "Debug Android",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "launch",
"platform": "android"
}
]
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Canadian Geospatial Platform Viewer (CGPV) - Terms and Conditions of Use
GEO.CA Viewer (CGPV) - Terms and Conditions of Use

Unless otherwise noted, computer program source code of the Federal Geospatial Platform Authoring (FGPV) is covered under Crown Copyright, Government of Canada, and is distributed under the MIT License.

Expand Down
31 changes: 7 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
# GeoView
# geocore application #

The Canadian Geospatial Platform intends to deploy new infrastructure, tools and web integration of GeoCore, a new geospatial metadata lake library capable of supporting multiple metadata standards. In recognition of these desired capabilities, it needs a lightweight viewer to incorporate in their infrastructure. The need is to have a simple and flexible viewer to display geospatial data from GeoCore metadata lake on a map with limited functionalities.
The Geocore application found at app.geo.ca is an open source react application created to explore the geocore geospatial library.

[Demo](https://jolevesq.github.io/GeoView/index.html)
Documentation can be found [here](https://canadian-geospatial-platform.github.io/app.geo.ca/).

## Solution
---

GeoView mapping capabilites are based on [Leafet](https://github.com/Leaflet/Leaflet) open source viewer. The overall project uses the latest [React](https://reactjs.org/) framework version 17+. With this in mind, here is the list of the main dependencies
* [react-leaflet](https://react-leaflet.js.org/) version 3+ to make the link between Leafelt and React
* [i18next](https://www.i18next.com/) to do localization in English and French
* [material-ui](https://material-ui.com/) to do the layout
# application géocore #

## Developpement
L'application Geocore disponible sur app.geo.ca est une application de réaction open source créée pour explorer la bibliothèque géospatiale geocore.

Developement is made with VisualStudio Code and uses few extentions to help linting and formating
* Prettier
* ESLint
* Better Comments

## Building the project

To install the project, just run
`npm install`

To serve the project, just run
`npm run serve` and GeoView will be serve from http://localhost:8080/

## Contributing to the project
_Work in progress_
La documentation peut être trouvée [ici](https://canadian-geospatial-platform.github.io/app.geo.ca/).
2 changes: 1 addition & 1 deletion analysis/bundle-analyzer.html

Large diffs are not rendered by default.

420 changes: 420 additions & 0 deletions mockapi-data/sortby-date.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions mockapi-data/spatial-viewable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"spatial-view": {
"viewableOnTheMap": "4021",
"notViewableOnTheMap": "1201"
},
"metadata-standard": {
"hnap": "200",
"stac": "1000"
}
}
Loading
Loading