mirror of https://github.com/apache/lucene.git
added some comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@929704 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7cc8b1b484
commit
61d2ad1eb3
|
@ -72,6 +72,9 @@ public class CartesianPolyFilterBuilder {
|
|||
double longY = ur.getLng();
|
||||
double longX = ll.getLng();
|
||||
double longX2 = 0.0;
|
||||
//These two if checks setup us up to deal with issues around the prime meridian and the 180th meridian
|
||||
//In these two cases, we need to get tiles (tiers) from the lower left up to the meridian and then
|
||||
//from the meridan to the upper right
|
||||
//Are we crossing the 180 deg. longitude, if so, we need to do some special things
|
||||
if (ur.getLng() < 0.0 && ll.getLng() > 0.0) {
|
||||
longX2 = ll.getLng();
|
||||
|
|
Loading…
Reference in New Issue