Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The "SolrAdaptersForLuceneSpatial4" page has been changed by DavidSmiley:
http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4?action=diff&rev1=23&rev2=24

Comment:
Reference SpatialForTimeDurations

   * All WKT coordinates are normalized into the standard geospatial lat-lon 
boundaries.  So, -184 longitude becomes +176, for example.  Both +180 and -180 
are kept distinct -- true for all of Spatial4j, not just JTS.
   * The standard way to specify a rectangle in WKT is a Polygon -- WKT doesn't 
have a rectangle shape.  If you want to specify a Rectangle via WKT (instead of 
the Spatial4j basic non-WKT syntax), you should take care to specify the 
coordinates in counter-clockwise order, the WKT standard.  If this is done 
wrong then the rectangle will go the opposite direction longitudinally, even if 
it means one that spans nearly the entire globe (>180 degrees width).  
OpenLayers seems to not honor the WKT standard here, and depending on the 
corner you drag the rectangle from, might use a clockwise order.  Some systems 
like PostGIS don't care what the ordering is, but the problem there is that 
there is then no way to specify a rectangle that has >= 180 width because there 
would be ambiguity.  Spatial4j follows the WKT spec.
  
- == TO DO ==
+ = TODO =
  
   * ability to pass d parameter for km or miles for small distances (helper?)
  
+ = Using spatial to search time ranges =
+ 
+ The new spatial support here can actually be used for searching and indexing 
time durations or other numeric ranges.  See [[SpatialForTimeDurations]].
+ 

Reply via email to