Project

General

Profile

Use Cases » History » Revision 5

Revision 4 (Кирилл Кулаков, 09/30/2013 05:04 PM) → Revision 5/11 (Кирилл Кулаков, 09/30/2013 05:09 PM)

h1. Use Cases 

 category-channel = channel in geo2tag, corresponding category of GeTS 

 h2. Points 

 h3. Load points 

 * Send to GeTS (???) list of categories, coordinates of circle center and radius 
 * GeTS loads from geo2tag (???) list of category-channels with 2D filter (circle center and radius) 
 * GeTS merges list of points from channels and remove duplicates. 
 * GeTS returns list of points. 

 h3. Update point info (categories and data) 

 * Send to GeTS (???) point with list of categories and point data 
 * GeTS search category-channels with old version of point 
 * if point data is differ then exists, then GeTS removes point from category-channels, else GeTS removes point from old category-channels 
 * GeTS add point to geo2tag (???) to new category-channels (or to all category-channels if poind data was changed) 
 * GeTS returns OK answer 

 

 h3. Add point 

 * Send to GeTS (???) point with list of categories and point data 
 * GeTS add point to geo2tag (???) to all category-channels 
 * if requested category-channel doesn't exists then GeTS creates (???) category-channel 

 h3. Remove point from category-channel(s) 

 *(We need function in geo2tag for removing points from channels)* 

 *(We need function in geo2tag for removing channels)* 

 * Send to GeTS (???) point with list of categories 
 * For each category GeTS: 
 *# loads point from category-channel (???);  
 *# remove deleted point from list; 
 *# delete old category-channel (???); 
 *# create new category-channel (???) and add list of points (???)