These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

[Question] Locations.xml API

Author
Golden Gnu
The Golden Gnu Corp
#1 - 2013-12-22 10:33:35 UTC
Hi all you awesome API developers o/

I have a quick question about the Locations.xml API.

The return value for X,Y,Z is listen as:
Long on eve-id.net
Int on Eve Wiki
But, I'm getting Double as return value.

Is it me or is the documentation wrong?
If the documentation is wrong, I would very much like to update it.
But, I do not like changing the wiki without getting a second opinion first, hence the question :)

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Wafflehead
Garoun Investment Bank
Gallente Federation
#2 - 2013-12-24 12:58:50 UTC
Golden Gnu wrote:
Hi all you awesome API developers o/

I have a quick question about the Locations.xml API.

The return value for X,Y,Z is listen as:
Long on eve-id.net
Int on Eve Wiki
But, I'm getting Double as return value.

Is it me or is the documentation wrong?
If the documentation is wrong, I would very much like to update it.
But, I do not like changing the wiki without getting a second opinion first, hence the question :)


Well if the API is giving you a return value of a Double type then that's what it is. The wiki must be incorrect.
Tarunik Raqalth'Qui
Native Freshfood
Minmatar Republic
#3 - 2013-12-25 20:20:49 UTC
Wafflehead wrote:
Golden Gnu wrote:
Hi all you awesome API developers o/

I have a quick question about the Locations.xml API.

The return value for X,Y,Z is listen as:
Long on eve-id.net
Int on Eve Wiki
But, I'm getting Double as return value.

Is it me or is the documentation wrong?
If the documentation is wrong, I would very much like to update it.
But, I do not like changing the wiki without getting a second opinion first, hence the question :)


Well if the API is giving you a return value of a Double type then that's what it is. The wiki must be incorrect.

The docs I suspect are indeed wrong here. The ingame dialog for editing bookmarks provides the coordinates as floating point values as well...
Golden Gnu
The Golden Gnu Corp
#4 - 2013-12-26 00:21:14 UTC
Thank you both for the input, I will update the documentation then...

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"