Page 1 of 1

XML get returns Latitude and Longitude reversed.

PostPosted: Wed Mar 28, 2007 12:53 pm
by Abinidi
If you do a get of an ip address, the gml:coordinates return the data for Latitude and longitude reversed.

Look at the examples on the site:

http://api.hostip.info/get_html.php?ip= ... ition=true

Returns

Latitude: 41.7696
Longitude: -88.4588

Latitiude first, then Longitude.

If you run the xml version:

Returns:

<gml>-88.4588,41.7696</gml>

It has the longitude first then latitude.
The actual numbers are right, they are just reported back in swapped locations.

Normally this is not a big deal, but we are making an app that will map it to google maps. Google wants to se the latitude first, then logitude.

We have a workaround at the moment for it, but can we get it swapped to stay consistent with the other formats?


Thanks

Michael Tyler
Abinidi Web Services

Great

PostPosted: Sun Dec 21, 2008 9:21 am
by Ropiiol533
bump then lurk as soon as possible

-------------------------
THE website offer Fast and Secure wow powerleveling service. wow power leveling 60-80, Cheap wow power leveling. Buy WoW Gold The Professional WoW Power Leveling! Powerlevel now. WOrld of warcraft Power Leveling, wow power leveling bloom of true love associated with this time of year!