Duplicate Map Entries Causing Loss of Data

Duplicate Map Entries Causing Loss of Data

in API Development

Posted by: Initia Nova.5917

Initia Nova.5917

From looking at many of the posts on here, I gather that most of the duplicate maps in the map_floor JSON are due to story instances and the like. However, while searching through the JSON for Tyria Floor 1, I noticed that not only are Dredgehaunt Cliffs, Lornar’s Pass, Blazeridge Steppes, Bloodtide Coast, and Harathi Hinterlands doubled, but their doubles also share the same map ID. This means when I parse the data with JQuery, the initial map data is overwritten by the doubled map data, which is often incomplete. Is there a reason these doubles share the same map IDs, and is it possible to change their map IDs since it makes the previous information inaccessible?

Duplicate Map Entries Causing Loss of Data

in API Development

Posted by: Initia Nova.5917

Initia Nova.5917

Fyi, I went through floors 0-3, and the ones I listed for floor 1 appear to be the only problem duplicates. Currently I’m just using the data from the other floors, but it should probably be looked at anyway.

Duplicate Map Entries Causing Loss of Data

in API Development

Posted by: Dr Ishmael.9685

Dr Ishmael.9685

This is a known bug.

Duplicate Map Entries Causing Loss of Data

in API Development

Posted by: sorenrye.7238

sorenrye.7238

This means when I parse the data with JQuery, the initial map data is overwritten by the doubled map data, which is often incomplete

When you have duplicate entries (assuming the map identifier is supposed to be unique), you shouldn’t trust that the data in any of these entries are valid.

Is there a reason these doubles share the same map IDs, and is it possible to change their map IDs since it makes the previous information inaccessible?

If you trust the data, and want to import/read several map records, you may need to store your data in a way, so that the multiple records with identical map-identifiers does not overwrite each other (never used jquery/leaflet, so I don’t know how you are using it/what you are doing with it).