Automatically Generate Latitude-Longitude Text for an Object

Automatically Generate Latitude-Longitude Text for an Object

rlindsey8PJ57
Contributor Contributor
1,811 Views
5 Replies
Message 1 of 6

Automatically Generate Latitude-Longitude Text for an Object

rlindsey8PJ57
Contributor
Contributor

Hello....I'm having trouble trying to create a text string that will always display an object's current latitude and longitude. I was hoping there was a Field that I could insert but sadly there's nothing offered in the standard list. Would it be possible to accomplish this with a Diesel Expression? Any help is greatly appreciated!

 

Backstory: I'm in Map 3D 2020, the drawing is geo-referenced, COORDS variable is set to 3 and displays lat-long accurately. The overall goal is to be able to place a point anywhere in space and have a piece of text next to it automatically generated that displays that point's current latitude and longitude. I'm aware of the GEOMARKPOINT command but that still requires manual input to get a piece of text with the lat-long next to each point (unless I'm missing something with that command). 

 

I've attached a purged-out version of the geo-referenced file I'm working in.

 

Thanks again!

0 Likes
1,812 Views
5 Replies
Replies (5)
Message 2 of 6

АлексЮстасу
Advisor
Advisor

Hi,

 

Do you want Latitude-Longitude or X-Y?
And do you only need the Position Marker?

 

For a normal block with attributes, displaying X-Y is not a problem...

coord-attr-fields.png


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 3 of 6

rlindsey8PJ57
Contributor
Contributor

Lat-long would be ideal and it doesn't HAVE to be a position marker. Just something where when I move the block or point to whatever position, the text dynamically updates to display that point's current lat-long. Thank you very much!!

0 Likes
Message 4 of 6

АлексЮстасу
Advisor
Advisor

... so far, the option with Latitude-Longitude is just for Position Marker. Using the Annotations from Map 3D, MAPANNTEMPLATE.

ll-annot-fields.png

ll-attr-fields.png


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 5 of 6

ChicagoLooper
Mentor
Mentor

You can use a geomarker to determine Lat/Long coordinates from a drawing with a projected coordinate system, e.g. State Plane, UTM, etc. You can't put the Lat/Longs directly onto a geomarker but by using a field, you can quickly and easily create a list which will display point numbers and their corresponding Lat and Longs. This video demonstrates how to use a geomarker to place your points and how to create a list with point numbers and Lat/Longs. The video also shows how REA, or Regen All, will update the Lat/Longs if the points are EVER moved.

 

To watch the video, click >>HERE<<.

 

1001.jpg

Chicagolooper

EESignature

0 Likes
Message 6 of 6

rlindsey8PJ57
Contributor
Contributor

Thank you for the reply. I ended up doing something like that but just using an extra piece of text next to the marker that has lat and long fields in the string. Then, I just copy the marker around with the text and it always updates as opposed to having a one table with all the values.

0 Likes