citysciencelab / scenario-explorer-addon

The Scenario Explorer Masterportal AddOn Code Repository
GNU General Public License v3.0
1 stars 0 forks source link

New Features for "New scenario" view #10

Open herzogrh opened 2 months ago

herzogrh commented 2 months ago

When creating a new scenario, different new entry types should be added to the addon that can be dynamically filled in: GeoJSON, BBoxes etc. Also, new scenario ensembles should be created with uncertainty ranges.

StefanSchuhart commented 1 month ago

For the BBox or area selection input there exists already a vue component under src/shared/modules/graphicalSelect inside Masterportal version 3 which could possibly re-used here. It allows the user to select between drawing a rectangle, a circle or a polygon.

KaiVolland commented 1 month ago

It turns out that this is a very complex field and the specification of the inputs can be very wide. I think we have to specify precise conditions on when to show which input field. I also think this should be limited to the three types: GeoJSON FeatureCollection, GeoJSON (Multi-)Geometry, BBox

herzogrh commented 1 month ago

Yes, I think it'd be good to limit the input types to specific ones. BBox should be pretty straight forward. Same goes maybe for file types such as GeoTiffs or csv files. For GeoJSON collections, I would think this is hard to generalize, but I suggest to have a rough implementation without any automatic validation of the geojson scheme so that worst case, an error of the process would be returned.