|
38 | 38 | * "ws": "https://biocache.ala.org.au"
|
39 | 39 | * }
|
40 | 40 | * - fqs
|
41 |
| - * ["spatiallyValid:true"] |
| 41 | + * ["geospatial_kosher:true"] |
42 | 42 | *
|
43 | 43 | * Ouput:
|
44 | 44 | * 10
|
|
74 | 74 | * "ws": "https://biocache.ala.org.au"
|
75 | 75 | * }
|
76 | 76 | * - fqs
|
77 |
| - * ["spatiallyValid:true"] |
| 77 | + * ["geospatial_kosher:true"] |
78 | 78 | *
|
79 | 79 | * Ouput:
|
80 | 80 | * 2
|
|
115 | 115 | * "ws": "https://biocache.ala.org.au"
|
116 | 116 | * }
|
117 | 117 | * - fqs
|
118 |
| - * ["spatiallyValid:true"] |
| 118 | + * ["geospatial_kosher:true"] |
119 | 119 | * - config
|
120 | 120 | * Ouput:
|
121 | 121 | * "names_and_lsid","Species Name","Scientific Name Authorship","Taxon Rank","Kingdom","Phylum","Class","Order","Family","Genus","Vernacular Name","Number of records","Conservation","Invasive"
|
|
148 | 148 | * "ws": "https://biocache.ala.org.au"
|
149 | 149 | * }
|
150 | 150 | * - fqs
|
151 |
| - * ["spatiallyValid:true"] |
| 151 | + * ["geospatial_kosher:true"] |
152 | 152 | *
|
153 | 153 | * Output:
|
154 |
| - * "https://biocache-ws.ala.org.au/ws/occurrences/facets/download?facets=names_and_lsid&lookup=true&count=true&lists=true&q=Macropus&fq=spatiallyValid:true" |
| 154 | + * "https://biocache-ws.ala.org.au/ws/occurrences/facets/download?facets=names_and_lsid&lookup=true&count=true&lists=true&q=Macropus&fq=geospatial_kosher:true" |
155 | 155 | */
|
156 | 156 | speciesListUrl: function (query, fqs) {
|
157 | 157 | var fqList = (fqs === undefined ? '' : '&fq=' + this.joinAndEncode(fqs));
|
|
178 | 178 | * "ws": "https://biocache.ala.org.au"
|
179 | 179 | * }
|
180 | 180 | * - fqs
|
181 |
| - * ["spatiallyValid:true"] |
| 181 | + * ["geospatial_kosher:true"] |
182 | 182 | *
|
183 | 183 | * Output:
|
184 | 184 | * ```
|
|
213 | 213 | * "ws": "https://biocache.ala.org.au"
|
214 | 214 | * }
|
215 | 215 | * - fqs
|
216 |
| - * ["spatiallyValid:true"] |
| 216 | + * ["geospatial_kosher:true"] |
217 | 217 | *
|
218 | 218 | * Output:
|
219 | 219 | * "http://biocache.ala.org.au/ws/explore/endemic/species/1234.csv?facets=names_and_lsid&lookup=true&count=true&lists=true"
|
|
251 | 251 | * "ws": "https://biocache.ala.org.au"
|
252 | 252 | * }
|
253 | 253 | * - fqs
|
254 |
| - * ["spatiallyValid:true"] |
| 254 | + * ["geospatial_kosher:true"] |
255 | 255 | *
|
256 | 256 | * Output:
|
257 | 257 | * []
|
|
284 | 284 | * "ws": "https://biocache.ala.org.au"
|
285 | 285 | * }
|
286 | 286 | * - fqs
|
287 |
| - * ["spatiallyValid:true"] |
| 287 | + * ["geospatial_kosher:true"] |
288 | 288 | *
|
289 | 289 | * Output:
|
290 | 290 | * 500
|
|
322 | 322 | * "ws": "https://biocache.ala.org.au"
|
323 | 323 | * }
|
324 | 324 | * - fqs
|
325 |
| - * ["spatiallyValid:true"] |
| 325 | + * ["geospatial_kosher:true"] |
326 | 326 | *
|
327 | 327 | * Output:
|
328 | 328 | * "<span>Macropus</span>"
|
|
364 | 364 | * "ws": "https://biocache.ala.org.au"
|
365 | 365 | * }
|
366 | 366 | * - fqs
|
367 |
| - * ["spatiallyValid:true"] |
| 367 | + * ["geospatial_kosher:true"] |
368 | 368 | *
|
369 | 369 | * Output:
|
370 |
| - * "http://biocache-ws.ala.org.au/ws/occurrences/search?q=Macropus&fq=spatiallyValid:true&pageSize=1&offset=0&facet=false" |
| 370 | + * "http://biocache-ws.ala.org.au/ws/occurrences/search?q=Macropus&fq=geospatial_kosher:true&pageSize=1&offset=0&facet=false" |
371 | 371 | */
|
372 | 372 | constructSearchResultUrl: function (query, fqs, pageSize, offset, facet) {
|
373 | 373 | facet = facet || false;
|
|
0 commit comments