POINTS files are simple ascii files and can be read by any text processor or programming language.

If you mean, can Python read and write to a POINTS file, the answer is yes. That is exactly what happens in the georectifying module. Nothing special needed. Just create and open a Python file object. You can read or write. They are simple to parse too. Take a look at one in a text processor. You can look at the georectifying code in the wxPython GUI too.

Michael

______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262; fax: 480-965-7671
www:    http://csdc.asu.edu, http://shesc.asu.edu
                http://www.public.asu.edu/~cmbarton

On Dec 9, 2009, at 10:00 AM, [email protected] wrote:

Date: Wed, 9 Dec 2009 10:52:55 -0200
From: Pablo Carreira <[email protected]>
Subject: [GRASS-dev] Reading Points File
To: <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"



Is there a function to read POINTS file from image group, in python?

Thanks.

Pablo Torres Carreira

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to