If you are attempting to use the Geocoding API, to 'convert' these, then -
dont.

It instead runs a referese geocode on the coordinates- and may end up giving
a far away place.

The javascript to do the conversion yourself, isnt that difficult.

Example:
http://homepage.mac.com/bruno_andrighetto/JavaScript/DegreesMinutesSeconds.html

http://www.google.com/search?&q=degrees+minutes+seconds+to+decimal+degrees+javascript<http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=degrees+minutes+seconds+to+decimal+degrees#sclient=psy&hl=en&q=degrees+minutes+seconds+to+decimal+degrees+javascript>


On 21 March 2011 19:18, Loonis <[email protected]> wrote:

> Dear Experts,
>
> LatLng is driving me crazy... My base data is in degrees / minutes /
> seconds format and to create my markers on the google map, I convert
> this data into decimal values. This works perfect for most of my
> markers, but some markers being positioned in the middle of nowhere.
> Here some examples:
>
> Working perfect:
> Cologne: 50°52'2'',7°8'37'' => 50.8672,7.1436
> Paris: 49°0'46'',2°33'0''  => 49.0128,2.5500
> Bejing: 40°5'44'',116°35'18'' => 40.0956,116.5883
>
> Not working:
> Sevilla: 37°25'5'',5°53'35'' => 37.4181,5.8931
> Lisbon: 38°46'53'',9°8'9'' => 38.7814,9.1358
> Casablanca: 33°33'20'',7°39'40'' => 33.5556,7.6611
>
> Really can't figure out what the problem is, anyone got any idea?
> Thx for your help in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to