Skip to content
Prev 7347 / 29559 Next

Is there an annotated river dataset available?

On Fri, 8 Jan 2010 10:11:20 +0100 Hans-J?rg Bibiko <bibiko at eva.mpg.de> 
wrote:
How about using the 'SpatialLinesLengths' function? Try get the 100 
largest rivers, you can use

big.rivers=rivers[rev(order(SpatialLineLengths(rivers)))[1:100],]

'SpatialLinesLengths' may have a bug, though. At least for one of my 
data, it gives a 'non-finite line lengths' error message on one of the 
(finite!) lines.