Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-porto committed Jul 2, 2015
1 parent e9030c9 commit 7c61b40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# fix-streams
<h1>R script to fix multiple confluences in stream networks</h1>
<p>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.</p>
<p>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.</p>
<h2>USAGE EXAMPLE</h2>
<p>Requires a line shapefile with the proper FROM_NODE and TO_NODE fields. The file is assumed to be correct in all other aspects, <em>there is no error checking</em>.</p>
<h2>Usage example</h2>
<code>streams=readOGR("streams_Pt.shp","streams_Pt")</code><br/>
<code>correctedshp=fix.streams(streams,step=10)</code><br/>
<code>writeOGR(correctedshp,"streams_corrected.shp","streams_corrected","ESRI Shapefile")</code>

0 comments on commit 7c61b40

Please sign in to comment.