Do the intersections between two geometries create lines?
This is a function required in overline()
. It identifies
whether sets of lines overlap (beyond shared points) or
not.
islines(g1, g2)
g1 |
A spatial object |
g2 |
A spatial object |
Other rnet:
SpatialLinesNetwork
,
calc_catchment_sum()
,
calc_catchment()
,
calc_moving_catchment()
,
calc_network_catchment()
,
find_network_nodes()
,
gsection()
,
lineLabels()
,
overline_spatial()
,
overline()
,
plot,SpatialLinesNetwork,ANY-method
,
plot,sfNetwork,ANY-method
,
rnet_breakup_vertices()
,
rnet_group()
,
sln2points()
,
sum_network_links()
,
sum_network_routes()
## Not run: rnet <- overline(routes_fast[c(2, 3, 22), ], attrib = "length") plot(rnet) lines(routes_fast[22, ], col = "red") # line without overlaps islines(routes_fast[2, ], routes_fast[3, ]) islines(routes_fast[2, ], routes_fast[22, ]) # sf implementation islines(routes_fast_sf[2, ], routes_fast_sf[3, ]) islines(routes_fast_sf[2, ], routes_fast_sf[22, ]) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.