Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Extra Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=68)
-   -   pic: USA Teams (http://www.chiefdelphi.com/forums/showthread.php?t=29199)

Dorienne 23-06-2004 10:20

Re: pic: USA Teams
 
That is really awesome!
How did you do that?! And wow, the East Coast has a bunch of teams in the northern area. I didn't realize exactly how many, that's awesome!
How long did that take you?
--d0ri
:]

Joshua May 23-06-2004 12:18

Re: pic: USA Teams
 
Haha, there's a line of FIRST teams in North Dakota.

Those concentration centers are really interesting, I can point out Los Angeles, San Fransicso, Seattle, Phoenix, Denver, Houston, Atlanta, Detroit, and then the giant glob of teams known as the NorthEast.

I never noticed how many teams were in Michigan

Wait a minute, where are poor Alaska and Hawaii? :(

Erin Rapacki 23-06-2004 12:45

Re: pic: USA Teams
 
Yes, the team allocation throughout the US is very interesting... there's too much open space!

piotrm 23-06-2004 13:19

Re: pic: USA Teams
 
Quote:

Originally Posted by GeorgeTheEng
you're missing at least 1 team in NJ. 816 out of WestHampton. (or it's in the worng place and I missed it). They should be right in the same area as team 87.

I'm missing a few teams because their location didn't appear in the data file I had. These teams are:

Code:

25: North Brunswick,NJ,USA [,]
 41: Warren,NJ,USA [,]
 121: Newport County,RI,USA [,]
 172: Gorham/falmouth,ME,USA [,]
 233: Rockledge/cocoa Beach,FL,USA [,]
 279: Ottawa Lake,MI,USA [,]
 453: Harrison Township,MI,USA [,]
 521: Waterford,CT,USA [,]
 527: No. Massapequa,NY,USA [,]
 563: Phila,PA,USA [,]
 651: Mar Lin,PA,USA [,]
 816: Westampton,NJ,USA [,]
 766: Menlo-atherton,CA,USA [,]
 980: Southern California,CA,USA [,]
 1038: Liberty Township,OH,USA [,]
 1094: St. Charles County,MO,USA [,]
 1100: Northboro,MA,USA [,]
 1138: West Hills,CA,USA [,]
 1288: Saint Petersburg,MO,USA [,]
 1248: Middleburg Hts.,OH,USA [,]
 1475: Leo,IN,USA [,]


piotrm 23-06-2004 13:22

Re: pic: USA Teams
 
Quote:

Originally Posted by Peciv
This is very cool! Would it be possible for you to post an even higher resolution map than the one in the web link? (Entire US)

Thanks! Great Work!

Sure, here is one 20,000 pixels across: http://users.wpi.edu/~piotrm/first/m...ms_usa_20k.png.

Or if your browser or viewer can't handle that kind of big stuff, you can try http://users.wpi.edu/~piotrm/first/m...ms_usa_10k.png or http://users.wpi.edu/~piotrm/first/m...ams_usa_5k.png.

piotrm 23-06-2004 13:42

Re: pic: USA Teams
 
Quote:

Originally Posted by GeorgeTheEng
This is definitely good work and very interesting. Would you consider posting the source for this?

Ok. I uploaded the thing to make the usa map to http://users.wpi.edu/~piotrm/first/maps/src/.

There are a few things this requires. One is that you have gdlib installed as well as the GD perl module. Also is required the Geo::ShapeFile perl module. One can get em off CPAN by doing this:

Code:

perl -MCPAN -eshell
 ** perhaps answer some questions here **
 install GD
 install Geo::ShapeFile
 exit

Also you need to download the populated place data file from Geographic Names Information System website: http://geonames.usgs.gov/geonames/st...op_places_deci. Watch out, it is big. Get http://geonames.usgs.gov/geonames/st...laces_deci.zip and unzip it if you have slow internet.

Once you get that file you need to generate cities2.storable by typing:

Code:

cat Pop_places_deci | perl make_data2.pl cities2.storable
Finally you need to download the USA states shape file from the AWIPS Map Database at http://www.nws.noaa.gov/geodata/cata...a/s_12my03.zip. Unzip it.

Now you should be ready to make a map. Do so by typing:

Code:

perl make_usa.pl 1000 map.png map_with_teams.png
That is, the first argument is the width in pixels. The second is the name of the file to write to for a map with no teams and the third argument is the name of the file where to write the image with the teams shown.

Sorry but the perl source is not very nice looking but hopefully anyone that needs to can figure out how to make the changes they want.

Astronouth7303 23-06-2004 13:45

Re: pic: USA Teams
 
WE"RE NOT IN THE LIST OR ON THE MAP!
1227- Grand Rapids, MI, USA.

Clark Gilbert 23-06-2004 13:55

Re: pic: USA Teams
 
I think Leo, IN is also referred to as Leo-Cedarville, IN.

piotrm 23-06-2004 14:02

Re: pic: USA Teams
 
Quote:

Originally Posted by Astronouth7303
WE"RE NOT IN THE LIST OR ON THE MAP!
1227- Grand Rapids, MI, USA.

Sorry, looks like the reason for this is there being two instances of "Grand Rapids, MI" in the data file I had. See the populated place data file link I posted somewhere above in this thread.

Because of that you are actually on the map, just in the wrong place. Look to the north-west from where your Grand Rapids is.

Pierson 23-06-2004 20:45

Re: pic: USA Teams
 
Quote:

Originally Posted by piotrm
Sure, here is one 20,000 pixels across: http://users.wpi.edu/~piotrm/first/m...ms_usa_20k.png.

Or if your browser or viewer can't handle that kind of big stuff, you can try http://users.wpi.edu/~piotrm/first/m...ms_usa_10k.png or http://users.wpi.edu/~piotrm/first/m...ams_usa_5k.png.

Super Cool! Thanks!

Spaztik Duck 24-06-2004 00:07

Re: pic: USA Teams
 
This is excellent! Its really interesting to look at the clusters of teams and where they are, we just need to get it so that there is atleast one dot in every state and about double the dots... yay for robotics. lol



added... I dont really know what thread this would be put in, but Its something that I wanted to share and I guess with this being about location of teams it is a good thread to put it in.
-My parents are considering moving and when looking at houses/areas part of their criteria was that the local high school had to have a robotics team. :) It made me happy.

Will Hanashiro 24-06-2004 00:26

Re: pic: USA Teams
 
wowowowow!!! that is awesome... and interesting. just look at the concentration of teams. great job making this!

i never realized there were so many teams in my tiny city... 7 of em in flint!!! detroit has us beat by one tho... darn!

Michael Corsetto 24-06-2004 01:06

Re: pic: USA Teams
 
114 is missing also. (Los Altos, California)

Great work, but I think us teams on the west coast need to get working and start more teams. :D

Joe Ross 24-06-2004 09:32

Re: pic: USA Teams
 
Quote:

Originally Posted by Rex114
114 is missing also. (Los Altos, California)

Great work, but I think us teams on the west coast need to get working and start more teams. :D

You're on there, just down around So Cal (Long Beach) ;)

Piotrm, you can use Pasadena, CA for team 980. You could try La Canada, also, which is probably slightly more accurate, but I'm not sure if your source would have it like that, or with the proper accent marks (which I'm not sure what they are).

A few of those other missing teams should be easy, IE the Phila being Philadelphia and the missing H in westhampton.

dk5sm5luigi 24-06-2004 09:48

Re: pic: USA Teams
 
Piotr you never cease to amaze me with your programming skills. I am so glad we have you on our team.


All times are GMT -5. The time now is 18:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi