Open tordans opened 5 years ago
Hello, thanks for this question. As now, it is not directly possible to do so. You have to retrieve the whole data for an area, and then filter manually. Filtering can be done more simply using osmtogeojson library, which can transform OSM XML data we retrieve into a GeoJSON feature collection.
However, this is obviously a nice-to-have feature, and it would be great to see this implemented ;-)
Hi @PanierAvide, is there a way to fetch data from an overpass like query? Something like
fetchMapByBbox
but with a search or filter param that will request less data?Or maybe the other way around, is there a way to do the request to overpass outside this library, but then parse the response xml with osm-request so I get a nice object representation for the data which I can continue working with?
Thanks
Disclaimer: I am new to this :).