Code Monkey home page Code Monkey logo

gsocmap-web-services's Introduction

gsocmap-web-services's People

Contributors

mauriciopasquier avatar yigini avatar

Watchers

 avatar James Cloos avatar Guillermo Federico Olmedo avatar

gsocmap-web-services's Issues

Add info tab in menu

Text for info tab:

GSOCmap, a stepping stone in our knowledge of soils

The Global Soil Organic Carbon Map (GSOCmap) is not just a map! It is also a consultative and participatory process involving 110 countries, which makes this map totally new and unique!

The GSOCmap provides users with very useful information to monitor the soil condition, identify degraded areas, set restoration targets, explore SOC sequestration potentials, support the greenhouse gas emission reporting under the UNFCCC and make evidence-based decisions to mitigate and adapt to a changing climate.

GSOCmap can be downloaded using the Crop&Download Tool. Statistics for a region can be calculated using the Statistics Tool.

GSOCmap can also be accessed using Web Map Services at "http://54.229.242.119/geoserver/GSOC/wms?"

icon: info
order: info, crop, stat

Configure control flow

Installed the control-flow extension and configured it in data_dir/controlflow.properties:

# Don't allow the execution of more than 50 requests total in parallel
ows.global=50
# Don't allow more than 10 GetMap in parallel
ows.wms.getmap=10
# Don't allow a single user to perform more than 10 requests in parallel
user=10
# Don't allow the execution of more than 8 tile requests in parallel
# (recommended 4 x cores)
ows.gwc=8

Statistics tool

Statistics tool

Text should be:
Zonal SOC Stock Statistics Tool

Use Crtl+Drag to draw an extent and calculate statistics for it. Crtl+Drag on the corners or edges of the extent to resize it.

(ONLY when there is an extent):
Total Stock: 3438591.9 Mg (use sum)

SOC density
Min: 50.91 Mg ha-1
Max: 259.13 Mg ha-1
Mean: 159.35 Mg ha-1 (use avg)
Stddev: 35.35 Mg ha-1

Faster java image libraries

I just installed libjpeg-turbo and the native version of JAI and ImageIO libraries, following instructions from here and here.

This improves jpeg image rendering and operations on raster such as CropCoverage.

Load shapefile in db

For #1, we need to query fields in a shapefile. Currently it is loaded directly in the geoserver but to update it easily it should reside in our postgresql, and from there somehow update the metadata layer.

Stable URL

We should stop using the server IP. And then we need to replace the URL in some parts of the code.

Metadata Download

Related Metadata can be downloaded together with the geotiff (zip : geotiff, txt)(MPJ can give instructions YY, GFO can make it later).

fix bounding box for bottombar and replace text

Content for bottom bar should come from metadata_full_institution. The maximum number of institutions could be 4.

There is a problem with the bounding box, perhaps relate to order of parameters.

Legend

The colours need to be fixed.

Subsetting and downloading data

The tool should allow the user to draw a box (aoi) and then the system should mosaic the selected tiles and crop using the aoi (live)
If this is slow we can only select and mosaic the tile, without cropping to the actual aoi.

Configure tile caching

For reference, I created a gridset with tile size based on GSOCmap layer (recommended 512 x 512) so it can use the cache. When trying to add this gridset to defaults, I get this error:

Loading quota store failed, the disk quota subsystem is disabled, please re-configure: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Database may be already in use: Locked by another process. Possible solutions: close all other connection(s); use the server mode [90020-119])"

Left Pane

We can "i" tab make open at the first page load then can be manually collapse/expand with a button (glyphicon chevron-left, right)(MPJ)

Root URL

Now that we have a real web server we can use the root url (i.e. http://54.229.242.119/) to point o redirect somewhere else. Depending on which domain name we use it might even be the GSOCmap itself.

What do you think @midraed @yigini ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.