Help files below man/
have been re-generated, so that
they give rise to valid HTML5 (#259).
oe_download()
and
oe_search()
now take advantage of httr
functionalities. They return informative messages in case of errors
(#231, #232).oe_vectortranslate()
that occurred when
reading multilinestrings
or other_relations
layers with one or more extra tags (#229).oe_get()
/oe_read()
that
could return a warning message when reading an existing GPKG file with a
query
argument.extra_tags
are now removed
before modifying the osmconf.ini
file. Duplicated tags
means something like extra_tags = c("A", "A")
or even
fields that are included by default
(i.e. extra_tags = "highway"
for the lines
layer). See discussion in #229.oe_get_network()
to import a road network used by a
specific mode of transport. For the moment, we support the following
modes of transport: cycling (default), walking, and driving. Check
?oe_get_network
for more details and examples (#218).layer
argument is now converted to lower case
before checking if the required layer is admissible.oe_get()
and
oe_vectortranslate()
for sf
v1.0.2.suppressMessages()
in
oe_match()
(#217)..Rd
file documenting the whole package.place
.oe_get_keys()
function can be used to extract the
values associated with all or some keys. We also defined an ad-hoc
printing method and fixed several bugs. The examples were improved.
Moreover, the function tries to match an input zone
with
one of the OSM extracts previously downloaded (#201 and #196).place
represents an
sf
/sfc
/bbox
object with missing
CRS, then oe_match()
raises a warning message and sets
CRS = 4326
. This has relevant consequences on other
functions (like oe_get()
) that wrap
oe_match()
.sf
> 0.9.8, the function
oe_vectortranslate()
stops with an error when there is a
problem in the argument vectortranslate_options
and
quiet = FALSE
(instead of raising a warning or crashing the
R
session). See here for more
details.c("-f", "GPKG", "-overwrite", "-oo", "CONFIG_FILE=", path-to-config-file, "-lco", "GEOMETRY_NAME=geometry", layer)
are always appended at the end of vectortranslate_options
argument unless the user explicitly sets different default parameters
for the arguments -f
, -oo
and
-lco
(#200). We believe those are sensible defaults and can
help users creating less verbose specifications for ogr2ogr
utility.oe_vectortranslate()
(therefore also in oe_get()
and oe_read()
)
named boundary
and boundary_type
. They can be
used to create an ad-hoc spatial filter during the vectortranslate
operations (and create even less verbose specifications in
vectortranslate_options
argument). See docs and
introductory vignette for more details.provider
was removed from
oe_match_pattern()
since the function automatically checks
all available providers (#208).force_vectortranslate
is checked before
reading the layers of an existing gpkg
file. If
force_vectortranslate
is TRUE
, then
oe_vectortranslate()
doesn’t check the existing layers.
This is important for user that run oe_vectortranslate()
after stopping the vectortranslate process.extra_tags
and osmconf_ini
are not ignored when vectortranslate_options
is not
NULL
(#182).sf
v1.0
(#194).oe_read()
via ...
are compared with the formals of st_read.character
,
st_as_sf.data.frame
, and read_sf
.oe_match
for bbox
objects (#185).oe_get_keys()
function can be applied to
.osm.pbf
objects (#188).oe_match()
.This is a minor release.
Published on CRAN!
level
parameter to oe_match()
. It is
used to choose between multiple hierarchically nested OSM extracts. The
default behaviour is to select the smallest administrative unit
(#160).oe_match()
. The function checks
all implemented providers in case the input place
is not
matched with any geographical zone for the chosen provider (#155).oe_match()
to geolocate text strings that cannot be found
in the providers (#155).oe_download_directory
and oe_download
(#150 and #161)oe_get_keys
returns an informative error when there is
no other_tags field in the input file (#158)geofabrik_zones
object (#167)oe_get()
(#152)oe_find()
and
oe_search()