A "How would you do this" type of question.
- From: "Korto" <korto.wow@xxxxxxxxx>
- Date: 27 Sep 2006 12:48:53 -0700
Imagine you are writing a program that will display a map of the United
States. Your program will ask a user to input their ZIP code. Once
they do, a dot will appear on the map to indicate where that ZIP code
is located.
My question is, how would you go about doing something like this, in
general?
Would you have a file of all ZIP codes and their longitude, latitude
coords and extrapolate those to x,y coords on your graphic map? Or, is
there an easier way?
This is just something that I was thinking about
today and I have no idea what mechanism anyone would use to accomplish
it.
Right now, I'm thinking the easiest way is using the file set-up I
mentioned above. Does anyone else have a different mechansim that
would be better?
Thanks,
Korto
.
- Follow-Ups:
- Re: A "How would you do this" type of question.
- From: Korto
- Re: A "How would you do this" type of question.
- From: Gene
- Re: A "How would you do this" type of question.
- From: Rob Thorpe
- Re: A "How would you do this" type of question.
- From: Willem
- Re: A "How would you do this" type of question.
- From: Ico
- Re: A "How would you do this" type of question.
- Prev by Date: Re: the lowest number of comparisons in string matching
- Next by Date: Re: "It doesn't matter if you're a good programmer, it's the syntax that matters"
- Previous by thread: Re: Clueless (Was:100 Years of E=mc2 : A critic is Nameless, Placeless, Identityless ?)
- Next by thread: Re: A "How would you do this" type of question.
- Index(es):
Relevant Pages
|
|