[Ala-portal] Issue in the Explore your Area section

Santiago Martinez de la Riva sama at gbif.es
Tue Aug 26 10:02:28 CEST 2014


Yes, that is the point. I can see the results of the search in my laptop with Ubuntu and the any browser, but not in OS X and Windows 7.

Thanks Tim for your note.
---------------------------------------------------------------------------------------
Santiago Martínez de la Riva
GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
Plaza de Murillo, 2                                     sama at gbif.es
28014 Madrid, Spain                                 www.gbif.es

________________________________________
De: ala-portal-bounces at lists.gbif.org [ala-portal-bounces at lists.gbif.org] En nombre de Tim Robertson [trobertson at gbif.org]
Enviado el: martes, 26 de agosto de 2014 9:31
Para: Nick.Dosremedios at csiro.au
CC: ala-portal at lists.gbif.org
Asunto: Re: [Ala-portal] Issue in the Explore your Area section

Hi Nick,

>From here we see it working on Chrome, Firefox and Safari on OSX and on Windows 7 it works on Firefox but not on IE11
I ran it through http://browsershots.org and you can see that it differs significantly across browsers…

I think you use VirtualBox, so perhaps it is worth pulling a Windows image [1] and doing some testing using those?  It’s time consuming, but I don’t know of a better way to do testing across OS / Browser combinations and we manually do that here - if anyone knows a better approach, please ping me!

I hope this helps,
Tim

[1] https://www.modern.ie/en-us/virtualization-tools#downloads



On 26 Aug 2014, at 06:30, <Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au>> <Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au>> wrote:

Hi Daniel,

I'm not sure what is happening but I get 17 results for the same URL (step 3) that you show to have no results:

http://biocache.ala.org.au/occurrences/search?q=*:*&lat=-25.25&lon=133.75&radius=0.05

screenshot: https://www.dropbox.com/s/5oo70ws76v15d0q/Screenshot%202014-08-26%2014.17.53.png?dl=0

The URLs look to be the same, so maybe there is a locale or charset difference? Or else a reindex has changed something since you created your screenshots.

Having said that, there were a few times I did get the "No records found" message.

http://biocache.ala.org.au/occurrences/search?q=*:*&lat=-25.249&lon=133.751&radius=0.05

I think this is a minor bug in the way the records are being assigned to each circle (on the map in EYA) - the actual geospatial shape for these groupings (in the index) is actually a rectangle (grid), not a circle but we ended up using circles because that's what people were asking for... A work-around could be to slightly increase the radius to catch the records just outside the circle being generated. E.g. your link (step 3) that showed no records, does show records when the radius is increased from 0.05 to 0.06:

http://biocache.ala.org.au/occurrences/search?q=*:*&lat=-25.249&lon=133.751&radius=0.06#tab_mapView

Which gives 18 hits (not the reported 17 from EYA).

A better solution would be to draw grids, not circles and then create the same grid shape when showing records in the search results page.

Nick
--
Nick dos Remedios
Software Developer
Atlas of Living Australia<http://www.ala.org.au/>
National Facilities & Collections, CSIRO<http://www.csiro.au/Organisation-Structure/National-Facilities.aspx>
nick.dosremedios at csiro.au<mailto:nick.dosremedios at csiro.au>




On 26 Aug 2014, at 1:54 pm, Daniel Lins <daniel.lins at gmail.com<mailto:daniel.lins at gmail.com>> wrote:

Hi Nick,

When I tried these steps in the ALA Portal (http://biocache.ala.org.au/) occurred the same error reported by Santiago.

Below the steps and print screens.

Step 1: Open the URL of the last mail (http://biocache.ala.org.au/explore/your-area#-25.274398|133.77513599999997|12|ALL_SPECIES<http://biocache.ala.org.au/explore/your-area#-25.274398%7C133.77513599999997%7C12%7CALL_SPECIES>).
https://www.dropbox.com/s/sct1sfsad057ni2/step1.png?dl=0

Step 2: Click the occurrence point in the map.
https://www.dropbox.com/s/zm0rdm85ge5kqgu/step2.png?dl=0

Step3: Click in the link "view list of records" (number of records: 17).
https://www.dropbox.com/s/8b0sxcoj12wza7j/step3.png?dl=0

I have the same error in my server, Both in the explore your area and in the occurrence map view, when I click in one point on the map that has more than one occurrence in this location. In the balloon, when I click on the link "view all" the same error occurs.

In both situations the system use the same parameters in the request:

search?q=*:*&lat=-25.25&lon=133.75&radius=0.05

What do you think it could be?

Thanks!!

Daniel Lins da Silva.








2014-08-25 20:50 GMT-03:00 <Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au>>:
Hi Santiago,

It seems like your "Explore your area" (EYA) table and map are returning the correct points/records but then the linked "occurrence search" results don't get any records. The links you provided are the search result links but I need to be able to compare them with the URLs for the AJAX calls that are coming from the EYA page.

If I use the Chrome "inspector" (or FF Firebug), looking at the "Network" tab, I can see that the EYA page (ALA version - http://biocache.ala.org.au/explore/your-area#-25.274398|133.77513599999997|12|ALL_SPECIES<http://biocache.ala.org.au/explore/your-area#-25.274398%7C133.77513599999997%7C12%7CALL_SPECIES>) is sending these XHR requests:

(see https://dl.dropboxusercontent.com/u/2179526/EYA-ajax-screen-1.png)

- http://biocache.ala.org.au/ws/geojson/radius-points.jsonp?callback=jQuery183009473538515157998_1409009384679&lat=-25.274398&lon=133.77513599999997&radius=5&fq=geospatial_kosher%3Atrue&qc=&zoom=12&group=ALL_SPECIES&_=1409009385146

for map dots

- http://biocache.ala.org.au/ws/explore/groups.json?callback=jQuery183009473538515157998_1409009384680&lat=-25.274398&lon=133.77513599999997&radius=5&fq=geospatial_kosher%3Atrue&facets=species_group&qc=&_=1409009385148

for groups (left column of table)

- http://biocache.ala.org.au/ws/explore/group/ALL_SPECIES.json?callback=jQuery183009473538515157998_1409009384679&lat=-25.274398&lon=133.77513599999997&radius=5&fq=geospatial_kosher%3Atrue&qc=&pageSize=50&_=1409009387958

for species in the right column of the table.

I'm guessing that there is some difference in the either the 'q', 'fq', 'qc' (or maybe 'lat', 'lon' & 'radius') params from these URLs compared to the URLs for your main search links (http://10.1.1.2/generic-hub/occurrences/search?...).

Does this help? Maybe send me the equivalent links you are seeing in your browser for your version?

You also might want to look at the DEBUG level logging in generic-hub tomcat log to see what the URLs that are being sent to biocache-service are for those search pages which are returning zero results. They might be using a different 'qc' param, etc?

Nick
--
Nick dos Remedios
Software Developer
Atlas of Living Australia<http://www.ala.org.au/>

National Facilities & Collections, CSIRO<http://www.csiro.au/Organisation-Structure/National-Facilities.aspx>
nick.dosremedios at csiro.au<mailto:nick.dosremedios at csiro.au>




On 25 Aug 2014, at 10:54 pm, Santiago Martinez de la Riva <sama at gbif.es<mailto:sama at gbif.es>> wrote:

Dear Nick,

I tell you the steps that I've done:

I cloned the generic-hub repository,I added the message_es.properties file, then I generated the war and I uploaded it to my VM.

In the [Case1], the url is: http://10.1.1.2/generic-hub/occurrences/search?q=*:*&lat=40.4&lon=-3.7&radius=0.05.
[Case2]: http://10.1.1.2/generic-hub/occurrences/search?q=*:*&lat=40.4&lon=-3.7&radius=0.05.
[Case3]: http://10.1.1.2/generic-hub/occurrences/search?q=taxon_name:%22Astragalus%20alopecuroides%22&lat=40.4169&lon=-3.7036&radius=5

I have records in the specified radio, you can see them in the image1, but the system never find the information in the searchs. I think that the Brazilian team has the same problem.

Kind regards.
SaMa

---------------------------------------------------------------------------------------
Santiago Martínez de la Riva
GBIF.ES<http://gbif.es/>, Unidad de Coordinación         Tel. +34 91 4203017 x 273<tel:%2B34%2091%204203017%20x%20273>
Real Jardín Botánico - CSIC                     Fax +34 91 429 2405<tel:%2B34%2091%20429%202405>
Plaza de Murillo, 2                                     sama at gbif.es<mailto:sama at gbif.es>
28014 Madrid, Spain                                 www.gbif.es<http://www.gbif.es/>

________________________________________
De: Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au> [Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au>]
Enviado el: lunes, 25 de agosto de 2014 5:39
Para: Santiago Martinez de la Riva
CC: ala-portal at lists.gbif.org<mailto:ala-portal at lists.gbif.org>
Asunto: Re: [Ala-portal] Issue in the Explore your Area section

Hi Santiago,

I've tested that on a local version (generic-hub) and it works OK for me.

Could you send me the URL (if site is publically available) so I can see what AJAX services are sending, etc.?

Cheers

Nick
--
Nick dos Remedios
Software Developer
Atlas of Living Australia<http://www.ala.org.au<http://www.ala.org.au/>>
National Facilities & Collections, CSIRO<http://www.csiro.au/Organisation-Structure/National-Facilities.aspx>
nick.dosremedios at csiro.au<mailto:nick.dosremedios at csiro.au><mailto:nick.dosremedios at csiro.au>




On 20 Aug 2014, at 8:05 pm, Santiago Martinez de la Riva <sama at gbif.es<mailto:sama at gbif.es><mailto:sama at gbif.es>> wrote:

Hi all,

We are testing again the ala portal, and I think that we have found a issue that I’m going to explain us below.

The issue is in the "Explore your Area" section.

[Case 1]. In the image1, we can see that there is one point into the area, exactly with one record. Then if we want to list this record, we  can click on the option "View list of records"  but the system shows us the next message: "No records found for *:*" (View image2) ".
[Case 2] This is also the case, when we try to do the same with the option "View all records" (View image3).
[Case 3 ]In other hand, if we try to list a specific record that we can see in the left list through the option "list of records" (View image4), in this case the system shows us this message "No records found for taxon_name:"Crepis bursifolia" ". (View image5)

In general, it´s like if these operations of  "Explore your Area" are not connected to the indexing of solr.
But I want to do one puntualization. In the first case, it makes no sense that the system shows us that error, because we are filtering the records that we want that the system shows us, when we click on the link of the bubble of that specific point in the area. I hope this helps to trace the error.

Many thanks and kind regards by SaMaxD.


---------------------------------------------------------------------------------------
Santiago Martínez de la Riva
GBIF.ES<http://gbif.es/>, Unidad de Coordinación         Tel. +34 91 4203017 x 273<tel:%2B34%2091%204203017%20x%20273>
Real Jardín Botánico - CSIC                     Fax +34 91 429 2405<tel:%2B34%2091%20429%202405>
Plaza de Murillo, 2                                     sama at gbif.es<mailto:sama at gbif.es><mailto:sama at gbif.es>
28014 Madrid, Spain                                 www.gbif.es<http://www.gbif.es/><http://www.gbif.es<http://www.gbif.es/>>
<Image1.png><Image2.png><Image3.png><Image4.png><Image5.png>_______________________________________________
Ala-portal mailing list
Ala-portal at lists.gbif.org<mailto:Ala-portal at lists.gbif.org><mailto:Ala-portal at lists.gbif.org>
http://lists.gbif.org/mailman/listinfo/ala-portal

_______________________________________________
Ala-portal mailing list
Ala-portal at lists.gbif.org<mailto:Ala-portal at lists.gbif.org>
http://lists.gbif.org/mailman/listinfo/ala-portal


_______________________________________________
Ala-portal mailing list
Ala-portal at lists.gbif.org<mailto:Ala-portal at lists.gbif.org>
http://lists.gbif.org/mailman/listinfo/ala-portal




--
Daniel Lins da Silva
(Mobile) 55 11 96144-4050
Research Center on Biodiversity and Computing (Biocomp)
University of Sao Paulo, Brazil
daniellins at usp.br<mailto:daniellins at usp.br>
daniel.lins at gmail.com<mailto:daniel.lins at gmail.com>


_______________________________________________
Ala-portal mailing list
Ala-portal at lists.gbif.org<mailto:Ala-portal at lists.gbif.org>
http://lists.gbif.org/mailman/listinfo/ala-portal



More information about the Ala-portal mailing list