[Qgis-user] Export polygon coordinates qgis
Tomasz Bigaj
tomek at jagielka.eu
Tue Mar 17 01:59:49 PDT 2015
Hi Lester,
Thanks, it works but… I still get XY coordinates, not lat/long. The question i show to convert from XY to lat/long ?
Regards – Tomasz
From: Lester Anderson [mailto:arctica1963 at gmail.com]
Sent: Tuesday, March 17, 2015 9:48 AM
To: Tomasz Bigaj
Cc: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Export polygon coordinates qgis
Hi Tomasz,
This is easy to do.
Go into edit mode and select the feature(s) you want (highlighted yellow usually). Open the attribute table for the polygon shapefile and click "copy slected rows to clipboard" (4th icon from the right on the toolbar).
Copy this into a text editor and you get something like this:
wkt_geom id
POLYGON((-2.72439024390243922 1.60975609756097571,-2.72439024390243922 1.95121951219512213,-1.77073170731707341 2.02926829268292686,-1.57073170731707323 1.42926829268292699,-2.21951219512195141 1.06341463414634152,-2.72439024390243922 1.60975609756097571)) 1
Just edit this file to leave the X, Y coordinates and away you go! Coordinate pairs are separated by commas.
Cheers
Lester
On 17 March 2015 at 08:08, Tomasz Bigaj <tomek at jagielka.eu <mailto:tomek at jagielka.eu> > wrote:
Hello,
I need to export polygon coordinates from shp to text file.
I can mark an object on map and use “Ctrl+C” but only x y coordinates are copied.
How can I recalculate X Y coordinates to get lat/long geographical coordinates? I’d prefer to do it in Excel, because have a lot of extracted X Y data.
Regards - Tomek
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150317/18b4f2a7/attachment.html>
More information about the Qgis-user
mailing list