Description Usage Arguments Details Value
Read a GPX file. By default, it reads all possible GPX layers, and only returns shapes for layers that have any features.
1 2 3 4 5 6 |
file |
a GPX filename (including directory) |
layers |
vector of GPX layers. Possible options are |
remove.empty.layers |
should empty layers (i.e. with 0 features) be removed from the list? |
as.sf |
not used anymore |
Note that this function returns sf
objects, but still uses methods from sp and rgdal internally.
a list of sf objects, one for each layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.