הלוגו של OpenStreetMap OpenStreetMap

סמל דוא״ל סמל בלוסקיי סמל פייסבוק סמל לינקדאין סמל מסטודון סמל טלגרם סמל X

דיון

תגובה מאת Tordanik על 7 במאי 2021 בשעה 22:23

Yes, you could build something similar using Overpass API. Query all features matching your search criteria around your current location (you could use “around”, but a bounding box query should actually be faster and good enough) and sort the results by distance from your current location in your own code.

Defining sensible search criteria would be a bit of a challenge. At minimum, you’d want features where the cuisine or name tag contains “pizza”, with some tolerance for spelling variation. However, you would inevitably miss some places that serve pizza, but don’t advertise this in their name and are tagged with a different (or no) cuisine.

(Btw, cool project, but not exactly FLOSS – non-commercial use only.)

נא להיכנס כדי להשאיר תגובה