NeuronForm 3D map models
v0.1.0Design 3D-printable multi-colour map models from OpenStreetMap data, render them, and share them.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_places Search places
Searches places, streets, and house numbers in the place index of NeuronForm and returns candidates with name, lat, lon, and kind.
| Parameter | Type | Description |
|---|---|---|
query * | string | Place or address, 2 to 200 characters. |
lang | string | Language of the summaries and error messages; default en. |
limit | integer | Number of candidates; default 5. |
create_design Create design from brief
Compiles a short brief into a complete design with the configurator defaults; the centre given by place or lat and lon is the centre of tile 0. Invalid values fall back to their defaults with a notice naming the brief field. Change the result with edit_design.
| Parameter | Type | Description |
|---|---|---|
brief * | object | Design brief; place or lat and lon is required. |
lang | string | Language of the summaries and error messages; default en. |
edit_design Edit design
Changes a design and returns the complete changed design, validated against the rules and the limits of anonymous use. changes takes brief fields (an absent field keeps the design: width, rotation, model_width, exaggeration, relief, frame, colors, label, tiles, shape, or place or lat and lon to move the centre of tile 0); patch takes JSON Patch operations for every other field, applied after changes. The service stores no design: send the complete design every time and continue with the returned one.
| Parameter | Type | Description |
|---|---|---|
design * | object | Complete design (MapRequest) as create_design returns it; the full JSON schema is the resource neuronform://schema/design and get_design_guide explains every section. |
changes | object | Brief fields to change. tiles arranges a new compact layout, label replaces the text of the first edge label or adds one, colors without template keeps the other colours. |
lang | string | Language of the summaries and error messages; default en. |
patch | array | JSON Patch operations (RFC 6902 add, replace, remove) on the design JSON, applied after changes, such as {"op": "replace", "path": "/terrain/vertical_exaggeration", "value": 2.5} or {"op": "add", "pat… |
get_design_guide Get design guide
Returns the guide of one topic of the design JSON with the JSON schema of its fields.
| Parameter | Type | Description |
|---|---|---|
lang | string | Language of the summaries and error messages; default en. |
topic | string | Guide topic; default overview. |
find_map_elements Find map elements
Lists roads and paths, buildings, areas, or ground regions of the design with a ready-to-insert request fragment and its target path; a building also carries the placement of a custom house that replaces it.
| Parameter | Type | Description |
|---|---|---|
design * | object | Complete design (MapRequest) as create_design returns it; the full JSON schema is the resource neuronform://schema/design and get_design_guide explains every section. |
kind * | string | |
class | string | Feature class such as highway.residential, or a prefix such as highway. |
lang | string | Language of the summaries and error messages; default en. |
limit | integer | Number of elements; default 10. |
name | string | Text the element name contains. |
near | object | Orders the elements by distance from this point. |
tile | integer | Searches only this tile. |
edit_tiles Add or remove tiles
Adds a tile at, or removes the tile at, a compass side of a tile and returns the updated design.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
design * | object | Complete design (MapRequest) as create_design returns it; the full JSON schema is the resource neuronform://schema/design and get_design_guide explains every section. |
direction * | string | |
lang | string | Language of the summaries and error messages; default en. |
tile | integer | Reference tile; default 0. |
validate_design Validate design
Checks a design against the request rules, the limits of anonymous use, and the restricted areas without generating it.
| Parameter | Type | Description |
|---|---|---|
design * | object | Complete design (MapRequest) as create_design returns it; the full JSON schema is the resource neuronform://schema/design and get_design_guide explains every section. |
lang | string | Language of the summaries and error messages; default en. |
render_design Render design
Renders a design as an image, returns its summary, and opens the interactive 3D viewer where the host supports it. The default overview shows four 3D views from the north, east, south, and west beside the top view with north up and a scale bar, so proportions and relief read from every side; view top or oblique with a direction gives one larger view, resolution high doubles the size. A repeated render of the same design and options is answered from the cache.
| Parameter | Type | Description |
|---|---|---|
design * | object | Complete design (MapRequest) as create_design returns it; the full JSON schema is the resource neuronform://schema/design and get_design_guide explains every section. |
direction | string | Compass direction the camera of view oblique looks from, 35° above the horizon; default sw. Only with view oblique. |
lang | string | Language of the summaries and error messages; default en. |
resolution | string | standard (default) or high, which doubles the width and the height of the image. |
view | string | Image layout: overview (default, 1600 × 800 px: four 3D views and the top view), top (800 × 800 px top view with north up and scale bar), or oblique (800 × 800 px 3D view from direction). |
list_templates List templates
Lists published gallery templates with slug, title, and image URL; with a slug it returns the design of that template.
| Parameter | Type | Description |
|---|---|---|
lang | string | Language of the summaries and error messages; default en. |
slug | string | Template whose design is returned. |