Brief IA
›

GPT-6 Astra Generates OSM Routes, Code Not Accessible

AI Tools·Tom Levy·

GPT-6 Astra Generates OSM Routes, Code Not Accessible

GPT-6 Astra Generates OSM Routes, Code Not Accessible
Key Takeaways
1A user generated 5 km and 10 km routes with ChatGPT Work and GPT-6 Astra in 27 minutes
2The results include integrated visualization, GPX and GeoJSON files, and a dedicated HTML file
3The Python code used could not be retrieved, as the thread compaction removed the context
Why it matters : The experience highlights the AI's route generation capability, but also the limitations of traceability and access to code in current interfaces.

A user obtained ready-to-use 5 km and 10 km routes with ChatGPT Work and GPT-6 Astra, delivered in 27 minutes with integrated maps and downloadable files. However, the experience highlighted the lack of visibility on the executed code and the impact of thread compaction on script retrieval.

Invisible Code and Thread Compaction Prevent Python Export

The exact code executed was not accessible in the ChatGPT interface, which was perceived as a lack of transparency. When the user attempted to obtain a copy of the Python script used, the assistant was unable to provide it. This inability seems related to the compaction of the discussion thread. The user believes that LLM systems applying compaction should preserve the text before compaction and make it accessible through agent tool calls.

Le brief IA que lisent les pros

Le brief IA que les pros lisent chaque soir

Les 7 actus IA du jour, décryptées en 5 min. Gratuit.

Inclus dès l'inscription : notre sélection des meilleurs guides & comparatifs IA.

Choisissez votre rythme

Gratuit · Pas de spam · Désabonnement en 1 clic

In 27 Minutes, Ready-to-Run and Download Loops

The generation took 27 minutes and resulted in an integrated visualization as well as downloadable GPX and GeoJSON files. A file named /workspace/el-granada-5k-share.html was created to embed the map in the ChatGPT interface. The HTML fragment displays a header "El Granada harbor loop" with a distance of 5.1 km, identified containers for display, and an attribution link to OpenStreetMap contributors.

OSM Routes via Nominatim, Overpass, and D3 under Strict CSP

The assistant indicated that it used Nominatim to locate the address, then Overpass to download local roads and trails from OpenStreetMap, before calculating the loops locally. The map display utilized the visualization skill, with a JSON script containing the complete geometry and rendering ensured by D3 loaded from an authorized CDN. The content security policy of the visualization skill only allows certain domains, while other origins are blocked and fail without an error message. The initial request was for 5 km and 10 km loop routes from an address, based on OpenStreetMap data.

Brief IA — L'actualité IA en français

L'essentiel de l'actualité de l'intelligence artificielle, décrypté et expliqué chaque jour.