[GRASS-dev] [GRASS GIS] #3225: r.plane: ValueError: invalid literal for float(): 0:04:14.5E
GRASS GIS
trac at osgeo.org
Sat Dec 17 04:40:00 PST 2016
#3225: r.plane: ValueError: invalid literal for float(): 0:04:14.5E
-------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.6
Component: Python | Version: unspecified
Keywords: r.plane | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
At time (besides the weird fact that the angle convention of azimuth does
not match the standard GRASS convention) the easting and northing input
does not accept sexagesimal input in lat-long location:
{{{
GRASS 7.2.0svn (latlong):~ >
r.plane output=plane dip=45 azimuth=-9 \
easting=0:04:14.5E northing=48:52:14.5N elev=1000 type=CELL
Traceback (most recent call last):
File "/home/neteler/software/grass72/dist.x86_64-pc-linux-
gnu/scripts/r.plane", line 128, in <module>
main()
File "/home/neteler/software/grass72/dist.x86_64-pc-linux-
gnu/scripts/r.plane", line 78, in main
ea = float(options['easting'])
ValueError: invalid literal for float(): 0:04:14.5E
}}}
AFAIK G_OPT_M_COORDS would support that but here the values have to be
specified separately.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3225>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list