Convert file format of osm files
1 | osmt_convert(file, format_out = "o5m", drop_author = TRUE, bbox = NULL)
|
file |
path to file |
format_out |
format to convert to |
drop_author |
logical, reduce file size by removing author info |
bbox |
sf bbox, from st_bbox(), or a 2x2 matrix lng/lat coordinates for bottom left and top right corners |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.