-
Notifications
You must be signed in to change notification settings - Fork 6
Risiko data upload
This page describes some of the things a Risiko user may need to know in order to upload data into Risiko.
To upload a layer or layers you can give a directory or file. The standard Risiko install contains some good examples of this under the directory risiko_demo_data`
You must have the Riskio server running first (riskio_start). Before uploading new data you might need to clean the layers (risiko_clean)
risiko-upload risiko_demo_data
If you get a projection error after trying to run an impact function you will need to re-project and re-upload the data.
For shape (vector) files this is done using:
ogr2ogr -t_srs EPSG:4326 -f "ESRI Shapefile" [Out_File] [In_File]
e.g.
ogr2ogr -t_srs EPSG:4326 -f "ESRI Shapefile" out.shp ../../pangang_data/exposure/PadangExposureTest.shp
For raster files use:
gdalwarp -t_srs EPSG:4623 ../../pangang_data/exposure/PadangExposureTest.shp out.shp
Other commands that might be useful for geodata manipulation include:
- gdalinfo
- qgis
- ogrinfo