OSM2CDR and Terrain2STL: a comparison by the numbers
Terrain2STL is a free web service with public source code at jthatch.com: a box on the map becomes an STL terrain model built from SRTM3 data (about 90 m). OSM2CDR hands over a file of an OpenStreetMap area from the browser: the catalogue holds 140 formats, 139 of them served now, including STL with buildings, roads and greenery on the Copernicus DEM GLO-30 relief and a separate terrain mesh. Below are the figures from both sides and our own gaps. The Terrain2STL data was taken from its page and repository on 2026-11-26.
Checked on 2026-11-26. https://jthatch.com/Terrain2STL/
| Criterion | OSM2CDR | Terrain2STL |
|---|---|---|
| Where it runs | in the browser: a frame on the map or a place from the catalogue, the file is built on the server from our copy of OpenStreetMap; no program to install and no data to download beforehand | a web page with a map and a red selection box; the C generator (celevstl) and the Node.js server can be built with make and run on your own machine (the README) |
| Data | our copy of OpenStreetMap (buildings, roads, water, greenery) and the Copernicus DEM GLO-30 elevation model (about 30 m) | elevation only: SRTM3 from 2000, about 90 m at the equator (the service page); the generator reads HGT files (the README) |
| Export formats | 140 in the catalogue, 139 served now | 1: STL |
| Model for 3D printing | STL comes as a zip with model.stl and separate parts (buildings, roads, greenery, base); where our Copernicus DEM GLO-30 covers the area, buildings and the base sit on the relief. A separate Terrain Mesh format gives the bare relief surface as STL, OBJ, PLY, GLB or glTF, with vertical exaggeration from 0.1 to 10 | a terrain surface with sliders: vertical scaling from 0.5 to 4, box rotation from -90 to 90 degrees, water drop from 0 to 5 mm, base height from 1 to 10 mm |
| Area ceiling per order | 5 km2 at maximum detail, 20000 km2 at city level, the whole planet at overview level | not set in km2: box width and height are sliders from 60 to 2,700 arc seconds (0.75 degrees), multiplied by a scaling factor from 1 to 20 (the page controls) |
| What the model contains | buildings, roads, water and greenery from OpenStreetMap in layers by feature type, and in STL the relief as well | the terrain surface from HGT elevation files (the README) |
| Drafting formats (DWG, DXF, CDR) | yes: DWG, DXF and CDR are among the catalogue formats | no: the output is STL only |
What we do not have
- We are not open source: the Terrain2STL code is public on GitHub, while the source of our service is closed.
- There are no sliders for box rotation, water drop or base height in millimetres: of the relief settings we have vertical exaggeration and the choice of container for the terrain mesh.
- There is no offline mode: the map is built on our server, not on your computer.
What their site shows
- The README calls Terrain2STL a web-based service that converts publicly available HGT elevation files to STL files.
- The ThatcherC/Terrain2STL repository was created on 2014-11-06; the latest push according to the GitHub API was on 2026-10-03.
- According to the README, the service runs on a Google Compute Engine server and is updated soon after each commit to the repository.
- The generator takes the north-west corner, the width and height in model points, vertical scaling, rotation angle, water drop, base height, step size (HGT cells per model point), the folder with HGT files and the output file name.
- The box is placed by the coordinates of its north-west corner or by dragging it on the map; the Center to View button moves it to the centre of the visible map.
- The page states that the box looks skewed on the map when rotated, but the model follows the real terrain.
- Water drop lowers the ocean surface so the coast stands out; base height adds thickness to the bottom, which helps near sea level.
- Only a few HGT files ship with the repository; for the full SRTM3 set the README points to the USGS archive.
- The test command in the README builds a model of Rockport harbour (44.1928, -69.0851) of 40 by 40 points.
- The finished model is downloaded with the Download button after the Generate Model button on the same page; the form asks for no registration.
Data licence: ODbL
Our files are built from OpenStreetMap data. The OpenStreetMap database is released under the Open Database License (ODbL) 1.0, and its cartography under CC BY-SA 2.0.
ODbL permits commercial use: the file may go into a project, into print and into sale. Two conditions apply. First, credit the source: «© OpenStreetMap contributors». Second, if you publish a modified or extended DATABASE, it must be released under the same terms; this does not extend to a drawing in which the map became a background.
We hand the attribution over with the file: the line «© OpenStreetMap contributors» goes into the sheet caption and into the export metadata, and for terrain the elevation source is printed next to it. Nothing has to be added by hand — it is enough to keep that line visible.
Licence texts: https://opendatacommons.org/licenses/odbl/, https://www.openstreetmap.org/copyright