git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngine@85703 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
43d12154b9
commit
9da64c2f92
|
@ -20,8 +20,8 @@ import org.gcube.dataanalysis.ecoengine.utils.DatabaseUtils;
|
||||||
public class OccurrencePointsInSeaOnEarth extends OccurrencePointsMerger{
|
public class OccurrencePointsInSeaOnEarth extends OccurrencePointsMerger{
|
||||||
|
|
||||||
//NOTE: 0.125 is the diagonal of a csquare, which is the maximum extent to which a point can lie in a csquare
|
//NOTE: 0.125 is the diagonal of a csquare, which is the maximum extent to which a point can lie in a csquare
|
||||||
private static String inthesea="select * into %1$s from (select distinct a.* from %2$s as a join hcaf_d as b on ((b.centerlat-a.%3$s)*(b.centerlat-a.%3$s)+(b.centerlong-a.%4$s)*(b.centerlong-a.%4$s)<= 0.125) and b.oceanarea>0) as t limit 50000";
|
private static String inthesea="select * into %1$s from (select distinct a.* from %2$s as a join hcaf_d as b on ((b.centerlat-a.%3$s)*(b.centerlat-a.%3$s)+(b.centerlong-a.%4$s)*(b.centerlong-a.%4$s)<= 0.125) and b.oceanarea>0) as t limit 10000";
|
||||||
private static String onearth="select * into %1$s from (select distinct a.* from %2$s as a join hcaf_d as b on ((b.centerlat-a.%3$s)*(b.centerlat-a.%3$s)+(b.centerlong-a.%4$s)*(b.centerlong-a.%4$s)<= 0.125) and b.landdist<=0.3) as t limit 50000";
|
private static String onearth="select * into %1$s from (select distinct a.* from %2$s as a join hcaf_d as b on ((b.centerlat-a.%3$s)*(b.centerlat-a.%3$s)+(b.centerlong-a.%4$s)*(b.centerlong-a.%4$s)<= 0.125) and b.landdist<=0.3) as t limit 10000";
|
||||||
static String tableNameF = "OccurrencePointsTableName";
|
static String tableNameF = "OccurrencePointsTableName";
|
||||||
static String filterTypeF = "FilterType";
|
static String filterTypeF = "FilterType";
|
||||||
String tableName;
|
String tableName;
|
||||||
|
@ -69,7 +69,7 @@ public class OccurrencePointsInSeaOnEarth extends OccurrencePointsMerger{
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return "A transducer algorithm that produces a table containing occurrence points by filtering them by type of area, i.e. by recognising whether they are marine or terrestrial. Works with up to 50000 points per table.";
|
return "A transducer algorithm that produces a table containing occurrence points by filtering them by type of area, i.e. by recognising whether they are marine or terrestrial. Works with up to 10000 points per table.";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue