ropensci / osmextract

Download and import OpenStreetMap data from Geofabrik and other providers
https://docs.ropensci.org/osmextract
GNU General Public License v3.0
170 stars 12 forks source link

[FEATURE] Extend oe_match_pattern to numeric input #266

Closed agila5 closed 1 year ago

agila5 commented 2 years ago

Is your feature request related to a problem? Please describe. It would be nice to extend oe_match_pattern() to allow numeric inputs (e.g. oe_match_pattern(c(9, 45))) and return all matches according to a geographical pattern. Could help with https://github.com/udsleeds/openinfra/issues/113.

Describe the solution you'd like Add an S3 method dispatch and a new function.

Describe alternatives you've considered ...

Additional context ...