Description Usage Arguments Value
Find the nearest line segment (river) to a point (station). Spatial objects should be in an appropriate coordinate system (i.e. not lat-long) otherwise they will be projected and this adds to processing time. If CRS does not match between the stations and the rivers they will both be projected into Canada Albers Equal Area conic.
1 | FindNearestRiverSegment(spatialPoint, riverLines, HYBAS)
|
spatialPoint |
A SpatialPointsDataFrame of the desired station |
riverLines |
A SpatialLinesDataFrame of the HydroSHEDS river network |
dataframe of nearest lines (attribute table of matches)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.