Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
    
Do you have some sample data you could like to so people could have a better idea of what you are starting with and what you need? –  RyanDalton May 24 '12 at 19:09
    
Makes me wonder why Warp is constrained to only work with rasters. Otherwise it might be handy in this situation. –  Kirk Kuykendall May 24 '12 at 19:28
    
It is data that needs to be overlaid on a layer of US states polygons and is roughly a bunch of polygons around major cities (so tampa is in the northwest and vancouver washington is southeast if you can visualize that). Megadrofan's answer below is exactly what I needed to get this to work. I believe it essential flips the lat/long of every single vertex of every polygon. –  user1397044 May 24 '12 at 19:35
    
since it solves the issue, please accept his answer by ticking the green tick mark left side of the answer.. –  vinayan May 25 '12 at 7:27
add comment

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
    
Thank you -- This was exactly what I was looking for! –  user1397044 May 24 '12 at 19:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.