vector - AutoCAD 绘图 (DWG) 到 map 图 block

标签 vector autocad dwg maptiler

渲染大型 DWG 文件在很大程度上显示出性能下降。计划通过传单使用 map 图 block 的概念。需要一些有关如何将 DWG 文件转换为 map 图 block 的指示/信息。

最佳答案

经过太多时间,到处寻找使用任何自动化命令行工具转换 DWG/DXF 文件的解决方案,最后我找到了 QCAD.org .

甚至可以在 Windows、MacOS 和 Linux 上运行。

快速查看文档后,我发现 the section for command line tools .

他们是:

dwg2bmp, dwg2png, dwg2jpeg, dwg2tiff, dxf2png, dxf2jpeg, dxf2tiff

还有很棒的:

dwg2maptiles and dxf2maptiles

使用这个工具,他们使用 leaflet.js 制作了一个漂亮的示例: http://qcad.org/res/map/

The project is OpenSource, but this scripts are only avaliable at QCAD Professional edition. You can use the free open source QCAD Community Edition by downloading the trial version for your platform (Win, Mac, Linux) and then remove the QCAD Professional add-on running in trial mode. Alternatively, you may compile your own package from sources.

PS:我很高兴支持该项目购买专业副本。

关于vector - AutoCAD 绘图 (DWG) 到 map 图 block ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41220477/

相关文章:

c++ - 获取 'vector subscript out of range' 错误

c++ - operator+ 和 operator= 的运算符重载 C++

java - 我们如何使用 AutoCAD 使用 Java 以编程方式从 DWG/DNG 文件创建 PDF?

autocad - Java 库以编程方式将 AutoCAD .dwg 文件转换为 PDF 或图像?

r - rgdal 包中的 readOGR 是否支持 DWG 文件?

java - 如何从 Java 打印 DWG 文件

C++ 方法变量声明

python - pySpark如何访问(键,元组)RDD中元组中的值(python)

c++ - 视觉口齿不清 : how to call functions in external C++ DLL

lisp - AutoCAD 中的 AutoLISP 函数错误参数