This development version is accessible at: http://54.229.242.119/GSOCmap
gsocmap-web-services's Introduction
gsocmap-web-services's People
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
Improvements
content here moved to individual issues!
Stock Calculation
Stock calculation needs to be done on a layer in a equal area projection (MPJ can give instructions YY, GFO can make it later). I think a custom CRS needs to be added into epsg.properties file.
instructions given here: http://docs.geoserver.org/stable/en/user/configuration/crshandling/customcrs.html#add-a-custom-crs
Button for Zonal Statistics
a DRAWING Button would be better than Mouse+Key combination
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
Dynamic contributors information for the current spatial extent.
Get the data holder for the current extent and show them on the screen.
The list of contributors (data holders) should be printed at the bottom of the map (like in google earth).
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).
remplace GSOCmap layer with version 1.2.0
Layer ready at geoserver as GSOC:GSOCmapV1.2.0
Load background layer on geoserver
From natural earth data, layer NE2
replace bounding box with polygon for crop&download and statistics tool
Instead of using the bounding box we can use a polygon, like here
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.
Increase memory for geoserver
current memory is 2 Gb, should be 4
The Content/Language
The language and the content will be improved, elaborated
Full GSOCmap download
Provide a link to allow users to download the GSOCmap.
Download Section - Changelog
Changelog to be provided with each release
Query data using mouse click (with metadata from shp)
Query data using the mouse. The output should include the value of the current GSOCmap plus the value of some fields in a shapefile.
Result has to be shown in a popup window.
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.
Download Links
Download stops at random times.
http://54.229.242.119/GSOCmap/downloads/GSOCmapV1.1.0.tif
http://54.229.242.119/GSOCmap/downloads/GSOCmapV1.2.0.tif
@mauriciopasquier @midraed
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)
Google Analytics
Add google analytics to the GSOC map web services
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.
Button for Draw to Crop& Download
a DRAWING Button would be better than Mouse+Key combination and makes it easier for end users
Geoserver and nginx services
Configure geoserver and nginx as a systemv service enabled to run at boot.
Adding a pop-up window when a user open the website for the first time.
The popup window should include Project information, technical report, link to contributors, contact point, how to contribute.
@yigini / @midraed will decide on the contents
@mauriciopasquier will work on the implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.