Actions16
Overview
This node integrates with the AMap (Gaode Map) API, specifically providing functionality for POI (Point of Interest) search. The "ID查询" (ID Query) operation under the "POI搜索" (POI Search) resource allows users to retrieve detailed information about a specific POI by supplying its unique identifier (Poiid). This is useful in scenarios where you have a known POI ID and want to fetch its details such as location, name, address, or other metadata.
Practical examples include:
- Fetching detailed information about a landmark or business when you have its POI ID.
- Validating or enriching datasets containing POI IDs with additional geographic or descriptive data.
- Integrating with mapping or location-based services that require precise POI details.
Properties
| Name | Meaning |
|---|---|
| AOI 唯一标识 | The unique identifier of the Area of Interest (AOI). You can input one POI ID to query. |
Output
The node outputs JSON data representing the details of the queried POI corresponding to the provided ID. This typically includes fields such as the POI's name, location coordinates, address, contact information, and other relevant metadata returned by the AMap POI API.
If the node supports binary data output, it would generally relate to map images or related media, but based on the provided code and properties, the primary output is structured JSON data about the POI.
Dependencies
- Requires an API key credential for the AMap service to authenticate requests.
- The base URL for API requests is configured via credentials.
- Network access to the AMap API endpoints is necessary.
Troubleshooting
- Invalid or missing POI ID: Ensure that the "AOI 唯一标识" property is correctly set with a valid POI ID. An empty or incorrect ID will result in errors or no data returned.
- Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
- API rate limits or quota exceeded: The AMap API may limit the number of requests; monitor usage to avoid hitting these limits.
- Network issues: Confirm network connectivity to the AMap API endpoint.
- Unexpected API responses: Since HTTP status errors are ignored by default, check the response content for error messages if results are not as expected.
Links and References
- AMap Official Documentation
- AMap POI Search API (for detailed parameters and response structure)