You might find it useful to go to OpenStreetmap and zoom to your area of interest, then use the query tool (the Question Mark icon). You don't need to be logged in to use this.
Next, click on or near the water feature you want to examine - a list of candidates will appear on a panel in the left.
You should hopefully be able to find the feature, and click on the link - this should show how the feature has been tagged.
In most cases, rivers should be tagged 'waterway', but it's possible some may have been tagged with something else, like 'natural'
Also - I'm assuming you're using QuickOSM plugin, as you tagged this QGIS? If so, check the 'advanced' settings in query, and make sure you have all types of geometry selected. Some rivers are lines, but more complex rivers (wide rivers with islands for example) can be relations or multipolygons.
Note that if you leave the value blank, it matches any value for waterway - you don't have to search for canals and streams separately unless you want them in separate layers.
I needed to extract values from a raster to get elevation values for the Irish sea, but I have endig using the next code and it worked!
latlong <- read.csv(file.choose(),h=T) ## load the long and lat dataset
data <- SpatialPoints(latlong)
library(marmap)
irishsea <- getNOAA.bathy(lon1 = -7.5, lon2 = -2.7,
lat1 = 52, lat2 = 56, resolution = 10)
summary(irishsea)
plot(irishsea, image = TRUE)
scaleBathy(irishsea, deg = 2, x = "bottomleft", inset = 5)
blues <- colorRampPalette(c("red","purple","blue",
"cadetblue1","white"))
plot(irishsea, image = TRUE, bpal = blues(100))
plot(irishsea, image = TRUE, bpal = blues(100),
deep = c(-9000, -3000, 0),
shallow = c(-3000, -10, 0),
step = c(1000, 1000, 0),
lwd = c(0.8, 0.8, 1), lty = c(1, 1, 1),
col = c("lightgrey", "darkgrey", "black"),
drawlabel = c(FALSE, FALSE, FALSE))
Creating a custom palette of blues
blues <- c("lightsteelblue4", "lightsteelblue3",
"lightsteelblue2", "lightsteelblue1")
greys <- c(grey(0.6), grey(0.93), grey(0.99))
Plotting the bathymetry with different colors for land and sea
plot(irishsea, image = TRUE, land = TRUE, lwd = 0.03,
bpal = list(c(0, max(irishsea), greys),
c(min(irishsea), 0, blues)))
Making the coastline more visible
plot(irishsea, deep = 0, shallow = 0, step = 0,
lwd = 0.4, add = TRUE)
plot(irishsea, n = 1, lwd = 0.4, add = TRUE)
Adding my sample points
plot(data, pch=16, col="red", add=TRUE)
Now I have to extract those data, so let's get the depth for each sampling point
sp <- get.depth(irishsea, latlong[,1:2], locator = FALSE)
Combine depth values with my points and save as a CSV file
write.table(sp,file= "combinedPointValue.csv",
append=FALSE, sep= ",", row.names = FALSE, col.names=TRUE)
Best Answer