CityGML到OBJ
提取一个CityGML文件并为每个建筑物创建一个OBJ文件
用法
重击:
npm install citygml-to-obj
javascript:
var citygml2obj = require ( "citygml-to-obj" ) ;
var options = {
// Path to CityGML input file
citygmlPath : "/path/to/some.gml" ,
// Path to OBJ output directory
objPath : "/path/for/obj/output/" ,
// Used to project CityGML coords to WGS84
// This projection is an example for the Berlin CityGM
1