Hi Guys,
Tool Requirement : User will Pick a Point in dgn at Required Location Based on the Picked Location Coordinates, i need to open google earth and zoom to the
specified location.
Questions:
1) Is it Possible ?
2) Using MDL Language can i program to get output ?
Example :By using small function i opened google earth in this way (correct process r not ?)
MSExternalProgramDescr *msepdDescP;msepdDescP = mdlExternal_startMCSLProgram ("C:\\Program Files\\Google\\Google Earth\\plugin\\geplugin",NULL);if (msepdDescP != NULL)
{ mdlExternal_terminateProgram (msepdDescP); }
If Possible can u guys please provide me the steps for programming.
Can you navigate google eath?
Once you have datapoint, perhaps you will need to convert it to WGS84.
@DanPaul,
yes, Google Earth has an API.
developers.google.com/earth
Guys,
1) How to convert data point to WGS84 ?
2) WGS84 means?
I must run the tool in Microstation V8 but not in Microstation V8i
If you are not working on DLL MDL application, perhaps you are out of luck...
but...in native (compiled DLL) MDL....
Unknown said:1) How to convert data point to WGS84 ?
You can use for example Proj 4 library: https://trac.osgeo.org/proj/
But, you need to know also the source coordinate system.
Unknown said:2) WGS84 means?
https://en.wikipedia.org/wiki/World_Geodetic_System