powered by
Plot well-known geometry vectors
# S3 method for wk_wkt plot( x, ..., asp = 1, bbox = NULL, xlab = "", ylab = "", rule = "evenodd", add = FALSE )# S3 method for wk_wkb plot( x, ..., asp = 1, bbox = NULL, xlab = "", ylab = "", rule = "evenodd", add = FALSE )# S3 method for wk_wksxp plot( x, ..., asp = 1, bbox = NULL, xlab = "", ylab = "", rule = "evenodd", add = FALSE )
# S3 method for wk_wkb plot( x, ..., asp = 1, bbox = NULL, xlab = "", ylab = "", rule = "evenodd", add = FALSE )
# S3 method for wk_wksxp plot( x, ..., asp = 1, bbox = NULL, xlab = "", ylab = "", rule = "evenodd", add = FALSE )
A wkt() or wkb() vector.
wkt()
wkb()
Passed to plotting functions for features: graphics::points() for point and multipoint geometries, graphics::lines() for linestring and multilinestring geometries, and graphics::polypath() for polygon and multipolygon geometries.
graphics::points()
graphics::lines()
graphics::polypath()
Passed to graphics::plot()
graphics::plot()
The limits of the plot in the form returned by wkt_ranges().
wkt_ranges()
The rule to use for filling polygons (see graphics::polypath())
Should a new plot be created, or should x be added to the existing plot?
x
The input, invisibly.
# NOT RUN { # requires the wkutils package if (requireNamespace("wkutils")) { plot(as_wkt("LINESTRING (0 0, 1 1)")) plot(as_wkb("LINESTRING (0 0, 1 1)")) } # }
Run the code above in your browser using DataLab