Page 1 of 1

please seperate Latitude, Longitude in XML

PostPosted: Fri Jun 24, 2005 4:31 pm
by guest
a seperate tag for latitude and longitude in your xml would be nice

Re: please seperate Latitude, Longitude in XML

PostPosted: Sat Jun 25, 2005 3:18 pm
by bfolkens
guest wrote:a seperate tag for latitude and longitude in your xml would be nice


I'll try to get that done ASAP

PostPosted: Wed Aug 17, 2005 2:45 pm
by Guest
I'll try to get that done ASAP

Until this is done, is it possible to reverse the output order for latitude and longitude in the XML file?

I'll explain:
Your example file (http://www.hostip.info/api/get.XML?ip=12.215.42.19) outputs the coordinates in the format:
Code: Select all
<gml:coordinates>-88.4588,41.7696</gml:coordinates>
which means the coordinates are in the form (Longitude,Latitude) - a reverse order of the common output. This creates problems, such as when entering these coordinates into map services. Google Maps, for example, will output these coordinates' location as somewhere near Antarctica.

Is this order random, or is it there because of necessity? If it isn't, I think that many users will appreciate if you reverse it.

Thanks!

PostPosted: Wed Aug 17, 2005 5:02 pm
by Guest
Hello again,
I just looked at the Google Maps API, and it turns out that they use the same order that I just critiqued.
So I take my words back.

Sorry! :oops:

PostPosted: Fri Aug 19, 2005 2:17 pm
by bfolkens
Guest wrote:
I'll try to get that done ASAP

Until this is done, is it possible to reverse the output order for latitude and longitude in the XML file?

I'll explain:
Your example file (http://www.hostip.info/api/get.XML?ip=12.215.42.19) outputs the coordinates in the format:
Code: Select all
<gml:coordinates>-88.4588,41.7696</gml:coordinates>
which means the coordinates are in the form (Longitude,Latitude) - a reverse order of the common output. This creates problems, such as when entering these coordinates into map services. Google Maps, for example, will output these coordinates' location as somewhere near Antarctica.

Is this order random, or is it there because of necessity? If it isn't, I think that many users will appreciate if you reverse it.

Thanks!


I thought this was the GML spec, if anyone knows otherwise, please post