[GRASS-user] DOY support in t.register?

Vaclav Petras wenzeslaus at gmail.com
Thu Mar 6 08:26:04 PST 2014


On Wed, Mar 5, 2014 at 3:21 PM, Sören Gebbert
<soerengebbert at googlemail.com>wrote:

> print map_name, "|", start, "|", end


I'm affraid that this prints also spaces around | and so t.register will
fail because it expects only one separator, i.e. |.

That should be

print map_name + "|" + start + "|" + end

http://grass.osgeo.org/grass70/manuals/t.register.html
http://docs.python.org/2/reference/simple_stmts.html#print
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140306/4baf9d83/attachment.html>


More information about the grass-user mailing list