sf::gdal_utils("vectortranslate", "OAPIF:https://ogc-api.nrw.de/inspire-us-feuerwehr", tf <- tempfile(tmpdir = "/vsimem", fileext = ".fgb"), options = c("-f", "FlatGeobuf", "-where", "name = 'Schwelm'"))
terra::vect(tf)
class : SpatVector
geometry : points
dimensions : 1, 22 (geometries, attributes)
extent : 381347.8, 381347.8, 5682950, 5682950 (xmin, xmax, ymin, ymax)
source : file75f1385c8c91.fgb (governmentalservice)
coord. ref. : ETRS89 / UTM zone 32N (EPSG:25832)
names : id name inspireId serviceType.title serviceType.href
type : <chr> <chr> <chr> <chr> <chr>
values : LtS01 Schwelm https://geodat~ Brandschutzdienst http://inspire~
areaOfResponsibility.1.title areaOfResponsibility.1.href
<chr> <chr>
Breckerfeld https://regist~
pointOfContact.address.thoroughfare pointOfContact.address.locatorDesignator
<chr> <chr>
Hauptstr. 92
pointOfContact.address.postCode (and 12 more)
<chr>
58332
and with gdalraster (there'd be a way to use "where" to avoid the layer name in the sql)