Opened 7 years ago

Last modified 5 years ago

#3225 new defect

r.plane: ValueError: invalid literal for float(): 0:04:14.5E — at Initial Version

Reported by: neteler Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: Python Version: svn-trunk
Keywords: r.plane Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.