islines: Do the intersections between two geometries create lines?

View source: R/overline.R

islinesR Documentation

Do the intersections between two geometries create lines?

Description

This is a function required in overline(). It identifies whether sets of lines overlap (beyond shared points) or not.

Usage

islines(g1, g2)

Arguments

g1

A spatial object

g2

A spatial object

See Also

Other rnet: gsection(), overline(), rnet_breakup_vertices(), rnet_group()

Examples

## Not run: 
# sf implementation
islines(routes_fast_sf[2, ], routes_fast_sf[3, ])
islines(routes_fast_sf[2, ], routes_fast_sf[22, ])

## End(Not run)

ropensci/stplanr documentation built on March 15, 2024, 4:32 a.m.