[PR #5789] feat: Nominatim OpenStreetMap search tool #25058

Closed
opened 2026-02-21 20:24:12 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/5789

State: closed
Merged: Yes


Description

This pull request introduces a new Nominatim OpenStreetMap search tool to Dify. The tool allows users to perform geocoding, reverse geocoding, and OSM object lookup using the Nominatim API. It supports both the public Nominatim service and self-hosted instances.

Key features:

  • Geocoding: Search for locations by address or place name
  • Reverse geocoding: Convert coordinates to addresses
  • OSM object lookup: Retrieve information about OSM objects by their IDs
  • Configurable base URL for self-hosted instances

This feature enhances Dify's capabilities in location-based applications.

Type of Change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Tested geocoding with various addresses and place names
  • Tested reverse geocoding with different coordinate pairs
  • Tested OSM object lookup with node, way, and relation IDs

Screenshot from 2024-06-30 17-36-46

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/5789 **State:** closed **Merged:** Yes --- # Description This pull request introduces a new Nominatim OpenStreetMap search tool to Dify. The tool allows users to perform geocoding, reverse geocoding, and OSM object lookup using the Nominatim API. It supports both the public Nominatim service and self-hosted instances. Key features: - Geocoding: Search for locations by address or place name - Reverse geocoding: Convert coordinates to addresses - OSM object lookup: Retrieve information about OSM objects by their IDs - Configurable base URL for self-hosted instances This feature enhances Dify's capabilities in location-based applications. ## Type of Change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functionality) # How Has This Been Tested? - [x] Tested geocoding with various addresses and place names - [x] Tested reverse geocoding with different coordinate pairs - [x] Tested OSM object lookup with node, way, and relation IDs ![Screenshot from 2024-06-30 17-36-46](https://github.com/langgenius/dify/assets/8712755/0194d082-b91a-4ced-8a4a-1c48ed8a8cf5) # Suggested Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] My changes generate no new warnings - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:24:12 -05:00
yindo closed this issue 2026-02-21 20:24:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#25058