.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Geolocation tool

7 REPLIES 7
Reply
Message 1 of 8
coralie.jacobi
1068 Views, 7 Replies

Geolocation tool

Can anybody tell me if there is anything in the AutoCAD API that allows us to get to this functionality?

 

thanks for any help here.

 

cj

7 REPLIES 7
Message 2 of 8

What exactaly you need?

 

The link below will provide some generic information, please take a look and let us know...

 

>>>>>>>>>>>

http://through-the-interface.typepad.com/through_the_interface/2013/03/autocad-2014-for-developers.h...

>>>>>>>>>>>

GeoLocation API

The AutoCAD Map 3D team has implemented a key feature in AutoCAD 2014, allowing drawings to be geo-referenced. ObjectARX and .NET APIs (via the AcDbGeoData and GeoLocationData classes, respectively) have been provided that allow you to add geo-location information into an AutoCAD drawing.

Regards,



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

Thanks Augusto, I will take a look at those.

 

I basically want to look into resolving the shortcoming of the georaphiclocation command to not prompt for an insertion point and rotation angle. If the user has selected the coordinate system and units they want, the command should not ask for a point or angle in AutoCAD. I need it to set the current coordinate system in the drawing to the same and insert appropriately. The problem is when you want to start a drawing from scratch and would like to have it in the proper location based on the projection selected. The current command works ok if you have entities in a drawing already created and you can just "match" things up. But it doesn't help if you have a drawing that is not in the correct location and want to move it to the correct location using the image.

 

Thanks again for the response....I'm hoping there is enough feedback on this that Autodesk resolves this issue in a future release.

 

cj

 

Message 4 of 8
fieldguy
in reply to: coralie.jacobi

This is from a current vs2013 project for civil 3d.  The required references are in C:\Program Files\Autodesk\AutoCAD Civil 3D 2012.

 

GEORefs.PNG

Message 5 of 8

Now with the 2015 release, I would suggest you take a look at this version before, we made some significant changes.

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 6 of 8

I will thanks. Unfortunately our company is getting ready to move to 2014, it will be this time next year that we will be at the 2015 point, IF they decide to upgrade. So I will still have to see if I can rig something up so that it is useful for the next year for our users.

 

thanks

 

cj

 

 

Message 7 of 8

Can you provide some more information on how to use the GeoLocationData class?  For example, I am looking for the "current" coordinate system (Autodesk.AutoCAD.DatabaseServices.GeoLocationData.CoordinateSystem.get).

 

This is referenced from Civil 3D 2014 acdbmgd.

 

 

Message 8 of 8
fieldguy
in reply to: fieldguy

I found a bit of info >>here<<.  Looks interesting.

 

Thanks.  My requirements are in the osgeo mapguide api's. 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost