@strange nacelle has a question:
I'lll ask anyways
This is what I am looking for
But having hard time figuring out the doc they have provided
1 messages ยท Page 1 of 1 (latest)
@strange nacelle has a question:
I'lll ask anyways
This is what I am looking for
But having hard time figuring out the doc they have provided
<@&987246964494204979> please have a look, thanks.
Here is an AI assisted attempt to answer your question ๐ค. Maybe it helps! In any case, a human is on the way ๐. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
ased on the link you provided, it seems like you are looking for a way to get the exact geo-coordinates along an entire route using Google Maps or OpenStreetMap. This can be achieved by using the Directions API provided by Google Maps or by utilizing the Overpass API for OpenStreetMap.
To calculate the distance between coordinates along a route, you can use the Haversine formula which takes into account the curvature of the Earth. This formula calculates the great-circle distance between two points on a sphere given their longitudes and latitudes.
You can also use libraries such as Leaflet or Mapbox to visualize and interact with the route and its coordinates. These libraries provide tools for displaying maps, markers, and routes on a web page.
Overall, to get the exact geo-coordinates along an entire route, you would need to make API calls to retrieve the route data and then calculate distances between coordinates using mathematical formulas.
No worries I took co ordinates manually from a certain map
Where it has roads, junctions
by pointing out the road on within a distance
made a some data like this
main junc 40.64340427616317,-74.28977548645621
North
40.643989456010615,-74.28995992272377
40.64461816876768,-74.29008697881916
40.64389771338824,-74.2898328666282
40.64530907216748,-74.29028780942163
40.646254971086286,-74.29129196243396
40.6467349124321,-74.29205429900654
40.647001833028234,-74.29243546729286
East
40.64337732330273,-74.28935743091631
40.643489798501086,-74.28909102297425
40.64375154884702,-74.28873444619028
40.644162572584285,-74.28832868640163
South
40.64300672369528,-74.28959105018856
40.64287662462775,-74.28952137426525
40.642373330718684,-74.28923037482085
40.6413351130998,-74.28858689717619
40.63992989120386,-74.2879844053688
South West
40.64258636279006,-74.28959514877222
40.64190942604578,-74.28941481108835
40.64121330402854,-74.28973040203506
40.640941176835334,-74.28991483830266
40.64048762917448,-74.29012386607258
40.63997861541623,-74.28999271139342
I've done this at some point a while ago, basically look up how to interpolate geodesic coordinates
The math is relatively involved if you want to do it manually, but it's definitely doable
thank you so much I've decided to work with my manual data since I less time
This is not the bigger part of the assignment I just have to send reasonable data
just lerping those vectors is probably good enough then