cropmapteam / Scotland-crop-map

This is the repository for the Scottish Government collaboration with EDINA and JNCC to produce a crop map for Scotland by developing machine learning algorithms applied to Sentinel satellite data
3 stars 0 forks source link

UI design and build plan #29

Open quantoidb opened 5 years ago

quantoidb commented 5 years ago

William and James to consider build for UI.

geojamesc commented 5 years ago

A starter stack mapping wise might be:

A client built around OpenLayers https://openlayers.org/

connecting to WMS/tilecaches etc rendered on the backend via the EDINA familar MapServer/MapProxy (and possibly Pg+PostGIS) combo.

https://mapserver.org/ https://mapproxy.org/ https://www.postgresql.org/ https://postgis.net/

I routinely expose data through MapServer/MapProxy to add new data to Digimap. In terms of setup from talking with Tim Urwin (my GeoData team lead here at EDINA), Digimap SE`s have experience of setting up MapServer/MapProxy etc on centos VMs and there are puppet setups in place that we might be able to make use of. Certainly there will be people we can talk to in-house etc.

geojamesc commented 5 years ago

Here is a stab at a "design" document for an initial demo client, initially constrained to Kelso/Jedburgh with:

A map showing the field (i.e. those that Orfeo segmentation has produced / other field boundaries) boundaries overlain against a contextual backdrop map (e.g. OS). Clicking on the field boundary displays in a pop-up the type of crop present.

The field layer should be styled thematically using crop type i.e. a different colour of shaded field boundary = a different type of crop.

Ideally the selection of field boundary features displayed in the field boundary layers should be able to be filtered by crop type so that a user can easily see the extent / coverage of all fields for a particular type of crop type.

Examples of front-ends include:

https://map.onesoil.ai/2018#2/44.35/-43.66 https://apps.sentinel-hub.com/eo-browser/

geojamesc commented 5 years ago

Decisions need to be made about where the map layers/services that the map client displays will be hosted.

geojamesc commented 5 years ago

A MapServer instance with WMS configured and tested with OpenLayers has been setup on the cropmap vm #36

WilliamPetit commented 5 years ago

I should have put this comment here:

I'll start working on the UI, I'm not sure what we want exactly but with the time I have allocated to this project this month (30h), I should first try to implement something simple. I've never used OpenLayer and don't really now how much work it really represent but something like this should not take too long: https://www.ceh.ac.uk/crops2015

WilliamPetit commented 5 years ago

I've created a new repository where I'll put the code for the web ui: https://github.com/cropmapteam/scotland-crop-map-web

I've done a first push with a very basic page and it's deployed on our VM: http://data.cropmap.edina.ac.uk/

quantoidb commented 5 years ago

Perfect 👍😃

On Wed, 10 Jul 2019 at 15:30, William Petit notifications@github.com wrote:

I've created a new repository where I'll put the code for the web ui: https://github.com/cropmapteam/scotland-crop-map-web

I've done a first push with a very basic page and it's deployed on our VM: http://data.cropmap.edina.ac.uk/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cropmapteam/Scotland-crop-map/issues/29?email_source=notifications&email_token=ACOMQKWOG4HTEPNCHEHJQ53P6XW63A5CNFSM4HREXGKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZTUVCA#issuecomment-510085768, or mute the thread https://github.com/notifications/unsubscribe-auth/ACOMQKUNFRJGSDAVWHD4WX3P6XW63ANCNFSM4HREXGKA .

-- Beata

WilliamPetit commented 5 years ago

We've made some slight modification to the map:

http://data.cropmap.edina.ac.uk/cropmap/