[Qgis-user] Write Coordinates to Attribute Table

Darren Cope darrencope at gmail.com
Mon Aug 25 12:52:41 PDT 2008


Carson,

Perfect!  That is exactly what I was looking for--thanks!  It appears
that a lot of the other functions in fTools will be useful in future
as well, so thanks!

Cheers,

Darren Cope
http://dmcope.freeshell.org
http://bluesignweekly.blogspot.com/



On Mon, Aug 25, 2008 at 4:35 AM, Carson Farmer <carson.farmer at gmail.com> wrote:
> Darren,
>
>> I'm looking for a way to write X/Y coordinates for a point shapefile
>> back into two columns (X/Y) in the shapefile's attribute table.  Can
>> QGIS do this?  If so, how?
>
> You can try the compute geometry plugin that comes with fTools.  This
> will take your input shapefile, compute the x and y coordinates, and
> then create an identical new shapefile with the added fields.  You can
> also download and install the individual compute geometry tool.
>
> Both are available here:
>
> http://www.geog.uvic.ca/spar/carson/cfarmerQgisRepo.xml/
>
> Just add this to your plugin installer repository list.
>
>> Ideally, the less steps required the
>> better, as this is something that will need to be repeated multiple
>> times--thus a script would be ideal!
>
> I'll see if I can adapt a simple script from the above plugin, and try
> to get back to you...
>
> --
> Carson Farmer
> National Centre for Geocomputation
> John Hume Building,
> National University of Ireland, Maynooth,
> Maynooth,
> Co. Kildare,
> Ireland.
> www.carsonfarmer.com
>



More information about the Qgis-user mailing list