View Full Version : An interactive web app mapping the location of every active FRC team
ErikBoesen
21-09-2016, 17:13
I was searching around online and I couldn't find anyone who had made a map like this (there were a couple Google My Maps, but no custom apps with nice designs and all). So I made one. Enjoy, and feel free to PR and add your team's logo!
https://firstmap.github.io/
GaryVoshol
21-09-2016, 18:57
Question on how close your locations are to actuality.
910 is about 3 miles south of their actual location, and on the wrong side of the freeway.
1188 and 3548 are from the same school; on the map they are about a mile apart, and well south of the school.
1025 is about a mile north and east of its actual spot.
It looks like most of the Detroit schools are clustered in downtown, except for a few that ended up in the river.
And maybe the locations move slightly as you refresh the map????
Bkeeneykid
21-09-2016, 19:03
Since I'm assuming these teams are based off the location that is in TIMS. For example, my team is only listed as "Overland Park" rather than the school's address, thus my team groups up with 1810, and not it's exact location.
TL;DR: Blame TIMS
EDIT: Forgot to mention, you did an awesome job on this! I've been wanting something like this for quite a while now.
If you look at the code and the merge descriptions, it says that the locations are slightly randomized to prevent overlapping of teams.
And maybe the locations move slightly as you refresh the map????
It looks like the randomization happens every time the page is loaded, so they will move around each time.
orangelight
21-09-2016, 19:21
There is more accurate location data on the first website
troy_dietz
21-09-2016, 19:56
I find it interesting that 330 is placed in the Pacific Ocean.
We're the Beach Bots, not the Ocean Bots. :D
I find it interesting that 330 is placed in the Pacific Ocean.
We're the Beach Bots, not the Ocean Bots. :D
But you'll be ready for the water game, yes? :)
dirtbikerxz
21-09-2016, 22:51
Team 2655 - The Flying Platypi are going to be ready for the flying water game I assume.. :D
948 is in completely the wrong position. Looks like their record may be using the center of the city, rather than the school's address. (Some other teams in the same city are in more-or-less the area of their schools.)
How can we correct these locations?
And, how do we add the team's logo?
948 is in completely the wrong position. Looks like their record may be using the center of the city, rather than the school's address. (Some other teams in the same city are in more-or-less the area of their schools.)
How can we correct these locations?
You can't change it. Here's why:
If you look at the code and the merge descriptions, it says that the locations are slightly randomized to prevent overlapping of teams.
It looks like the randomization happens every time the page is loaded, so they will move around each time.
Also, as far as I know, the FRC API only gives the city and state for each team.
And, how do we add the team's logo?
Click on the "fork on GitHub" banner in the top left. There are instructions there.
CMBrandon
22-09-2016, 20:19
This is a really cool tool! Thanks for making this. I had no idea some of these areas had teams.
JPBlacksmiths
22-09-2016, 20:26
This is pretty sweet, but ya team 806 is quite a ways off from where we are actually located. Thanks for the effort though!
ErikBoesen
22-09-2016, 20:46
This is pretty sweet, but ya team 806 is quite a ways off from where we are actually located. Thanks for the effort though!
Again, TBA only provides the name of the town in which the team is located.
SoftwareBug2.0
22-09-2016, 22:21
I've seen a different map that somebody put together where the teams had exact street addresses, but it was the street addresses of the main contact. I'm not sure how they got that data.
That wasn't perfect either though. At various times it showed my team, 2002, and 2635 each in each other's towns since that's where their main contact was. All three are basically adjacent suburbs of Portland.
samthesnake
25-09-2016, 15:04
Love it! Great way to be able to find nearby FRC teams wherever you are. Thanks!!
That is really well done. Thank you.
Andrew Schreiber
25-09-2016, 20:26
If you look at the code and the merge descriptions, it says that the locations are slightly randomized to prevent overlapping of teams.
It looks like the randomization happens every time the page is loaded, so they will move around each time.
To OP, are they randomized as in "we jitter all points" or are they run through a collider? I've used d3-force for generating plots where the overlapping points will just slightly shove all the points around to get as close as possible and it's fairly simple. And it'd be more reproducible. Bonus - points that doing overlap would be correct.
Another option would be porting to leaflet.js because, if I remember correctly, it has an option to solve this problem already.
Cool map though.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.