Notifications
Clear all

DWG to KML

27 Posts
17 Users
0 Reactions
588 Views
Dan Patterson
(@dan-patterson)
Posts: 1272
Member
Topic starter
 

I have a client that inputs a lot of my work into a GIS that he maintains. He has requested a KML file (I guess to tie in with google earth format).

Can a georeferenced DWG be converted to KML easily? I looked into it briefly and it looks like 3rd party software is required for the conversion. (Running C3D 2015)

 
Posted : April 27, 2016 9:27 pm
Mark Mayer
(@mark-mayer)
Posts: 3376
Member
 

No 3rd party software. EXPORTTOKML is the command. Your drawing has to be set up with an appropriate grid system for your coordinates. Really simple.

 
Posted : April 27, 2016 10:02 pm
Dan Patterson
(@dan-patterson)
Posts: 1272
Member
Topic starter
 

Mark Mayer, post: 369781, member: 424 wrote: No 3rd party software. EXPORTTOKML is the command. Your drawing has to be set up with an appropriate grid system for your coordinates. Really simple.

Thanks! I went to file > export and didn't see it in there.

 
Posted : April 28, 2016 4:10 am
gmpls
(@gmpls)
Posts: 464
Member
 

You should be able to easily convert it to a kmz (is that the same as a kml) in C3D. Go to toolbox (a tab right next to prospector), then misc tools and then it should be right there. This is for C3D 2016 and I'm not sure if I gave you the exact directions but I'm not near my pc.

Gregg

 
Posted : April 28, 2016 4:10 am
christ-lambrecht
(@christ-lambrecht)
Posts: 1404
Supporter
 

Hi,
check Terry's site
http://www.dotsoft.com/index.htm

There was a good mapkmlexport routine for free available in 2012, not sure if it's still there.

Christof.

 
Posted : April 28, 2016 5:11 am

mescobar_rpls
(@mescobar_rpls)
Posts: 130
Member
 

The conversion is not possible in C3D 2015. however, it is available in 2014 and 2016 version.

Sent from my SPH-L720T using Tapatalk

 
Posted : April 28, 2016 5:27 am
jph
 jph
(@jph)
Posts: 2332
Member
 

Carlson exports and imports kmz files to/from Google.

 
Posted : April 28, 2016 5:42 am
cr_pls
(@cr_pls)
Posts: 26
Member
 

We use C3D 2015 and once you establish a coordinate system within the drawing, you can type "KML" and then follow the prompts.

 
Posted : April 28, 2016 6:29 am
Dan Patterson
(@dan-patterson)
Posts: 1272
Member
Topic starter
 

I found a way. I typed toolbox, which was not visible in the toolspace next to prospector tab yet for some reason. Then under there, there is an icon for export to KMZ. I click that and hit execute and then followed the prompts.

This is actually really cool. I am thinking of exporting all my boundary lines that are georeferenced this way and keeping a running database of work I have done in google earth. All I need is the time to do that, which won't be any time soon....

 
Posted : April 28, 2016 7:04 am
Kris Morgan
(@kris-morgan)
Posts: 3876
Member
 

Dan Patterson, post: 369779, member: 1179 wrote: I have a client that inputs a lot of my work into a GIS that he maintains. He has requested a KML file (I guess to tie in with google earth format).

Can a georeferenced DWG be converted to KML easily? I looked into it briefly and it looks like 3rd party software is required for the conversion. (Running C3D 2015)

Yes. Carlson has a routine specifically for this. The project must be georeferenced initially and the specs selected in Carlson. Then it's a simple export.

 
Posted : April 28, 2016 8:33 am

skwyd
(@skwyd)
Posts: 599
Member
 

This makes me want to look at exporting some of our projects to kml files and see where they land. Some of the work we do is tied to georeferenced points, others are just assumed. Still others are set using the "here" key, which is a special kind of assumed coordinate system that seems to completely confuse everyone as to what it actually does.

 
Posted : April 28, 2016 10:19 am
Dan Patterson
(@dan-patterson)
Posts: 1272
Member
Topic starter
 

skwyd, post: 369840, member: 6874 wrote: This makes me want to look at exporting some of our projects to kml files and see where they land. Some of the work we do is tied to georeferenced points, others are just assumed. Still others are set using the "here" key, which is a special kind of assumed coordinate system that seems to completely confuse everyone as to what it actually does.

I think you have to have some kind of map projection applied in your CAD software for it to work. I don't know any of this for sure, but I think Google uses Lat and Long to position everything, so if you're in state plane coordinates in feet with the proper projection set it should be simple for the export function to translate everything to lat and long.

 
Posted : April 28, 2016 10:27 am
Dan Patterson
(@dan-patterson)
Posts: 1272
Member
Topic starter
 

anyone know how to do the same thing into a shapefile? like a .SHP?

 
Posted : April 28, 2016 10:29 am
Mark Mayer
(@mark-mayer)
Posts: 3376
Member
 

skwyd, post: 369840, member: 6874 wrote: This makes me want to look at exporting some of our projects to kml files and see where they land. ...

Very handy function for showing crews just where the missed areas of a topo are, for example. This, and a similar kml producing function in StarNet are handy for control diagrams, too.

skwyd, post: 369840, member: 6874 wrote: .... Some of the work we do is tied to georeferenced points, others are just assumed....

Handy enough to make going to the effort of georeferencing your project (which is often minimal) worthwhile even if not contractually required.

skwyd, post: 369840, member: 6874 wrote: ..... Still others are set using the "here" key, which is a special kind of assumed coordinate system that seems to completely confuse everyone as to what it actually does.

Ugh. The worst possible. Easy to set your base receiver to collect raw data for OPUS while performing RTK ties. Later you can shift the whole thing onto the position OPUS returns.

 
Posted : April 28, 2016 10:34 am
Mark Mayer
(@mark-mayer)
Posts: 3376
Member
 

Dan Patterson, post: 369844, member: 1179 wrote: anyone know how to do the same thing into a shapefile? like a .SHP?

Check out the command MAPEXPORT.

 
Posted : April 28, 2016 10:38 am

Dan Patterson
(@dan-patterson)
Posts: 1272
Member
Topic starter
 

Mark Mayer, post: 369850, member: 424 wrote: Check out the command MAPEXPORT.

cool....I've used MAPIMPORT a million times. I should have thought of that one....

 
Posted : April 28, 2016 10:44 am
twdotson
(@twdotson)
Posts: 142
Member
 

Dan Patterson, post: 369844, member: 1179 wrote: anyone know how to do the same thing into a shapefile? like a .SHP?

Don't think of it as file > file (KML), think of the CAD editor as a temporary container. In other words import your data into a new empty drawing, make sure the coordinate system is assigned and use Civil3D's EXPORTTOKML.

 
Posted : April 29, 2016 7:42 am
Kris Morgan
(@kris-morgan)
Posts: 3876
Member
 

Dan Patterson, post: 369844, member: 1179 wrote: anyone know how to do the same thing into a shapefile? like a .SHP?

Work it backwards into CAD and out to google earth? That's what I do.

 
Posted : April 29, 2016 8:37 am
Dan Patterson
(@dan-patterson)
Posts: 1272
Member
Topic starter
 

I got everything to work. I just didn't know the export commands. Usually I am bringing stuff into drawings not the other way around. This export KMZ thing is awesome. I'm going to try to put all my jobs in google earth. (At least all the ones that are georeferenced which is most of them.....)

 
Posted : April 29, 2016 8:40 am
Jim in AZ
(@jim-in-az)
Posts: 3366
Member
 

GMPLS, post: 369786, member: 8404 wrote: You should be able to easily convert it to a kmz (is that the same as a kml) in C3D. Go to toolbox (a tab right next to prospector), then misc tools and then it should be right there. This is for C3D 2016 and I'm not sure if I gave you the exact directions but I'm not near my pc.

Gregg

What a novel place to put a command like that! Putting it near the export, publish and save as commands is too difficult?!

 
Posted : April 29, 2016 1:48 pm

Page 1 / 2