乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 101|回复: 4

[编程交流] Stuck - extracting a single la

[复制链接]

1

主题

3

帖子

2

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-5 17:42:26 | 显示全部楼层 |阅读模式
1st post! I'm very new to all this, still at the "what are the right questions?" stage.
 
Working with a .DWG file which contains around 60 layers but only need a few of them. How would I get these layers into a separate DWG file?
 
The end goal is to convert the DWG file into a shp file and then convert that into a kml file to bring it into google maps.
 
I have tried a few different programs but no luck so far.
回复

使用道具 举报

24

主题

1265

帖子

1028

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
362
发表于 2022-7-5 18:05:46 | 显示全部楼层
 
Freeze all the layers except the ones you want -> Wblock to a new DWG file.
 
 
If you have a recent version of Civil 3D, you can export geometry to KML.
Otherwise, MapWorks from www.dotsoft.com can handle exporting to KML, or here is another option.
回复

使用道具 举报

1

主题

3

帖子

2

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-5 18:17:06 | 显示全部楼层
 
Thank you! I tried all 3 methods and the only one that worked for me was downloading Civil3D 2017. Opening the dwg file and then found a youtube video that showed how to export to kml.
 
Only one issue left. When I open the land map kmz file, it shows up somewhere in the middle of the ocean.
 
When I got this file, they also gave me the following information
 
Projection: 10TM
Scale Factor: 0.9992
Central Meridan: 115 Degrees
Global Origins(X, Y in Metres): -500 000, 5 000 000
 
I'm not sure where in Civil 3D I can set this up. I know that there's a Drawing Settings tab but I'm not sure if that's what I should be looking at.
回复

使用道具 举报

1

主题

3

帖子

2

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-5 18:28:07 | 显示全部楼层
Never mind, I got it working! It turns out that for Civil 3D, instead of setting the Global Origin, I had to set Offsets to 0, 0.
 
Thanks again for your help.
回复

使用道具 举报

24

主题

1265

帖子

1028

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
362
发表于 2022-7-5 18:49:17 | 显示全部楼层
Okay, glad you found a solution.
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-13 04:39 , Processed in 0.452942 second(s), 62 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表