Tuesday, 1 October 2019

qgis - How to transpose the lat/lon coordinates of a shapefile?


I need X to be Y and Y to be X (switching lat/long) within the polygon shapefile. If it were a point shapefile I know I could simply reverse the lat/long or x/y parameter and import from a table. I'm not sure how to do something similar with a polygon layer. Is there any editing tool that would accomplish this? I have QGIS and ArcMap 9.3 ArcInfo licensing available. Its projected as WGS 1984.


I'm working with a large polygon file so manually changing it would be very tedious. Any thoughts on how to do this?



Answer



There is no out of box solution in ArcGIS. But you can use scripts to achieve this. Try this form arcscripts catalog http://resources.arcgis.com/gallery/file/Geoprocessing-Model-and-Script-Tool-Gallery/details?entryID=DDFDC6B9-1422-2418-7FA8-E61F0683523D


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...