Jump to content

Lisp to make label for coordinate XY and lat long.


Ish

Recommended Posts

Dear 

 

Any lisp program or trick to make  make label of point or any pick location coordinate XY and lat long.

I have only autocad other software not allowed.

See attached image 

Thanks.

16464683839401827497730197760403.jpg

Link to comment
Share on other sites

On 3/6/2022 at 4:46 AM, BIGAL said:

There is xy to lat long out there but need a world co-ord file to match your location  for the formula used. 

Any add-in or VBA program for AutoCAD sir,

I search on cadtutor but not found and other search engine also.

Link to comment
Share on other sites

The E and N coordinates are based on the Universal Transverse Mercator coordinate system. This is a map projection system that allows mapping of a curved surface to be drawn on a flat surface. The world is divided into 60 zones with a designated central meridian and a scale factor at the central meridian. Added to these 'official' zones, there are many local zones which fit the mapping area better.

 

So, for a lisp that covers the whole world, there are a lot of constants that have to be applied to each zone. The likelihood of a philanthropist lisper who would put out all this work as a freebie is vanishingly small. But I wish you the best of luck in discovering this golden pot.

 

For the rest of us, the lisps available generally use the built-in functions in Civil3D, Land Desktop and Map. If you only have basic AutoCAD, then your best way forward is to do the conversions manually form the many sites available for free on the web.

  • Like 1
Link to comment
Share on other sites

I did have something half written but got distracted, I think Christmas holidays finished and I had to do work again. I couldn't find anything much out there all ready written to convert XY to Latitude / Longitude that fitted what I wanted accurately. There are conversion websites out there and some have the formulas available so might not be the exact LISP you need but there might be the formulas to use and you can work from there

 

Noting as above each part of the world have different constants to use so you'd need to find your local ones

  • Like 1
Link to comment
Share on other sites

There is a formula to lisp code out there it may work but the lat long is complex formula. Some thing in the last month maybe at forums/autodesk.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...