OpasnetUtils/GIS
From Testiwiki
Revision as of 12:58, 17 October 2012 by Teemu R (talk | contribs) (Created page with "{{method|moderator=|stub="yes"}} Category:OpasnetUtils ==Description== This section contains a couple of general GIS related functions ==Code== https://www.opasnet.org...")
This page is a method.
The page identifier is Op_en5833 |
---|
Moderator:Nobody (see all) Click here to sign up. |
This page is a stub. You may improve it into a full page, and then a rating bar will appear here. |
Upload data
|
Description
This section contains a couple of general GIS related functions
Code
https://www.opasnet.org/svn/opasnet_utils/trunk/R/GIS%20methods.r
Functions
GIS.Exposure
Exposure computes exposure using a given concentration matrix and protected population data from Heande.
Inputs:
- Concentration.matrix - A matrix containing spatially dependent concentratio data;
- LO & LA - coordinates of the center of the concentration matrix;
- distx & disty - maximum displacement from center of concentration matrix, assumed symmetrical, defaults to 10.5 km (PLTTI matrix);
- resolution - resolution of concentration matrix, length of side of grid element which are assumed squares, defaults to 1 km (PILTTI matrix)
Output:
- An ovariable containing result of Population * Concentration. Output and marginal slots are defined. Spatial information lost in summation (though there is an easy way around it).
GIS.Concentration.matrix
Computes a concentration matrix from given emission and coordinates, based on random sampling PILTTI source-receptor-matrices.
Inputs:
- Emission - emission of substance in Mga^-1;
- LO & LA - coordinates where emission occurs;
- distx & disty - maximum displacement in kilometers from center of desired matrix, assumed symmetrical, defaults to 10.5 km (PLTTI matrix);
- resolution - resolution of desired matrix (length in kilometers of side of grid element which are assumed squares), defaults to 1 km (PILTTI matrix);
- N - number of iterations to be run
Output:
- An ovariable containing spatially dependent concentration data. Output and marginal slots are defined.