Description Usage Arguments Value Examples
For a directory containing HydroBASIN shapefiles , load the file associated with the specified Pfaffstetter level and return an attribute table. NOTE: If a directory is provided, file naming convention must match original HYBAS (e.g. hybas_na_lev02_v1c.shp)
1 | LoadHybas(path, area = "na", level = 7)
|
area |
which region to load. can be 'na' (north america), or 'ar' (arctic) |
level |
The desired Pfaffstetter level |
directory |
the directory containing HydroBASIN shapefiles. Searches recursively. |
A list containing a spatial object and an attribute table
1 | LoadHybas("~/HydroBASINS", 'ar', 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.