Export a GLB
Write a textured GLB from the command line, from a project or straight from the network.
From a project
--open exports a saved project with a surface graph, with no network connection. The area, the imagery, the elevation and the settings all come from the project.
landmeld-cli --open emerald_bay.land --surface winter.json --output emerald_bay_winter.glb
--surfaceis the surface graph as a JSON file. Its Height output shapes the ground and its Color output makes the texture.- The output must be a GLB, not a
.land. - A graph that reads the land cover or uses a Filter node (Erosion, Blur or Grow) is refused. Export those from the app.
- If the graph reads map data, the project must have been downloaded with
--map.
Straight from the network
Without --open, an output that does not end in .land is written as a GLB directly. It takes the same area, imagery and elevation options as downloading a place, but not --map.
landmeld-cli --center-lon -120.1050 --center-lat 38.9545 --width-m 4000 \
--output emerald_bay.glb
Regenerating a project
--sources builds a new project from the data an existing project already holds, with no network connection. The output must be a .land.
landmeld-cli --sources emerald_bay.land --mesh-spacing-m 10 --output emerald_bay-10m.land
See GLB tiles for what the file contains.