Closed GoogleCodeExporter closed 9 years ago
There is no easy fix for this one. The issues relates to performing geospatial
searches on multiple complex areas. Biocache-service is performing an "OR"
search on each of these WKT. Given the complexity of these areas this is an
expensive operation. With all three of these areas included the search times
out with SOLR.
There are a couple of solution:
1) Disable the "All area layers" options. Instead provide an action that merges
selected area layers together and make the users use the merged layer.
2) Make biocache-service union the WKT together and only search for one WKT.
Main issue with this one is that the resulting WKT is not exact based on JTS
lib: See FAQ D7 - http://tsusiatsoftware.net/jts/jts-faq/jts-faq.html
Either way we may need to modify biocache-service so that a search timeout
param can be provided.
I am going to downgrade this issue because it has been working this way for
almost the entire year. Also there is no time to address it before the end of
the year.
Original comment by natasha....@csiro.au
on 19 Dec 2013 at 11:16
Thanks Natasha. See Issue #270 as I think this remains the best strategy.
This is an important issue to address as we need to remove limitations in being
able to build 'complex' areas. This reasoning was behind my push to provide 14
different options in 'Add to map | areas'. I hadn't figured on a 15th, but time
suggested otherwise. The improvement of the Area report is likely to also to
put pressure for 15 (or equivalent - so long as a merge is possible).
Currently, a manual addition could require a lot of work.
Original comment by leebel...@gmail.com
on 20 Dec 2013 at 12:07
Reassigning to Adam. During the meeting we had when Adam was in Canberra we
discussed this as a task. ie the merging layers into a single layer for
querying purposes
There may also be a biocache-service search "timeout" aspect to be handled too.
Original comment by natasha....@csiro.au
on 7 Apr 2014 at 3:53
Attempts are made to keep WKT sent to biocache below the new parameter
max_q_wkt_length. Still need to tell users when this occurs because what is
mapped as the area is not what biocache queries operate on.
Original comment by adam.col...@gmail.com
on 2 May 2014 at 2:27
This works now really well - and VERY fast for the example from Robyn Lawrence
#1.
ToProd once the Warning is implemented.
Original comment by leebel...@gmail.com
on 5 May 2014 at 1:44
Original comment by adam.col...@gmail.com
on 20 May 2014 at 12:17
Original issue reported on code.google.com by
leebel...@gmail.com
on 18 Dec 2013 at 4:30Attachments: