Description Usage Arguments Details Value Author(s) See Also Examples
Create a Star object around a central point
1 2 | create_star(UrbanCenter, BeamWidth = 10000, BeamLength = 70000,
NSegments = 10, NBeams = 8)
|
UrbanCenter |
a SpatialPoint object |
BeamWidth |
width of each beam in meters |
BeamLength |
length of each beam in meters |
NSegments |
number of segments of each beam |
NBeams |
the number of beams of the star |
This function creates a Star object around a given UrbanCenter
.
It consists of NBeams
times NSegments
equally sized polygons of length BeamLength/NSegments
and width BeamWidth
,
arranged in NBeams
equally spaced beams of length Beamlength
.
The returned Star is a SpatialPolygonsDataFrame and is unprojected in WGS84 (EPSG:4326).
It contains a field "OverallId" which contains unique ids for each segment, the first 6 numbers indicating the beam, the latter 6 numbers indicating the segment.
SpatialPolygonsDataframe
Johannes Mast
create_beam
,
create_star_click
1 | create_star_click(UrbanCenter)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.