[GRASS-user] degree - time conversion

Hamish hamish_b at yahoo.com
Wed Sep 30 11:38:49 EDT 2009


> achim wrote:
> > ...I just need the pure conversion
> > from decimal to sexagesimal(;-)) to
> > convert the output of eg.:
> > v.to.db -p map=lines at achim option=start
> > , which is decimal to D:M:S in the table.


ps- there was an old wish (in trac??) to have a variable set to
determine module DMS output format.


from gui/tcltk/gis.m/mapcanvas.tcl:

# FIXME:  make this settable from the UI or use GRASS_DMS_FORMAT enviro var
# DMS format: 0 is ddd.dddddd,  1 is ddd:mm.mmmm', 2 is ddd:mm'ss.sss"

set dms_format 2



Hamish



      


More information about the grass-user mailing list