You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The map search can not handle bounding boxes that cross 180 E.
if they are encoded with the west boundary as a positive number <180 and East boundary > -180, the box gets indexed with the numerically lower value as the west boundary, so it wraps around the world.
if the are encoded using both west and east >0 or <0, but with ||abs value|| >180 on one side, the box is truncated at 180.
The only solution I've been able to find it putting in two bboxes, one east and one west of the 180 meridian. After applying the fix from issue #104 here, intersect searches function as expected. Unfortunately, the bb extents do not display when you mouse over the result in the results list if there's more that one geographicElement in the ISO metadata that is harvested. Centroids for boxes on both sides do show up in the SearchPanel map, but nothing shows up in the MapPanel using the GeoPortal search widget.
The text was updated successfully, but these errors were encountered:
Investigating some more, it looks like the problem is in the EvaluatorBase.makeEnvelope function.
Why do the longitudes have to be -180<=long<=180?
Looks like its an ElasticSearch problem, but when I decompose a bbox across the antimeridian into two bboxes, one to east and one to west, 'within' queries still don't work AFAICT.
The map search can not handle bounding boxes that cross 180 E.
if they are encoded with the west boundary as a positive number <180 and East boundary > -180, the box gets indexed with the numerically lower value as the west boundary, so it wraps around the world.
if the are encoded using both west and east >0 or <0, but with ||abs value|| >180 on one side, the box is truncated at 180.
The only solution I've been able to find it putting in two bboxes, one east and one west of the 180 meridian. After applying the fix from issue #104 here, intersect searches function as expected. Unfortunately, the bb extents do not display when you mouse over the result in the results list if there's more that one geographicElement in the ISO metadata that is harvested. Centroids for boxes on both sides do show up in the SearchPanel map, but nothing shows up in the MapPanel using the GeoPortal search widget.
The text was updated successfully, but these errors were encountered: