Select to view content in your preferred language

Change decimal places in geographic coordinates using Calculate Geometry

619
3
11-20-2023 08:28 AM
EDUARDOARDILARINCON
Occasional Contributor

Hi Everyone!

Today's question is related to how to limit the calculated decimal places using Calculate Geometry tool.

I've already claculated my 'N' & 'W' coordinates, but they have too many unnecessary decimal places, like N03º26'45.19000004", so I just want to round that to N03º26'45.19".

I tried to limit the characters in the field to match the length I need, but the caculate geometry tool failed to perform the calculation (it needs al least 25 characters to run ok)
One important thing to take into account is that I need the coordinates in that specific format (NXXºXX'XX.XX", WXXºXX'XX.XX") and I really don't want to perform the calculation through another software.

I appeciate so much if someone can help me.

Once again.. Thanks a Lot!

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

What version of Pro?


... sort of retired...
0 Kudos
EDUARDOARDILARINCON
Occasional Contributor

Hi Dan! I currently have ArcGIS Pro 3.2

0 Kudos
DanPatterson
MVP Esteemed Contributor

I just tested with all the formats of DD MM SS.ss that are there and can confirm that SS.ss becomes SS.sssssss.... onward.

If this behaved as advertised before, I would suggest that you contact Tech Support to report the issue.  I don't work in long/lat usually other than DD.dddddd format.  This would either be a bug or an enhancement request


... sort of retired...
0 Kudos