[API Suggestion] Maps API

[API Suggestion] Maps API

in API Development

Posted by: Dr Ishmael.9685

Dr Ishmael.9685

Only have two suggestions at the moment, I’m sure other people will have more:

  1. Some kind of name for skill challenges. Unfortunately, I expect this falls under the same caveat as Cliff mentioned in the map_floor.json documentation: “Dynamic content, such as vendors, are not currently available.”
  2. Polygons for sectors. I spent almost two months re-exploring Tyria with a new character, taking screenshots of the map after discovering each sector, then manually drawing the boundaries to make maps for the wiki. It’s a kitten keeping those updated with new areas (guild puzzles) and other game changes, so being able to access the actual sector boundaries would be a great time-saver.

Other than that, I’m pretty happy with this API. I took Cliff’s example jsFiddle, expanded it, and turned it into a #widget for the wiki.

[API Suggestion] Maps API

in API Development

Posted by: Healix.5819

Healix.5819

Skill challenges are a little tricky when it comes to their name, since not all of them have one. A lot of them are events but others are simply objects, items or dialogue.

I’d like to know what their future plans are, or at least what they don’t plan on supporting. When he says the map doesn’t currently support doing something (like events and vendors), I’d like to know if he actually intends on adding it or not. I’ve been manually recording this data for months, and it takes about a week to log everything in a zone, so I’d really like to know how much of it is going to waste – gathering nodes and event trees being the most time consuming.

I spent almost two months re-exploring Tyria with a new character, taking screenshots of the map after discovering each sector, then manually drawing the boundaries to make maps for the wiki.

I was just wondering yesterday if you actually did that manually.

[API Suggestion] Maps API

in API Development

Posted by: Tanis.5134

Tanis.5134

A mapping of WvW objective IDs to POI IDs would be much appreciated. But this is already a few hundred steps forward from my current mapping system, so I’m happy!

[API Suggestion] Maps API

in API Development

Posted by: smiley.1438

smiley.1438

I took Cliff’s example jsFiddle, expanded it, and turned it into a #widget for the wiki.

This is awesomesauce!

[API Suggestion] Maps API

in API Development

Posted by: EnemyCrusher.7324

EnemyCrusher.7324

Is there a map for the mists? I didn’t see one, but it would definitely help for the WvW app I’m making.

Light of Honor [Lite] – Founder / Warmaster
Sorrow’s Furnace Commander
“You’re the mount, karka’s ride you instead, and thus they die happy!”-Colin Johanson

[API Suggestion] Maps API

in API Development

Posted by: smiley.1438

smiley.1438

Is there a map for the mists? I didn’t see one, but it would definitely help for the WvW app I’m making.

Have you read the Documentation? *coughs*

https://api.guildwars2.com/v1/continents.json

apparently yes

[API Suggestion] Maps API

in API Development

Posted by: zeeZ.5713

zeeZ.5713

Not directly maps API, but related: “Geotagging” of screenshots for fancy Google Maps style image layers!

[API Suggestion] Maps API

in API Development

Posted by: EnemyCrusher.7324

EnemyCrusher.7324

Is there a map for the mists? I didn’t see one, but it would definitely help for the WvW app I’m making.

Have you read the Documentation? coughs

https://api.guildwars2.com/v1/continents.json

apparently yes

Thank you. I had read the new post to the API documentation but hadn’t checked the original to see if any changes had been made there.

Light of Honor [Lite] – Founder / Warmaster
Sorrow’s Furnace Commander
“You’re the mount, karka’s ride you instead, and thus they die happy!”-Colin Johanson

[API Suggestion] Maps API

in API Development

Posted by: smiley.1438

smiley.1438

Is it possible to add/swap the poi/task/sector ids as iterator for easier access and consistency?

bad (requires ugly workaround to get the poi_id, see https://github.com/codemasher/gw2api-tools/blob/master/js/gw2maps.js ):

points_of_interest: [
	{
		poi_id: 1052,
		name: "Altes Löwenstein",
		type: "landmark",
		floor: 1,
		coord: [
			15688.1,
			15253.7
		]
	}
]


good (directly accessible via: points_of_interest[poi_id]):

points_of_interest: [
	1052: {
		name: "Altes Löwenstein",
		type: "landmark",
		floor: 1,
		coord: [
			15688.1,
			15253.7
		]
	}
]



Oh, the skill challenges don’t even have an id – is it possible to add one for direct access (beside the name of the challenge)?

€:
Would anyone mind if there would be one array, e.g. points, wich contains all point data (like the current points_of_interest array) instead of 4 arrays?

(edited by smiley.1438)

[API Suggestion] Maps API

in API Development

Posted by: Dr Ishmael.9685

Dr Ishmael.9685

Would anyone mind if there would be one array, e.g. points, wich contains all point data (like the current points_of_interest array) instead of 4 arrays?

PoIs, tasks, and sectors use three different ID sequences, i.e. a PoI and a Task could share the same ID. You couldn’t make it an ID-keyed hash if you combined them.

[API Suggestion] Maps API

in API Development

Posted by: smiley.1438

smiley.1438

I wouldn’t mind if there was an individual array for each type so that you could loop through with 1 loop instead of 4 – the current map parser is an ugly duckling because of that.

I’d also like to request a “geocoding” service where you could send an id or a name and get just the data which you requested so that you don’t have to toop through hundreds of thousands arrays just to find 1 (!) point of interest.

(edited by smiley.1438)

[API Suggestion] Maps API

in API Development

Posted by: Primal Zed.9714

Primal Zed.9714

I’d like there to be some way to differentiate which ‘map’ objects are the primary zones and which are personal story instances.

Right now I’m working around this by comparing the map_id to map_names.json, but that misses the capitals (I’m guessing because only maps with events in them get into map_names.json).

[API Suggestion] Maps API

in API Development

Posted by: Pentose.3479

Pentose.3479

It would be nice if we could get the 3D position of the POIs rather than just 2D.

Also, perhaps a heightmap? It could be as simple as giving the Z-buffer of an isometric camera looking down at the map. Or perhaps meshes of the terrain and structures :P.

ASTC – HoD
Wuverlay – a helper overlay for WvW – http://wuv.pento.se

[API Suggestion] Maps API

in API Development

Posted by: zeroxsoul.9203

zeroxsoul.9203

don’t know if this is right place but possible if could read the locations of nodes and save them so they could be uploaded to ex: gw2nodes.com or is it not possible / against ToS?

Ty smiley

(edited by zeroxsoul.9203)

[API Suggestion] Maps API

in API Development

Posted by: smiley.1438

smiley.1438

Nothing prevents you from datamining as long as it isn’t reverse engineering of the actual game files aka gw2.dat which in fact would be against the EULA