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

New scenario on upload #1624

Merged
merged 54 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
3eee5a0
initital view handler
lastminutediorama Jul 14, 2024
228b1f4
functioning for happy path
lastminutediorama Jul 19, 2024
4b5e802
convert some geoms
lastminutediorama Jul 19, 2024
ae32616
refactoring
lastminutediorama Jul 20, 2024
1b6badd
trim unused code
lastminutediorama Jul 20, 2024
e05f773
more cleanup
lastminutediorama Jul 20, 2024
cee9c59
lint
lastminutediorama Jul 20, 2024
5d62ebe
more tidying
lastminutediorama Jul 20, 2024
b9b84d3
user projarea serializer
lastminutediorama Jul 22, 2024
8ddce1d
add some logging
lastminutediorama Jul 22, 2024
b1d2724
clarify comments
lastminutediorama Jul 22, 2024
48a85a7
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Jul 22, 2024
2d392b4
fix containment test
lastminutediorama Jul 22, 2024
021cabc
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Jul 23, 2024
2dd9338
fix conversion
lastminutediorama Jul 23, 2024
5f13443
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Jul 29, 2024
b289c64
update to fit new url formats
lastminutediorama Jul 29, 2024
cf12cb8
move test
lastminutediorama Jul 29, 2024
1ab621f
replace test
lastminutediorama Jul 29, 2024
9cddf56
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Aug 1, 2024
bd62b34
fix tests
lastminutediorama Aug 1, 2024
40fe2e8
repair bad merge
lastminutediorama Aug 1, 2024
9f32188
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Aug 14, 2024
12c7731
move upload_shapefile endpoint to scenarioviewset
lastminutediorama Aug 15, 2024
77c9e93
lint lint lint
lastminutediorama Aug 15, 2024
427542a
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Aug 15, 2024
4d49035
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Aug 16, 2024
bb2df17
simplify w shpjs changes
lastminutediorama Aug 19, 2024
ee91add
lint
lastminutediorama Aug 19, 2024
dca5603
rm unused fixtures
lastminutediorama Aug 19, 2024
5c13e64
rm unused functions
lastminutediorama Aug 19, 2024
e5aea16
undo a removal
lastminutediorama Aug 19, 2024
8c2e8c2
collect projectarea keys
lastminutediorama Aug 20, 2024
f8d7677
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Aug 20, 2024
f5ce019
simplify union function
lastminutediorama Aug 22, 2024
16e0461
fix import
lastminutediorama Aug 22, 2024
32d0d9f
add origin for uploaded scenario
lastminutediorama Aug 22, 2024
6160392
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Aug 22, 2024
10dff72
update faq link
lastminutediorama Aug 23, 2024
b60b9f5
include tests for origin and project_area_ids
lastminutediorama Aug 23, 2024
35d512e
Merge branch 'main' of github.com:OurPlanscape/Planscape
lastminutediorama Aug 27, 2024
6244ed1
Merge branch 'main' of github.com:OurPlanscape/Planscape
lastminutediorama Aug 27, 2024
0c794f4
Merge branch 'main' of github.com:OurPlanscape/Planscape
lastminutediorama Aug 30, 2024
4e9febd
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Aug 30, 2024
ccde8cf
tidying
lastminutediorama Aug 30, 2024
359d684
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Aug 30, 2024
5cf02b7
update serializer
lastminutediorama Sep 24, 2024
ea9aedb
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Sep 24, 2024
a1407fc
lint
lastminutediorama Sep 24, 2024
2eb554d
add multipolygon transform
lastminutediorama Sep 25, 2024
1c8a093
reinstate geojsonserializer
lastminutediorama Sep 25, 2024
321efae
Merge branch 'main' into new-scenario-on-upload
lastminutediorama Sep 25, 2024
ce43f36
adding partial suggestion
lastminutediorama Sep 25, 2024
9333357
Merge branch 'new-scenario-on-upload' of github.com:OurPlanscape/Plan…
lastminutediorama Sep 25, 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
1 change: 1 addition & 0 deletions src/planscape/planning/fixtures/bayarea.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-121.0193074506169,37.595639624947765],[-120.20654168273668,39.13203576925176],[-122.69568507231202,39.36670296043056],[-124.04752084907938,37.32325375294653],[-122.28509058699757,36.995060949097976],[-121.5128284155499,37.14872126092999],[-121.0193074506169,37.595639624947765]]],"type":"Polygon"}}]}
18 changes: 18 additions & 0 deletions src/planscape/planning/fixtures/compton.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"geometry": {
"coordinates": [
[
[-118.20716636037173, 33.920598278966864],
[-118.2432737359336, 33.923377808333086],
[-118.29104914454057, 33.90200241677471],
[-118.29445258288496, 33.866984991294785],
[-118.19355622138727, 33.846204133247],
[-118.13952806285474, 33.843233162812254],
[-118.13676788382531, 33.89303057524725],
[-118.15023176229987, 33.92604658546955],
[-118.20716636037173, 33.920598278966864]
]
],
"type": "Polygon"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-119.33241460526935,36.66591636348937],[-120.19166087889145,36.67411866411433],[-120.44332572106356,34.97120592914996],[-119.54073192555185,34.55809706097733],[-118.28259958575944,34.429442048461354],[-117.74448044635068,35.09226272644672],[-117.79685721976085,36.08025861891841],[-119.33241460526935,36.66591636348937]]],"type":"Polygon"}}]}
19 changes: 19 additions & 0 deletions src/planscape/planning/fixtures/la_county.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"geometry": {
"coordinates": [
[
[-118.0889908519894, 35.325105608400335],
[-118.92229239859111, 35.18573022182062],
[-119.3628016742858, 34.693871666666155],
[-119.54656370692496, 33.839439932333605],
[-118.44335197214888, 33.22608562550718],
[-117.08952572767481, 32.854150951935964],
[-115.3617529795114, 32.89821630171167],
[-114.93281575266029, 34.49968530415707],
[-115.94716738759355, 35.63438024871061],
[-118.0889908519894, 35.325105608400335]
]
],
"type": "Polygon"
}
}
1 change: 1 addition & 0 deletions src/planscape/planning/fixtures/la_features.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-118.302249512945,34.196327160930636],[-118.33402899623536,34.19417353355685],[-118.36541896102793,34.174366969945595],[-118.30220034704901,34.159177026993106],[-118.25806299093958,34.16676650771245],[-118.24936482313268,34.182765656398374],[-118.302249512945,34.196327160930636]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-118.37788229112186,34.11097019458815],[-118.44744151686879,34.11365291667009],[-118.45398768361032,34.07555520944854],[-118.43674199243367,34.04540797166182],[-118.33664914010978,34.044481387356655],[-118.28802072293226,34.073665943032026],[-118.29406221152648,34.10461047969915],[-118.37788229112186,34.11097019458815]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-118.20342963182536,34.1261060610416],[-118.2481039788143,34.117129855881046],[-118.27293735368254,34.07817908050515],[-118.31609701477026,34.037767380668186],[-118.25981401700983,33.98662372682229],[-118.15752709690463,33.99603104137695],[-118.13732357661067,34.04506754461592],[-118.14341611575011,34.10686864203045],[-118.20342963182536,34.1261060610416]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-118.07425262068378,34.07368666371681],[-118.11918683312446,34.05314516369907],[-118.14540479085667,34.008518785002636],[-118.10650198618504,34.005393337532425],[-118.09211428053845,34.04263474901833],[-118.07425262068378,34.07368666371681]]],"type":"Polygon"}}]}
1 change: 1 addition & 0 deletions src/planscape/planning/fixtures/losA.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"geometry":{"coordinates":[[[-118.68746832704201,34.41902493068383],[-118.78846423098238,34.06092883840948],[-118.44559519476564,34.056082522999674],[-118.43098282521088,34.134700949429686],[-118.65246955305206,34.131596260721665],[-118.57224065653489,34.414934306344705],[-118.68746832704201,34.41902493068383]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-118.2797856193942,34.346740274725946],[-118.4171188019659,34.300489311586375],[-118.41732445390059,34.21737681051185],[-118.35027153112136,34.0359510296078],[-118.15001928953912,34.01656572902583],[-118.03312065282597,34.07713636571927],[-118.04293394831319,34.25062876053261],[-118.10558227249068,34.347544717762375],[-118.2289007545507,34.36322476278302],[-118.2797856193942,34.346740274725946]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-117.65762906794026,34.35883666675805],[-117.76616604451404,34.43130881845184],[-117.87180086396778,34.43870426501681],[-117.99099357487793,34.41576558095747],[-118.00890833758912,34.35778977762462],[-117.97729176808438,34.23751913978941],[-117.92444870203695,34.19189546687163],[-117.78447382766703,34.195525048938336],[-117.72483619109497,34.16297072442377],[-117.70366306532463,34.10261471417333],[-117.77788626738979,34.09171877366198],[-117.84952742564829,34.121941023746174],[-117.90070197323035,34.140060498133835],[-117.9805200799095,34.03113089452239],[-117.79101016063555,33.96953040211699],[-117.73989989098408,33.9707345625915],[-117.60379919187763,33.9815424502043],[-117.53686504097327,34.04211675786806],[-117.54078263972133,34.14609484972759],[-117.64578058058197,34.262136628301846],[-117.79755072991634,34.282995082993594],[-117.87674393599914,34.33535174239071],[-117.84968636915136,34.34944467868833],[-117.79454444918176,34.34712413085262],[-117.7248078354666,34.31133868386702],[-117.65762906794026,34.35883666675805]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[-117.99943759264394,33.93957451491772],[-118.03157098974098,33.718475207228906],[-117.94677649025928,33.708760431012465],[-117.93801622629213,33.80602428625676],[-117.87369769359145,33.78416772281952],[-117.82986800831038,33.68938095312609],[-117.71900110009906,33.71638930658217],[-117.91467423434963,33.95172747310721],[-117.99943759264394,33.93957451491772]]],"type":"Polygon"}}
Loading