将三维建筑导出为 PLY——一种用于点云和网格的简单格式。支持顶点颜色。广泛应用于科研和三维扫描。
主要特点

关于 PLY 格式
PLY is a Stanford University format, invented for the results of three-dimensional scanning. It is arranged as simply as can be: the header describes which properties vertices and faces have, and then come the data themselves. Thanks to that PLY became a working format in science and in point cloud processing — it is read by MeshLab, CloudCompare, Open3D, ParaView and Blender.
Its main difference from STL is support for colour right in the vertices. Where STL delivers only shape, PLY carries the colouring as well, so a city model stays readable: the types of development are visible by colour without assigning materials by hand.
The export contains the buildings of the selected area: outlines are extruded upward by height tags, and the colour of the development type is transferred into every vertex by averaging the colours of the adjacent faces. Coordinates are in meters from the centre of the area and the base is flat — there is no relief and no georeferencing in the model. By default the file is written in binary form (more compact and faster to read); the text variant is only needed if you intend to look through the contents by eye.
打开 PLY 文件的程序
以下程序可以打开、编辑和处理从 OSM2CDR 导出的 PLY (Stanford Polygon Format)(.ply)文件:
格式规格
- 开放标准
- 支持 3D 坐标
- 无损(无质量损失)
- 存储要素属性
- 输出:1 个文件
- Stanford PLY (Polygon File Format). Vertex/face mesh with optional per-vertex colour. Opens in MeshLab, CloudCompare, Blender.
谁在使用 PLY 地图
如何导出 PLY
导出后如何打开
- MeshLab (free) — open the model, look at the vertex colour, measure its overall dimensions, simplify the mesh if there are many buildings.
- CloudCompare (free) — compare the model with your point cloud from laser scanning or a drone survey, align the coordinate systems, compute deviations.
- Blender — File -> Import -> Stanford (.ply); to see the colouring, turn on vertex colour display in the material.
- Open3D in Python — o3d.io.read_triangle_mesh("map.ply") and then your own processing: slices, simplification, volume computation.
- ParaView — if the model goes into scientific visualization together with computed fields.
PLY 格式的热门地图
常见问题
相关格式
经常一起导出
Related Articles
PLY (Polygon File Format) — Stanford Format for Point Clouds and 3D Scanning
PLY is the Stanford Polygon File format by Greg Turk (1994): ASCII/binary, per-vertex attributes; standard for point clo
tutorialHow to Export 3D Buildings from OpenStreetMap to STL for 3D Printing
Step-by-step guide: export OpenStreetMap buildings with real heights to STL, glTF and OBJ for 3D printing, architectural
guide3D Maps from OpenStreetMap: All Export Formats
Overview of all 3D map export formats from OSM: STL, OBJ, glTF, FBX, IFC, CityJSON. Which to choose for your task.