sp_rel_xref | R Documentation |
After typing "esriSpatialRelIntersects" into 4 to 5 functions, you'll get
pretty sick of typing that. This function serves to allow shorthand strings
to be passed to the sp_rel
arguments of the
get_layers_by_spatial
family of functions. For example, you can
pass "intersects" to this function and it will return
"esriSpatialRelIntersects"
sp_rel_xref(x)
x |
A character string. One of "contains", "crosses", "envelopeintersects", "indexintersects", "intersects", "overlaps", "relation", "touches", "within" |
The appropriately named ESRI version of x
. For example,
an x
value of "intersects" returns "esriSpatialRelIntersects"
sp_rel_xref("intersects")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.