nas- / vendee-globe-boat-follower Goto Github PK
View Code? Open in Web Editor NEWDoes its best to get data for vendee globe boats from marinetraffic
Does its best to get data for vendee globe boats from marinetraffic
How about instead of zooming and trying to limit one boat per page view, just handle multiple boats if found.
If more boats are found, we already have their data without the need to query again:
if len(boats) == 1:
print('1 boat found!')
if len(boats) > 1:
print('More than 1 boat found!')
for boat in boats:
# parse and process boat
We could at the very least find the closest boat to the predicted coordinates / center of the map view, or even recognize/track multiple tracked boats from the same response.
Hi,
As boats go further east than 90 E, utils.py crashes;
Exception has occurred: ValueError
Latitude must be in the [-90; 90] range.
File "C:\Users\h\Anaconda3\envs\vendee-globe-boat-follower\src\utils.py", line 44, in gcd
destination = distance.great_circle(nautical=dist).destination(origin, bearing)
File "C:\Users\h\Anaconda3\envs\vendee-globe-boat-follower\src\utils.py", line 180, in get_data_from_prevpoint
lon, lat = EarthFunctions.gcd((float(prevpoint.get('LON')), float(prevpoint.get('LAT'))),
File "C:\Users\h\Anaconda3\envs\vendee-globe-boat-follower\main.py", line 120, in mainloop
a, b = src.utils.get_data_from_prevpoint(driver, lastdata, item, datafile)
File "C:\Users\h\Anaconda3\envs\vendee-globe-boat-follower\main.py", line 187, in
mainloop(**args2)
and
C:\Users\h\AppData\Local\Programs\Python\Python39\lib\site-packages\geopy\point.py:471: UserWarning: Latitude normalization has been prohibited in the newer versions of geopy, because the normalized value happened to be on a different pole, which is probably not what was meant. If you pass coordinates as positional args, please make sure that the order is (latitude, longitude) or (y, x) in Cartesian terms.
return cls(*args)
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.