Description Usage Arguments Value See Also Examples
Set or get the SpatialPoints
that represent
the shot location for the photograph represented by a
CanopyPhoto
.
1 2 3 4 5 6 7 | geoLocation(x)
## S4 method for signature 'CanopyPhoto'
geoLocation(x)
## S4 replacement method for signature 'CanopyPhoto,SpatialPoints'
geoLocation(x) <- value
|
x |
|
value |
|
SpatialPoints
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | x <- loadPhoto()
geoLocation(x)
xy <- matrix(c(-57.95, -34.93), ncol = 2)
newPt <- SpatialPoints(xy, proj4string = CRS("+init=epsg:4326"))
geoLocation(x) <- newPt
geoLocation(x)
## Not run:
xy <- matrix(c(-57.95, -34.93, -57, -34), ncol = 2)
newPt <- SpatialPoints(xy, proj4string = CRS("+init=epsg:4326"))
geoLocation(x) <- newPt
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.