Hi,



On Tue, Aug 25, 2009 at 4:09 PM, Alexei Tenitski<[email protected]> wrote:
>
> Is problem to break down string "37°46’35.90”S, 176°6’19.89”E" into
> degrees-minutes-seconds?

Yes, thats the problem. And thinking through what options or problems
I may have overlooked in this.



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


>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