[GRASS-dev] Reading Points File

Martin Landa landa.martin at gmail.com
Wed Dec 9 12:14:45 EST 2009


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