[Xapian-tickets] [Xapian] #481: Merge geospatial branch

Xapian nobody at xapian.org
Sun Aug 14 23:44:26 BST 2011


#481: Merge geospatial branch
-------------------------+--------------------------------------------------
 Reporter:  richard      |       Owner:  richard  
     Type:  enhancement  |      Status:  assigned 
 Priority:  highest      |   Milestone:  1.3.0    
Component:  Library API  |     Version:  SVN trunk
 Severity:  normal       |    Keywords:           
Blockedby:               |    Platform:  All      
 Blocking:               |  
-------------------------+--------------------------------------------------

Comment(by richard):

 geocode format should probably have the discontinuity in longitude values
 at -180 instead of 0, since the world is less populated there.  We should
 also implement a bounding box checker (possibly that works only at the
 degree level), or at least a checker for longitude ranges, so that all
 users don't need to write their own code to cope with the discontinuity in
 encoded ranges.  Not sure of the appropriate API for a bbox checker, since
 we want to avoid effectively decoding the coordinate twice.  It seems that
 decoding could perhaps be done which doing a bbox check, so I think a good
 API might be a function takes a bbox, and which either returns a decoded
 coordinate, or a value of false to indicate that the coordinate is outside
 the box.

-- 
Ticket URL: <http://trac.xapian.org/ticket/481#comment:23>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list