biostif_show_projections
Created: 2013-12-24 12:31:18
Last updated: 2015-05-11 22:21:53
Displays projections and points in BioSTIF.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Vera Hernandez & Renato De Giovanni |
Titles (1)
Show projections in BioSTIF. Rasters and points must be previously uploaded to BioSTIF. |
Descriptions (0)
Dependencies (0)
Inputs (2)
Name |
Description |
csvDataURI |
The BioSTIF identifier (URI) for species occurrence points.
|
user_layer_definition |
Comma separated list of BioSTIF layer identifiers to be displayed.
|
Processors (4)
Name |
Type |
Description |
BioSTIFInteraction |
interaction |
|
contentType |
stringconstant |
Valuecsv |
Read_Text_File |
localworker |
ScriptBufferedReader getReader (String fileUrl, String encoding) throws IOException {
InputStreamReader reader;
try {
if (encoding == null) {
reader = new FileReader(fileUrl);
} else {
reader = new InputStreamReader(new FileInputStream(fileUrl),encoding);
}
}
catch (FileNotFoundException e) {
// try a real URL instead
URL url = new URL(fileUrl);
if (encoding == null) {
reader = new InputStreamReader (url.openStream());
} else {
reader = new InputStreamReader (url.openStream(), encoding);
}
}
return new BufferedReader(reader);
}
StringBuffer sb = new StringBuffer(4000);
if (encoding == void) {
encoding = null;
}
BufferedReader in = getReader(fileurl, encoding);
String str;
String lineEnding = System.getProperty("line.separator");
while ((str = in.readLine()) != null) {
sb.append(str);
sb.append(lineEnding);
}
in.close();
filecontents = sb.toString();
|
species_datasource_name |
stringconstant |
Valuespecies_points |
Outputs (2)
Name |
Description |
csvResultData |
|
csvDataUri |
|
Datalinks (7)
Source |
Sink |
contentType:value |
BioSTIFInteraction:contentType |
csvDataURI |
BioSTIFInteraction:dataURI |
user_layer_definition |
BioSTIFInteraction:layer |
species_datasource_name:value |
BioSTIFInteraction:label |
BioSTIFInteraction:resultURIs |
Read_Text_File:fileurl |
Read_Text_File:filecontents |
csvResultData |
BioSTIFInteraction:resultURIs |
csvDataUri |
Uploader
Component Validity
Loading
License
All versions of this Workflow are
licensed under:
Version 2
(of 4)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (1)
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment