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

Prepare and publish datasets #96

Closed
3 tasks
gubuntu opened this issue Apr 5, 2017 · 13 comments
Closed
3 tasks

Prepare and publish datasets #96

gubuntu opened this issue Apr 5, 2017 · 13 comments
Assignees

Comments

@gubuntu
Copy link
Contributor

gubuntu commented Apr 5, 2017

We need to prepare datasets on the hazard and exposure side to populate the Labs GeoNode

Labs Geonode (http://45.55.174.20/) has many Hazard datasets but no Exposure datasets.

We need the following layer prepared, styled and published on staging (related to #95):

Exposure

  • global population (WorldPop)
  • global roads (OSM)
  • LandScan (WB has a licence so we can use it, discuss with @cgiovando)

Hazard

  • see Cristiano's comment below

Layer and analysis status is at https://docs.google.com/spreadsheets/d/1Nni6SpmTwgsOgmG2dUNj47wGzUGGHkMwT6T_7eG9s4Q/edit?usp=sharing

@NyakudyaA
Copy link
Collaborator

Populated metadata for population data downloaded from http://sedac.ciesin.columbia.edu/data/sets/browse and http://www.worldpop.org.uk/data/data_sources/.

Tried uploading the population data. There is an upload error. I think the file size is limiting geonode upload. We need to fix this so that users are able to upload any file size.

upload_error

Still busy with getting global roads. Doing this as part of kartoza/gfdrr_oondra#62 (comment) As oondra was already using docker-osm

@NyakudyaA
Copy link
Collaborator

NyakudyaA commented Apr 25, 2017

kartoza/geonode#193 (error uploading large rasters)

@gubuntu
Copy link
Contributor Author

gubuntu commented May 3, 2017

@NyakudyaA please make the data and metadata available in a ready-to-publish form (e.g. via a resilio share) and put instructions here for exactly how to publish them on the Labs Geonode platform so that @fvanderbiest @fjacon @stufraser1 can easily publish them when they are ready.

@NyakudyaA
Copy link
Collaborator

NyakudyaA commented May 3, 2017

I have prepared the datasets with full metadata. The datasets are available in a resilio (btsync) share using the key BI4KJS6V75VQ22FJKGGDNNN3HCU52QES3.

  • Sync the data to your local machine
  • Copy the synced data folder into the django container: docker cp geosafe_data container_name:/tmp/
  • Exec into the django container and import the data using the management commands to register the layers with geonode
  • Run python manage.py importlayers -m data_directory Where data_directory is the path containing the data. In this case it will be /tmp/geosafe_data

@gubuntu gubuntu mentioned this issue May 10, 2017
@cgiovando
Copy link

cgiovando commented May 10, 2017

Here are the datasets to test and load for the upcoming demo:

Hazard

Earthquake (mmi units):

Flood (water depth in mm):

Exposure

Population:

Buildings:

  • OSM subsets for MG, TZ, and NP from GeoFabrik

Roads:

@gubuntu
Copy link
Contributor Author

gubuntu commented May 11, 2017

@nyakudya for the OSM roads and buildings I think we should try to use the docker-osm sets you've prepared, on a per country basis until we are sure GeoSAFE can run on subsets.

And I know we used Worldpop tifs for OONDRA but work has been done on using the API so let's try that.

@NyakudyaA
Copy link
Collaborator

Global Roads do not have a class that can be used to assign keywords in Inasafe. I will use Natural earth in the meantime

@cgiovando
Copy link

I will use Natural earth in the meantime

Please use OSM instead. Thanks

@gubuntu
Copy link
Contributor Author

gubuntu commented Jun 22, 2017

large layers currently have to be loaded via backend management commands. kartoza/geonode#52 is addressing the limitation on uploading large layers through the UI.

@NyakudyaA
Copy link
Collaborator

@cgiovando Any update about the Landscan data.

@cgiovando
Copy link

Any update about the Landscan data.

@vdeparday can you comment and confirm that the license is compatible? Thanks!

@gubuntu
Copy link
Contributor Author

gubuntu commented Sep 7, 2017

all available layers are loaded with metadata populated at http://geonode.kartoza.com

@NyakudyaA
Copy link
Collaborator

@cgiovando what are the units for tropical cyclone. I have looked at the data source and no units are listed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants