This is a Python application that fetches business data from OpenStreetMap using the Overpass API. The application allows you to input geographical coordinates, radius, and business categories, then retrieves relevant data such as name, address, and phone number. The fetched data can be saved to an Excel file, and duplicate entries can be removed.
- Input latitude, longitude, and search radius (in kilometers)
- Select business categories from a predefined list (e.g., restaurants, banks, shops)
- Display categories in an organized grid format for easy selection
- Centered "Check All" and "Uncheck All" buttons for user convenience
- Fetch business data based on the selected categories
- Exclude businesses without a phone number with a simple checkbox
- Remove duplicate business names
- Save the results in an Excel file (
businesses.xlsx) - Interactive map integration for selecting location coordinates
- Clickable link to the developer's website and a GitHub repository button
- Fixed-size GUI for a consistent user experience
The app requires the following Python modules:
requeststkinteropenpyxltkintermapview
If the modules are not installed, the app will automatically install them.
- Clone the repository or download the script.
- Run the script, and it will check for required modules and install them if missing.
- Enter the latitude, longitude, and search radius.
- Use the interactive map button to select location coordinates if needed.
- Select the business categories you want to include from the grid layout.
- Click
Check AllorUncheck Allfor convenient category selection. - Click
Fetch Businessesto retrieve the data from OpenStreetMap. - Click
Remove Duplicate Namesto remove any duplicate businesses from the results. - Check the
Exclude entries without phone numberoption if needed. - Click
Save Datato save the results in an Excel file. - Use the GitHub button to access the project repository or the developer link to visit the website.
- Data fetched from OpenStreetMap
- Overpass API for querying OpenStreetMap data
- 2024/10/21 - Initial release.
- 2024/10/21 - Added "osm_business_scraper_advanced.py" for advanced filter handling in API requests.
- 2024/11/04 - Enhanced GUI with fixed window size (645x888), organized category grid, added interactive map feature, added GitHub repository button, added website link.
- 2024/11/05 - Translated the app and adjusted the GUI for French (FR) and Spanish (ES). Compiled both and added to the release repo.
Clément GHANEME - 2024/11

