Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raycasting GPS coordinates
#7
Sorry Thomas, please find as follows:

Quote:
runfile('C:/Users/Peter/Desktop/Python Programming/Test Project/ais/Shapely.py', wdir='C:/Users/Peter/Desktop/Python Programming/Test Project/ais')
Traceback (most recent call last):

  File "<ipython-input-33-bd38aaf8f22e>", line 1, in <module>
    runfile('C:/Users/Peter/Desktop/Python Programming/Test Project/ais/Shapely.py', wdir='C:/Users/Peter/Desktop/Python Programming/Test Project/ais')

  File "C:\Python\Anaconda\envs\dash\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
    execfile(filename, namespace)

  File "C:\Python\Anaconda\envs\dash\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "C:/Users/Peter/Desktop/Python Programming/Test Project/ais/Shapely.py", line 23, in <module>
    p1 = Point(latitude_list, longitude_list)

  File "C:\Python\Anaconda\envs\dash\lib\site-packages\shapely\geometry\point.py", line 49, in __init__
    self._set_coords(*args)

  File "C:\Python\Anaconda\envs\dash\lib\site-packages\shapely\geometry\point.py", line 132, in _set_coords
    self._geom, self._ndim = geos_point_from_py(tuple(args))

  File "C:\Python\Anaconda\envs\dash\lib\site-packages\shapely\geometry\point.py", line 209, in geos_point_from_py
    dx = c_double(coords[0])

TypeError: must be real number, not list
Reply


Messages In This Thread
Raycasting GPS coordinates - by drybulkfreight - Aug-17-2019, 07:39 AM
RE: Raycasting GPS coordinates - by drybulkfreight - Aug-17-2019, 06:28 PM
RE: Raycasting GPS coordinates - by scidam - Aug-17-2019, 10:04 PM
RE: Raycasting GPS coordinates - by drybulkfreight - Aug-18-2019, 08:12 AM
RE: Raycasting GPS coordinates - by drybulkfreight - Aug-18-2019, 09:33 AM
RE: Raycasting GPS coordinates - by ThomasL - Aug-18-2019, 09:38 AM
RE: Raycasting GPS coordinates - by drybulkfreight - Aug-18-2019, 10:27 AM
RE: Raycasting GPS coordinates - by ThomasL - Aug-18-2019, 11:00 AM
RE: Raycasting GPS coordinates - by drybulkfreight - Aug-18-2019, 11:00 AM
RE: Raycasting GPS coordinates - by ThomasL - Aug-18-2019, 12:16 PM
RE: Raycasting GPS coordinates - by drybulkfreight - Aug-18-2019, 02:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help on making raycasting faster robie972003 2 2,954 Mar-10-2019, 03:36 AM
Last Post: robie972003

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020