[Qgis-user] Export polygon coordinates qgis

Lester Anderson arctica1963 at gmail.com
Tue Mar 17 01:47:54 PDT 2015


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> 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
> 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/4b119d85/attachment.html>


More information about the Qgis-user mailing list