mbus-backend
    Preparing search index...

    Function fetchLocationsByBoundingBox

    • NOTE: THIS FUNCTION IS CURRENTLY UNUSED. Queries the Overpass API for named locations (amenity, shop, tourism, leisure, office) within a bounding box. Missing address data is filled in via Nominatim reverse geocode. Results are saved as a JSON array to outputPath.

      Bounding box format: (south, west, north, east)

      Parameters

      • south: number
      • west: number
      • north: number
      • east: number
      • outputPath: string

      Returns Promise<LocationEntry[]>