Given a tessellation on a linear network, and a list of points on the network, determine which tile of the tessellation contains each of the given points.
Vectors of local coordinates of the query points. See Details.
A tessellation on a linear network (object of class
Internal use only.
This low-level function is
the analogue of
tileindex for linear networks.
For a tessellation
Z on a linear network,
and a list of query points on the same network,
the function determines which tile of the tessellation
contains each query point.
Z should be a tessellation on a linear network
(object of class
tp specify the locations
of the query points, on the same network, using local coordinates:
seg contains integer values specifying which
segment of the network contains each query point;
tp contains numeric values between 0 and 1 specifying the
fractional position along that segment.
The result is a factor, of the same length as
indicating which tile contains each point. The levels of the factor
are the names of the tiles of
A factor, of the same length as
whose levels are the names of the tiles of
as.linfun.lintess to create a function whose
value is the tile index.
cut.lpp for a neater way to classify
the points of a point pattern on a linear network
according to a tessellation on the network.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.