Select to view content in your preferred language

swapping X and Y cordinates signs

810
5
01-26-2023 04:02 AM
LutendoNetshipale
Emerging Contributor

Good day

 

I have imported dxf file to Arcgis. I realised that the x and y value have the wrong signs.

How do i changes the x and y signs, 

Current

+x , -y

Required

-x, +y

 

Thanks

Lutendo

Tags (3)
0 Kudos
5 Replies
JesseCloutier
Esri Community Manager

Hi @LutendoNetshipale,

I’m sending this brief message to let you know I’ve moved this post from our Community Feedback area to the ArcGIS Pro Questions board where it’s more likely to be seen and responded to by members who can help. If I've misidentified which ArcGIS tool you're using, please respond to let me know what that is and I'll be happy to help get it in the right place.

All the best!

Jesse Cloutier
Community Manager, Engagement & Content
AyanPalit
Esri Regular Contributor

@LutendoNetshipale You have multiple options depending on the application being used. 

In ArcGIS Pro, refer to Field Calculations. In particular, you may use Find and Replace OR Calculate Field code samples for strings.

Some users prefer to do this string manipulation in Excel.

Ayan Palit | Principal Consultant Esri
LutendoNetshipale
Emerging Contributor

Good day, thank you for the responses.

 

It there a step by step process for a beginner?

I want to do this calculation

x=x*-1 and y=y*-1

0 Kudos
LutendoNetshipale
Emerging Contributor

I am still using Arcmap

0 Kudos
AyanPalit
Esri Regular Contributor

Similar operations are in ArcMap as well. 

https://desktop.arcgis.com/en/arcmap/latest/manage-data/tables/calculate-field-examples.htm 

Ayan Palit | Principal Consultant Esri
0 Kudos