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

Color ramps and classification #177

Merged
merged 40 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0a27a99
FIrst draft
gjmooney Oct 7, 2024
7562f29
Color Ramp CSS
gjmooney Oct 8, 2024
f0a6096
Define ramps
gjmooney Oct 8, 2024
8e1aa7e
Ramp work
gjmooney Oct 8, 2024
c22575c
Add equal interval classification
gjmooney Oct 9, 2024
cae8983
Save
gjmooney Oct 9, 2024
e718ec6
Add jenks classification
gjmooney Oct 9, 2024
37dab36
Add pretty breaks classification
gjmooney Oct 9, 2024
34b9074
Add logarithmic classification
gjmooney Oct 9, 2024
e26dfc6
Save
gjmooney Oct 9, 2024
3313782
Do a lil refactor
gjmooney Oct 9, 2024
1e992c1
save
gjmooney Oct 10, 2024
6c437ee
implement geotiff equal interval
gjmooney Oct 10, 2024
3e5dc4b
Implement continuous and discrete
gjmooney Oct 10, 2024
967d541
Set up global state manager
gjmooney Oct 11, 2024
675a51a
Quantile rough draft
gjmooney Oct 11, 2024
8523c23
Move tif data loading to source creation
gjmooney Oct 11, 2024
fe64fbf
Save
gjmooney Oct 14, 2024
a4c1726
Data looks like qgis finally
gjmooney Oct 14, 2024
9902474
broken?
gjmooney Oct 14, 2024
26eb1a6
Remove statedb for band values
gjmooney Oct 14, 2024
40c0112
Remove value scaling
gjmooney Oct 14, 2024
b72dc72
Add loading icon when classifying
gjmooney Oct 14, 2024
b01fb8f
Save selected choices for symbology panel
gjmooney Oct 15, 2024
011f8a0
Move handle ok connect
gjmooney Oct 15, 2024
6b90210
Put back value scaling
gjmooney Oct 15, 2024
a9fd8a9
Add missing await
gjmooney Oct 15, 2024
4876af9
Use actual ramp for display and adjust css
gjmooney Oct 15, 2024
d39115a
Add quantile discrete for tiffs
gjmooney Oct 16, 2024
ea1f119
Refactor
gjmooney Oct 16, 2024
2847307
Handle quantile check better, remove unneeded asyncs, rename
gjmooney Oct 16, 2024
d92baec
Color ramp drop down css
gjmooney Oct 16, 2024
2b2a985
Add hover effect to color ramps
gjmooney Oct 17, 2024
65f6d4c
Small tweaks
gjmooney Oct 17, 2024
2dbde22
Move band loading and change loading spinner
gjmooney Oct 18, 2024
36237f0
Fix ramp UI issue
gjmooney Oct 21, 2024
f7d131a
Move symbology state to schema for tiff layers
gjmooney Oct 21, 2024
c025aa1
Symbology schema for vector layers
gjmooney Oct 21, 2024
3f082f1
Use schema for render type loading
gjmooney Oct 21, 2024
6d99879
Remove symbologyState from forms
gjmooney Oct 22, 2024
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
106 changes: 88 additions & 18 deletions examples/earthquakes.jGIS
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,95 @@
"get",
"mag"
],
2.0,
0.95,
[
143.0,
240.0,
164.0,
8.0,
29.0,
88.0,
1.0
],
4.0,
1.159230769230769,
[
255.0,
190.0,
111.0,
23.0,
41.0,
118.0,
1.0
],
6.0,
1.3684615384615386,
[
37.0,
52.0,
148.0,
1.0
],
1.577692307692308,
[
34.0,
94.0,
168.0,
1.0
],
1.7869230769230768,
[
32.0,
120.0,
180.0,
1.0
],
1.9961538461538462,
[
165.0,
29.0,
45.0,
145.0,
192.0,
1.0
],
2.2053846153846157,
[
65.0,
182.0,
196.0,
1.0
],
2.4146153846153844,
[
96.0,
194.0,
192.0,
1.0
],
2.623846153846154,
[
127.0,
205.0,
187.0,
1.0
],
2.863076923076923,
[
199.0,
233.0,
180.0,
1.0
],
3.1246153846153852,
[
218.0,
241.0,
199.0,
1.0
],
3.491538461538462,
[
237.0,
248.0,
217.0,
1.0
],
4.326153846153848,
[
255.0,
255.0,
217.0,
1.0
]
],
Expand Down Expand Up @@ -83,16 +153,16 @@
"options": {
"bearing": 0.0,
"extent": [
-11572826.429808337,
971029.697020944,
-9529844.16220884,
2436036.6276178323
-14115404.754324596,
-3578744.7791191125,
-9601917.6529872,
9131405.218514971
],
"latitude": 15.124332230205127,
"longitude": -94.78425764274289,
"latitude": 24.187972965810673,
"longitude": -106.52816608439294,
"pitch": 0.0,
"projection": "EPSG:3857",
"zoom": 6.285476380004852
"zoom": 3.8783091860507373
},
"sources": {
"4a74edbc-1939-40e3-a0ac-28b2e1d87846": {
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "latest",
"@types/colormap": "^2.3.4",
"colormap": "^2.3.2",
"geojson-vt": "^4.0.2",
"geotiff": "^2.1.3",
"ol": "^10.1.0",
"pmtiles": "^3.0.7"
}
Expand Down
Loading
Loading