Environment Information
- geoagent version: 1.7.1
- Python version: 3.11.14
- Operating System: Windows 11
Description
I am trying to add OpenStreetMap XYZ tile using Openai-codex. The resulting layer has url like this "https%3A%2F%2Ftile.openstreetmap.org%2F{z}%2F{x}%2F{y}.png" with endcodings. It cannot load the OSM layer.
I tried with other Providers (Gemini, Ollama-minimax-m2.5:cloud, Ollama-qwen3.5b, Ollama-gemma4:e4b). Got same urls in the layer.
I also ask python code to add OpenStreetMap tile layer and the code worked perfectly and gave a layer with clean url "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
What I Did
My prompt: Add OpenStreetMap XYZ tiles layer
OpenGeoAgent
Added XYZ tile layer: OpenStreetMap.
Tool inputs:
add_xyz_tile_layer: attribution=© OpenStreetMap contributors, name=OpenStreetMap, url=https://tile.openstreetmap.org/{z}/{x}/{y}.png, zmax=19, zmin=0
Tools: add_xyz_tile_layer
Environment Information
Description
I am trying to add OpenStreetMap XYZ tile using Openai-codex. The resulting layer has url like this "https%3A%2F%2Ftile.openstreetmap.org%2F{z}%2F{x}%2F{y}.png" with endcodings. It cannot load the OSM layer.
I tried with other Providers (Gemini, Ollama-minimax-m2.5:cloud, Ollama-qwen3.5b, Ollama-gemma4:e4b). Got same urls in the layer.
I also ask python code to add OpenStreetMap tile layer and the code worked perfectly and gave a layer with clean url "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
What I Did
My prompt: Add OpenStreetMap XYZ tiles layer
OpenGeoAgent
Added XYZ tile layer: OpenStreetMap.
Tool inputs:
add_xyz_tile_layer: attribution=© OpenStreetMap contributors, name=OpenStreetMap, url=https://tile.openstreetmap.org/{z}/{x}/{y}.png, zmax=19, zmin=0
Tools: add_xyz_tile_layer