LandXML is an open XML vocabulary from the Autodesk, Bentley, and Trimble consortium (1999) for exchanging civil engineering and surveying data between AutoCAD Civil 3D, Bentley OpenRoads, Trimble Business Center, and Russian CREDO, IndorCAD, Topomatic. Our exporter produces a valid LandXML 1.2 document: buildings become Parcel elements with CoordGeom geometry, roads become PlanFeature from Line segments, and point objects become CgPoint. Honest about limits: coordinates are emitted in WGS84 (lat/lon), not a projection, so before designing in Civil 3D they must be re-registered to a local metric system (UTM, national grid). We write straight segments with no transition clothoids — OSM stores no curve parameters — so this is an OSM context basemap, not a geodetically verified survey.
主要特点

关于 LandXML 格式
LandXML is an open XML vocabulary for exchanging survey and civil engineering data: parcels, alignments, surfaces, survey points. It is supported by AutoCAD Civil 3D, Bentley OpenRoads and Trimble Business Center, and among Russian packages by CREDO, IndorCAD and Topomatic, which keeps the format a neutral bridge between different schools of software.
OpenStreetMap maps are exported to LandXML for the sake of context in a project: the streets and blocks next to the site, showing the surroundings of a future road or platform. It is a base plan for the concept stage, not a replacement for a survey.
In a LandXML 1.2 document buildings become Parcel objects (green zones are marked as Open Space, other polygons as Lot), roads become PlanFeature elements made of straight segments, and point features become CgPoint. Names are taken from the name, addr:street and ref tags, so streets and addresses read right in the object list. The limit is 50,000 objects per file.
Two honest limitations. Coordinates are written out in WGS84, that is in degrees of latitude and longitude, whereas LandXML is meant for flat metric coordinates — before working, the data has to be reprojected into a local system (UTM, MSK, State Plane). And curves: OSM stores roads as polylines, so there are no radii and no transition spirals in the file, and the horizontal alignment geometry has to be built anew.
打开 LandXML 文件的程序
以下程序可以打开、编辑和处理从 OSM2CDR 导出的 LandXML — Surveying & Civil Engineering Data Exchange(.xml)文件:
格式规格
- 开放标准
- 仅 2D
- 无损(无质量损失)
- 存储要素属性
- 输出:1 个文件
- A valid LandXML 1.2: buildings -> Parcel, roads -> PlanFeature of straight Line segments, points -> CgPoint; coordinates in WGS84 (not projected), no transition clothoids.
谁在使用 LandXML 地图
如何导出 LandXML
导出后如何打开
- AutoCAD Civil 3D — Import LandXML; first assign a local coordinate system to the drawing, otherwise objects in degrees will collapse into a point at the origin.
- Reprojecting beforehand — ogr2ogr or QGIS will convert the data into UTM or MSK, if it is more convenient to get metric coordinates before importing.
- Bentley OpenRoads Designer and Trimble Business Center — a standard LandXML import, with the same order of operations for the coordinate system.
- CREDO, IndorCAD, Topomatic — LandXML import exists in these product lines; after loading, check that the units were read as meters.
- Viewing without CAD — the file is text: xmllint --format will show the structure with the Units, CoordinateSystem, Parcels, PlanFeatures and CgPoints blocks.
LandXML 格式的热门地图
导出 LandXML — Surveying & Civil Engineering Data Exchange 地图
从 OpenStreetMap 下载专业的 LandXML 地图。即时生成,任意区域。