Is problem to break down string "37°46’35.90”S, 176°6’19.89”E" into
degrees-minutes-seconds? Or actual math to do the conversion?
If latter then google for "converting coordinates to decimal degrees",
nothing hard there.

Alexei

On 25/08/2009 15:54, Jochen Daum wrote:
>
> Hi,
>
> does anyone know a very simple way/ library to convert
>
> 37°46’35.90”S, 176°6’19.89”E
>
> into
>
> -37.775911,176.102738
>
> I know I could write a regex, but I'm worried there are just too many
> combinations of special characters to look at.
>
> Kind Regards,
>
> Jochen Daum
>
> Chief Automation Officer
> Automatem Ltd
>
> Phone: 09 630 3425
> Mobile: 021 567 853
> Email: [email protected]
> Skype: jochendaum
> Website: www.automatem.co.nz
> http://twitter.com/automatem
> http://www.xing.com/go/invite/3425509.181107
>
> >

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to