TaskarCenterAtUW / GoInfoGame-iOS

iOS Version of GoInfoGame
Apache License 2.0
0 stars 0 forks source link

Implementing datastructures to store and retreive the data from API #9

Closed susrisha closed 7 months ago

susrisha commented 10 months ago

After getting the data from API, to avoid multiple calls to the server, the data needs to be represented in terms of Objects so that thay are easily accessible to the other parts of the system

Outcome:

susrisha commented 7 months ago

There are 3 domains within the application for representing Nodes and Ways

Overpass API -> used with SwiftOverpassAPI. The objects in this domain are with prefix of OP Eg. OPNode, OPWay and base OPElement

Storage -> used for storage of elements. Eg. StoredNode, StoredWay

Filtering. This representation is used to filter out the quests applicable for a specific element. These donot have any prefix. These are available in osmparser target.