OBJ 是一种经典的三维网格格式,所有三维软件均支持。建筑会被拉伸成三维,导出内容包含带材质的 MTL 文件。文本格式,易于阅读和编辑。
主要特点

关于 OBJ 格式
OBJ is a text format for describing three-dimensional geometry, invented by Wavefront and since then turned into the common language of 3D software: a list of vertices and faces plus a separate .mtl file with materials. It is read by Blender, 3ds Max, Maya, Cinema 4D, SketchUp, MeshLab and game engines — usually with no import settings at all.
An OSM map is exported to OBJ when you need not a picture but a volumetric model of a city block: a base for architectural visualization, an environment for a scene in a game engine, the foundation for a video or a physical model. Instead of modelling houses by hand you get ready-made development and then work with your own object on top of it.
Only buildings make it into the model: outlines are extruded upward to the height from the height or building:levels tags (at three meters per floor), and if there are no tags — to a neutral value so that a house does not stay flat. The colour of each building is set by the type of development and written into the .mtl. Coordinates are meters from the centre of the selected area and the base is flat: there is no relief in the model, and no georeferencing either. You download a ZIP archive with a pair of .obj and .mtl files that need to be kept together.
打开 OBJ 文件的程序
以下程序可以打开、编辑和处理从 OSM2CDR 导出的 Wavefront OBJ(.obj)文件:
格式规格
- 开放标准
- 支持 3D 坐标
- 无损(无质量损失)
- 无属性
- 输出:归档中 2 个文件
- Wavefront OBJ + MTL material file (ZIP). Universal 3D mesh format; opens in Blender, Maya, 3ds Max, Cinema 4D.
谁在使用 OBJ 地图
如何导出 OBJ
导出后如何打开
- Blender (free) — File -> Import -> Wavefront (.obj); the model arrives with materials if the .mtl is in the same folder. From there, render, edit the geometry or export into another format.
- 3ds Max, Maya, Cinema 4D — standard OBJ import; the scale is already in meters, so it is enough to set the scene units to meters.
- MeshLab (free) — quickly look at the model, measure its overall dimensions, simplify the mesh if there are many buildings.
- Unreal Engine or Unity — drag the .obj into the project as a static environment mesh; materials are usually reassigned with the engine's own tools.
- For 3D printing — first check the model in a slicer or in MeshLab: it is more convenient to print from the STL format, which we deliver separately.
OBJ 格式的热门地图
常见问题
与其他格式比较
相关格式
经常一起导出
Related Articles
OpenStreetMap to SketchUp: import real buildings and terrain as a 3D model
How to bring OpenStreetMap buildings and terrain into SketchUp via COLLADA, OBJ or glTF: import, units and scale, geoloc
formatGLB and a 3D city map: download a buildings model in GLB, OBJ or STL
What GLB is, how to open it on Windows, online and in Blender, and how to download a 3D city buildings model straight to
formatWavefront OBJ — 3D Format Since 1990: ASCII Structure, .mtl, and OSM Building Export
OBJ deep dive: line-based ASCII from Wavefront Technologies, .mtl companion materials, OSM building extrusion via buildi