in3Utils.geoTrans.path2domain

path2domain(xyPath, rasterTransfo)[source]

Creates a domain (irregular raster) along a path, given the path polyline, a domain width and a raster cellsize Usage:

[rasterTransfo] = path2domain(xyPath, rasterTransfo)

Input:

-xyPath: Polyline Coordinates -rasterTransfo[‘w’]: Domain width -rasterTransfo[‘xllc’]: xllc -rasterTransfo[‘yllc’]: yllc -rasterTransfo[‘cellsize’]: cellsize

Output: xp, yp Arrays determining a path of width w along a polyline

-rasterTransfo[‘DBXl’]: x coord of the left boundary -rasterTransfo[‘DBXr’]: x coord of the right boundary -rasterTransfo[‘DBYl’]: y coord of the left boundary -rasterTransfo[‘DBYr’]: y coord of the right boundary

[Fischer2013] Fischer, Jan-Thomas. (2013). A novel approach to evaluate and compare computational snow avalanche simulation. Natural Hazards and Earth System Sciences. 13. 1655-. 10.5194/nhess-13-1655-2013. Uwe Schlifkowitz/ BFW, June 2011