We are trying to label the intersection points on an alignment with the following info:
Sta:
Delta Angle
LAT
LONG
See screen shot of label attached
We can make it work with a Northing and Easting, but there is no option for a LAT LONG under the tangent intersection labels. I tried to make an expression that would format a Northing as a LAT but it just gave me jibberish.
I was able to do it but adding a point at each PI and making a point reference text, but you then have to select a different point for each label.... which works but it is still a multi step process.
Any other ideas?
This would have to be an alignment label. An alignment label will not let you do lat/long but if you reference a cogo point (at the same location as the label) you can reference text in the LAT/LONG from the cogo point.
Makes sense?
The expression was {PI Northing} with "format result" set to Latitude.
It inserted the following text in my label N8127666d 35' 49.64"
The correct latitude is N42d 53' 15.53"
Brian,
Thanks. In my original post I said I referenced a cogo point. Just seeing if there is a better way to do it, or why the expression is giving my jibberish.
I imagine there is some formula to convert from Northing to Lattitude. Can you find out what that is, and put it in the expression.
Changing the format only changes the format, not the value. It is reporting the value of the Northing in the drawing. You need to create an expression that will calculate the Lattitude.
Mark Green
Working on Civil 3D in Canada
Oh, thanks. Not sure if there is any magic formula to convert Northing to Lat. Depends on what coordinate system you are on... I wish Lat & Long were an option with this label style.
Thanks for trying to help.
What I am saying is I do not think you need an expression, just the reference text to the cogo point, and indicate the LAT and LONG in the label style.
See example drawing.
Right. Maybe I wasn't clear in my first post. Thats what I ended up doing.
"I was able to do it by adding a point at each PI and making a point reference text, but you then have to select a different point for each label.... which works but it is still a multi step process."
I was hoping to get away from having to click on each label (which on this algnment there are hundreds) and referencing each label to a different cogo point.
I imagine there must be some sort of formula (magic or otherwise). If the cogo point can do it, it is being calculated somehow!
I guess it would involve a scaling factor and some sort of mutiplication, and Pi. (That's the Greek letter Pi (3.14159), not the Point of Intersection.) I really haven't got a clue what the formula would be, and yes it would be different for every drawing potentially. But I do believe that it can be calculated with some formula.
Mark Green
Working on Civil 3D in Canada