Use Cases » History » Version 4
Кирилл Кулаков, 09/30/2013 05:04 PM
| 1 | 1 | Кирилл Кулаков | h1. Use Cases |
|---|---|---|---|
| 2 | |||
| 3 | 3 | Кирилл Кулаков | category-channel = channel in geo2tag, corresponding category of GeTS |
| 4 | 1 | Кирилл Кулаков | |
| 5 | 2 | Кирилл Кулаков | h2. Points |
| 6 | |||
| 7 | h3. Load points |
||
| 8 | |||
| 9 | * Send to GeTS (???) list of categories, coordinates of circle center and radius |
||
| 10 | * GeTS loads from geo2tag (???) list of category-channels with 2D filter (circle center and radius) |
||
| 11 | * GeTS merges list of points from channels and remove duplicates. |
||
| 12 | 1 | Кирилл Кулаков | * GeTS returns list of points. |
| 13 | 2 | Кирилл Кулаков | |
| 14 | h3. Update point info (categories and data) |
||
| 15 | |||
| 16 | * Send to GeTS (???) point with list of categories and point data |
||
| 17 | * GeTS search category-channels with old version of point |
||
| 18 | * if point data is differ then exists, then GeTS removes point from category-channels, else GeTS removes point from old category-channels |
||
| 19 | * GeTS add point to geo2tag (???) to new category-channels (or to all category-channels if poind data was changed) |
||
| 20 | * GeTS returns OK answer |
||
| 21 | |||
| 22 | h3. Add point |
||
| 23 | |||
| 24 | * Send to GeTS (???) point with list of categories and point data |
||
| 25 | * GeTS add point to geo2tag (???) to all category-channels |
||
| 26 | |||
| 27 | h3. Remove point from category-channel(s) |
||
| 28 | |||
| 29 | *(We need function in geo2tag for removing points from channels)* |
||
| 30 | |||
| 31 | 4 | Кирилл Кулаков | *(We need function in geo2tag for removing channels)* |
| 32 | |||
| 33 | 2 | Кирилл Кулаков | * Send to GeTS (???) point with list of categories |
| 34 | * For each category GeTS: |
||
| 35 | *# loads point from category-channel (???); |
||
| 36 | *# remove deleted point from list; |
||
| 37 | *# delete old category-channel (???); |
||
| 38 | *# create new category-channel (???) and add list of points (???) |