OSM map: get STL instead of converting GeoPackage → STL
Looking to turn a map from GeoPackage into STL? If your data comes from OpenStreetMap, you do not need an intermediate GeoPackage file: osm2cdr builds the map straight from the OSM source and hands you a ready STL. That is faster and more accurate than the chain "download GeoPackage → upload to a converter → get STL": you pick an area on the map, choose the STL format and download the result with up-to-date OSM data and layers for buildings, roads, water and features.

How GeoPackage differs from STL
| Format | Extension | Type | Purpose |
|---|---|---|---|
| GeoPackage | .gpkg | GIS | Mobile GIS, Shapefile replacement, multi-layer data storage, offline maps |
| STL | .stl | 3D | 3D printing city models, prototyping, architectural mockups, souvenir miniatures |
How to get STL on osm2cdr
- 1Select an area on the map on the osm2cdr home page
- 2Choose the STL format and, if needed, a style and CRS
- 3Click Export and download the ready STL file
STL format properties
| Extension | .stl |
| Type | 3D |
| Purpose | 3D printing city models, prototyping, architectural mockups, souvenir miniatures |
When you need STL
The STL format is handy when you need to open the result in a dedicated program and keep working with the map: editing, printing, analysing or embedding it in a project. osm2cdr delivers STL split into layers with up-to-date OpenStreetMap data, so the file is ready to use right after download.
What changes when going GeoPackage → STL
Going GeoPackage → STL, 2D building footprints are extruded into volumes by height or floor count, while non-area objects (lines and points) are dropped. The result targets 3D printing and visualisation. osm2cdr takes building footprints from OpenStreetMap and builds STL directly, with no intermediate GeoPackage file.
If you have your own GeoPackage file (not from OSM)
osm2cdr does not accept or convert third-party GeoPackage files: the service works only with OpenStreetMap data. If you already have your own GeoPackage file that is not from OSM, convert it to STL with third-party tools: GDAL/ogr2ogr from the command line or QGIS — open the GeoPackage and save the layer as STL. It is free and runs locally, with no cloud upload.
FAQ: GeoPackage → STL
Can I upload my GeoPackage file?
Not yet: we don't support uploading GeoPackage files at the moment, so convert your file to STL with ogr2ogr or QGIS. And if your data comes from OpenStreetMap, you don't need a file at all — osm2cdr exports the map straight into STL.
Is it free?
Yes, exporting an OpenStreetMap map to STL on osm2cdr is free. Select an area, the STL format and download the result.
Which programs open STL?
The STL format opens in dedicated programs for its category. See the STL format page for the full list and details.
Why is this better than an online GeoPackage → STL converter?
An online converter caps the result quality at the quality of the source GeoPackage file. osm2cdr takes data from the OpenStreetMap source and builds STL with correct layers directly — with no loss on an intermediate GeoPackage file.