[GRASS-dev] Reading Points File

Michael Barton Michael.Barton at asu.edu
Wed Dec 9 13:32:41 EST 2009


Thanks Martin

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:14 AM, Martin Landa wrote:

> 2009/12/9 Michael Barton <michael.barton at asu.edu>:
>> 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.
>
> http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/georect.py#L962
>
> Martin
>
> -- 
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa



More information about the grass-dev mailing list