From 7c61b40aeee2354c1b4a10d9b5eed50b20222ee7 Mon Sep 17 00:00:00 2001 From: miguel-porto Date: Thu, 2 Jul 2015 10:30:53 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 324b23f..ec18947 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # fix-streams

R script to fix multiple confluences in stream networks

All nodes which have >2 streams flowing to it are corrected. The outermost streams' end vertices are adjusted by "step" meters along the downgoing stream. New nodes are created at suitable places, and existing lines suitably split.

-

Requires a line shapefile with the proper FROM_NODE and TO_NODE fields. The file is assumed to be correct in all other aspects, there is no error checking.

-

USAGE EXAMPLE

+

Requires a line shapefile with the proper FROM_NODE and TO_NODE fields. The file is assumed to be correct in all other aspects, there is no error checking.

+

Usage example

streams=readOGR("streams_Pt.shp","streams_Pt")
correctedshp=fix.streams(streams,step=10)
writeOGR(correctedshp,"streams_corrected.shp","streams_corrected","ESRI Shapefile")