import Google Map Elevations into Civil 3D

import Google Map Elevations into Civil 3D

Anonymous
Not applicable
1,790 Views
2 Replies
Message 1 of 3

import Google Map Elevations into Civil 3D

Anonymous
Not applicable

Civil 3D 2014 / 2015

 

I managed to write javascript to get earth levels using the google.maps.elevationservice.

 

When I tried to use the google elevation api with C# I needed to have an app ID registered with google and there was a daily limit to the number of points.

 

It looks like these 2 restrictions are not applied when using the google.maps.elevationservice in javascript.

 

 

Is there maybe a way for me to specify and area in the DWG in Civil 3D, send this info to javascript, get the elevations and transfer them back into Civil 3D?

 

Note that I have plenty of experience developing with C#, but I am still "clueless" with javascript.

 

I hope this post makes sense.

 

Regards,

 

Kevin.

 

 

0 Likes
Accepted solutions (1)
1,791 Views
2 Replies
Replies (2)
Message 2 of 3

augusto.goncalves
Alumni
Alumni
Accepted solution

Hi,

 

First, about Google API terms of use, please make sure you're ok with them.

 

About the JavaScript API, there is an API for AutoCAD in JavaScript where, instead of NETLOAD, you can call WEBLOAD to load a .js file. 

 

Here you can find one sample: http://through-the-interface.typepad.com/through_the_interface/2013/03/implementing-an-autocad-palet...

 

Would that work?

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 3 of 3

Anonymous
Not applicable

Thanks Augusto, I was unaware of WEBLOAD, now I have a lot of learning to do ...

Thanks for the very fast response. Very professional.