Go to Post FIRST tricks you into using your brain on a regular basis. - Gabe [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #16   Spotlight this post!  
Unread 18-06-2005, 13:49
Timothy D. Ginn's Avatar
Timothy D. Ginn Timothy D. Ginn is offline
I check here maybe once a year.
no team
 
Join Date: Apr 2003
Rookie Year: 2002
Location: Port Perry, ON. Canada
Posts: 247
Timothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to all
Send a message via ICQ to Timothy D. Ginn Send a message via AIM to Timothy D. Ginn Send a message via MSN to Timothy D. Ginn Send a message via Yahoo to Timothy D. Ginn
Re: FIRST Team Map

Quote:
Originally Posted by DarkJedi613
How'd you actually overlay the dots onto the map and get the coords to do it? I was thinking about doing this last week but didn't have a chance (finals...). I was thinking about using Googles APIs (though acutally I was thinking more of one of just displaying dots but being able to view by state/country/region/etc)...so how'd you resolve into coords and then overlay those onto a map?

Also - I'm glad someone is using all the information I pulled off the TIMS system.

Great job!
I overlayed the dots onto the map using PHP with the GD extension. Getting the geographical coordinates I did by writing a bit of an interface to http://www.multimap.com to use it to resolve them (which would be much easier than doing it through Google, as Google doesn't have APIs for their Maps service as far as I know, and Multimap is quite simple to parse through, I can give more specific details if desired). Once you have the geographical coordinates, it's possible to convert them into pixel coordinates (some detailed instructions are at: http://www.web-max.ca/PHP/ ).

There's also a related thread from a while ago at http://www.chiefdelphi.com/forums/sh...ad.php?t=29199 which does things a different way using Perl rather than PHP and geoinfo files rather than a satellite map (it's US-only as is, though; but you could mix and match ideas from both, if you wanted). If you were to want to do things that way rather than with a satellite map the PEAR Image_GIS package might come in handy: see http://pear.php.net/package/Image_GIS for details.

It's entirely possible to go beyond what either of us have done, though. I think it might be cool to do something like: http://physos.net/~physos/worldwide/test.html (mouse over the points on the map). If you're planning to do that, though; I'd strongly suggest caching the generated map image (since it can take a while). Also, if you're going to make one of these, cache the coordinates for teams, etc. from Multimap (or whatever other one you use); otherwise you're going to end up being way too harsh on the server.
__________________
Alumni of FRC Team 1006
Former mentor of Full Lego Alchemist (FLL 5621) - Sempar School / Computing Students' Association of Queen's University
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Death of FIRST Anton Abaya General Forum 23 03-05-2006 17:18
Who do you think is the best bet to win the Chairman's Award at the Championship? Koko Ed Chairman's Award 58 29-04-2005 16:39
What's the best organizational structure for photos? maikull Chit-Chat 2 17-03-2005 17:47
Real names, please Andy Baker General Forum 131 21-07-2004 22:07
Renovating a Team av11d Team Organization 2 18-04-2004 20:06


All times are GMT -5. The time now is 19:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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