Public Lab
Changing nearby nodes logic in API's .
We have this API for fetching nodes having specific tag :
This API takes latitude and longitude in the form :
query=lat,lon
AND them using these coordinates calculates NEAR-BY NODES using this logic :
What do we want ?
We need to take a pair of coordinates in the API URL in the form of :
nwlat=71.01&selat=4.39&nwlng=-172.79&selng=80.33
nwlat=71.01695975726373&selat=4.390228926463396&nwlng=-172.79296875&selng=80.33203125
where nwlat = NorthWest Latitude and selat = SouthEast Latitude and so on ...
Now using these pair of coordinates , calculate all the NODES within the Rectangle Boundary made by these diagonally opposite coordinates .
Task tags
Students who completed this task
okonek83