Skip to main content
Glama

Create GeoJSON / OSM city visualization

create_geo_visualization

Convert GeoJSON map data into a 3D city visualization with extruded buildings and streets. Projects coordinates using Mercator projection and builds node network in TouchDesigner for instant preview.

Instructions

Turn GeoJSON (e.g. OpenStreetMap-derived) into a 3D city visualization. Reads Point / LineString / Polygon / Multi* features, projects lat/long via a Mercator projection normalized to a unit box, and builds a Script SOP that lays out point clouds for points and polylines for streets/building footprints — optionally extruded into 3D ribbon 'walls' using each feature's numeric 'height' property — all wrapped in a Geometry COMP under a camera+light Render TOP for instant preview. NOTE: OpenStreetMap map data is © OpenStreetMap contributors and licensed under the Open Database License (ODbL); you must attribute it when visualizing OSM-derived data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoBase name for the container COMP.geo_viz
scaleNoWorld-units per projected unit. The projection is normalized to [-1,1] then scaled.
extrudeNoExtrude polygon/line features into 3D 'buildings' using each feature's 'height' property (default height when missing).
geojsonYesA GeoJSON FeatureCollection (or single Feature). Only geometry coordinates + an optional numeric 'height' property are read.
parent_pathNoCOMP to create the geo visualization container in (default '/project1')./project1
default_heightNoHeight (world units) for extruded features lacking a numeric 'height' property.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description reveals key behaviors beyond annotations: it reads features, projects coordinates, builds a Script SOP, optionally extrudes using 'height' property, and wraps everything in a Geometry COMP with a camera+light Render TOP. It also notes OSM attribution requirements. No contradictions with annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single paragraph that front-loads the main purpose and then details the process. It is informative without being verbose, though it could be more structured (e.g., separate sections). The OSM attribution note is included but does not detract from conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description provides sufficient context: input format, geometry support, projection, extrusion, and preview setup. It covers the main use case (city visualization) and legal considerations. Missing details like output appearance (3D city) are implied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds meaning by explaining the projection process, how extrusion works (using 'height' property, default_height), and the geojson structure expectations. This adds value beyond the schema descriptions alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Turn GeoJSON... into a 3D city visualization.' It specifies supported geometry types (Point, LineString, Polygon, Multi*), projection method (Mercator), extrusion capability, and preview setup (Geometry COMP + Render TOP). This distinguishes it from sibling tools like 'create_data_visualization' or 'create_3d_scene' by focusing on GeoJSON input.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implicitly indicates usage when you have GeoJSON data, but it lacks explicit guidance on when to use this tool versus alternatives (e.g., for non-geographic data or other 3D visualizations). No prerequisites or exclusions are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pantani/tdmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server