> -----Original Message-----
> From: Gaurav Palvia [mailto:[EMAIL PROTECTED]]
>
...
> Lets say if i
> want to know the current location of mine in U.S lets say city,
> state something like that how can i get it. i want to use this info
> programmatically. in the book that program is given but that only
> give info about Long.,lattd etc.
> i know that there r some software like SolusPro which do the similar
> job.
> or we need to calculate the city using that long,latt
> information given by
> the GPS device.
>
You can't "calculate" a city ... it's not as if
they were named by where they are located. Once
you have latitude & longitude, you need a database
of city locations to look things up in. Once you
have that, the technique isn't too difficult.
Now ... -where- you can get such a database, I
don't know. Perhaps the USGS? Or find a good
atlas and be prepared to do a lot of typing...
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi./sec ... not just a good idea, it's the LAW!