This commit is contained in:
Gianpaolo Coro 2015-07-22 15:01:13 +00:00
parent e9021c3a91
commit e50c98edcd
4 changed files with 285 additions and 0 deletions

162
pom.xml Normal file
View File

@ -0,0 +1,162 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>WPSStatisticalSynchService</groupId>
<artifactId>WPSStatisticalSychService</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>wps-statistical-synch-service</name>
<description>wps-statistical-synch-service</description>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>org.n52.wps</groupId>
<artifactId>52n-wps-io</artifactId>
<version>[3.3.1,4.0.0)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.n52.wps</groupId>
<artifactId>52n-wps-io-impl</artifactId>
<version>[3.3.1,4.0.0)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.n52.wps</groupId>
<artifactId>52n-wps-algorithm</artifactId>
<version>[3.3.1,4.0.0)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.n52.wps</groupId>
<artifactId>52n-wps-server</artifactId>
<version>[3.3.1,4.0.0)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- <dependency>
<groupId>org.gcube.dataanalysis</groupId>
<artifactId>ecological-engine</artifactId>
<version>[1.8.5-SNAPSHOT,2.0.0-SNAPSHOT)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-log4j12</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency> -->
<dependency>
<groupId>org.gcube.dataanalysis</groupId>
<artifactId>ecological-engine-wps-extension</artifactId>
<version>[1.0.2-SNAPSHOT,2.0.0-SNAPSHOT)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.gcube.dataanalysis</groupId>
<artifactId>ecological-engine-geospatial-extensions</artifactId>
<version>[1.3.2-SNAPSHOT,2.0.0-SNAPSHOT)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.gcube.dataanalysis</groupId>
<artifactId>ecological-engine-external-algorithms</artifactId>
<version>[1.1.5-SNAPSHOT,2.0.0-SNAPSHOT)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>common-utils-encryption</artifactId>
<groupId>org.gcube.core</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.gcube.dataanalysis</groupId>
<artifactId>ecological-engine-smart-executor</artifactId>
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>1.7.10</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>common-authorization</artifactId>
<version>[1.0.0-SNAPSHOT,2.0.0)</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>n52-releases</id>
<name>52n Releases</name>
<url>http://52north.org/maven/repo/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>

49
temp.xml Normal file
View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<SimpleDarwinRecordSet xmlns="http://rs.tdwg.org/dwc/xsd/simpledarwincore/"
xmlns:dc="http://purl.org/dc/terms/" xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://rs.tdwg.org/dwc/xsd/simpledarwincore/ http://rs.tdwg.org/dwc/xsd/tdwg_dwc_simple.xsd">
<SimpleDarwinRecord>
<dc:modified>2006-05-04T18:13:51.0Z</dc:modified>
<dc:language>en</dc:language>
<dwc:basisOfRecord>Taxon</dwc:basisOfRecord>
<dwc:scientificNameID>http://research.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=53548
</dwc:scientificNameID>
<dwc:acceptedNameUsageID>http://research.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=22010
</dwc:acceptedNameUsageID>
<dwc:originalNameUsageID>http://research.calacademy.org/research/ichthyology/catalog/fishcatget.asp?spid=53548
</dwc:originalNameUsageID>
<dwc:nameAccordingToID>http://research.calacademy.org/research/ichthyology/catalog/getref.asp?id=22764
</dwc:nameAccordingToID>
<dwc:namePublishedInID>http://research.calacademy.org/research/ichthyology/catalog/getref.asp?id=671
</dwc:namePublishedInID>
<dwc:scientificName>Centropyge flavicauda Fraser-Brunner 1933
</dwc:scientificName>
<dwc:acceptedNameUsage>Centropyge fisheri (Snyder 1904)
</dwc:acceptedNameUsage>
<dwc:parentNameUsage>Centropyge Kaup, 1860</dwc:parentNameUsage>
<dwc:originalNameUsage>Centropyge flavicauda Fraser-Brunner 1933
</dwc:originalNameUsage>
<dwc:nameAccordingTo>Allen, G.R. 1980. Butterfly and angelfishes of
the world. Volume II. Mergus Publishers. Pp. 149-352.
</dwc:nameAccordingTo>
<dwc:namePublishedIn>Fraser-Brunner, A. 1933. A revision of the
chaetodont fishes of the subfamily Pomacanthinae. Proceedings of the
General Meetings for Scientific Business of the Zoological Society of
London 1933 (pt 3, no.30): 543-599, Pl. 1.</dwc:namePublishedIn>
<dwc:higherClassification>Animalia;Chordata;Vertebrata;Osteichthyes;Actinopterygii;Neopterygii;Teleostei;Acanthopterygii;Perciformes;
Percoidei;Pomacanthidae;Centropyge</dwc:higherClassification>
<dwc:kingdom>Animalia</dwc:kingdom>
<dwc:phylum>Chordata</dwc:phylum>
<dwc:class>Osteichthyes</dwc:class>
<dwc:order>Perciformes</dwc:order>
<dwc:family>Pomacanthidae</dwc:family>
<dwc:genus>Centropyge</dwc:genus>
<dwc:specificEpithet>flavicauda</dwc:specificEpithet>
<dwc:scientificNameAuthorship>Fraser-Brunner 1933
</dwc:scientificNameAuthorship>
<dwc:taxonRank>species</dwc:taxonRank>
<dwc:nomenclaturalCode>ICZN</dwc:nomenclaturalCode>
<dwc:taxonomicStatus>accepted</dwc:taxonomicStatus>
</SimpleDarwinRecord>
</SimpleDarwinRecordSet>

6
test.csv Normal file
View File

@ -0,0 +1,6 @@
long,lat,temp,Component_1,Component_2,Component_3
-159,-19.5,28.5,-122.34798,-12.744011,-49.863771
172,1.91,27.6,206.543116,-10.420278,-6.905119
-170,0.017,25.9,-134.615727,-11.25202,-30.997144
-169,-44.6,15.3,-130.848563,1.672295,-74.84697
-169,-43.6,16,-130.905515,0.921018,-73.886585
1 long lat temp Component_1 Component_2 Component_3
2 -159 -19.5 28.5 -122.34798 -12.744011 -49.863771
3 172 1.91 27.6 206.543116 -10.420278 -6.905119
4 -170 0.017 25.9 -134.615727 -11.25202 -30.997144
5 -169 -44.6 15.3 -130.848563 1.672295 -74.84697
6 -169 -43.6 16 -130.905515 0.921018 -73.886585

68
test.gml Normal file
View File

@ -0,0 +1,68 @@
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="/ "
xmlns:ogr="http://ogr.maptools.org/"
xmlns:gml="http://www.opengis.net/gml">
<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>-170</gml:X><gml:Y>-44.6</gml:Y></gml:coord>
<gml:coord><gml:X>172</gml:X><gml:Y>1.91</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<ogr:qt_temp fid="qt_temp.0">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>-159.0,-19.5</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:long>-159</ogr:long>
<ogr:lat>-19.5</ogr:lat>
<ogr:temp>28.5</ogr:temp>
<ogr:Component_1>-122.34798</ogr:Component_1>
<ogr:Component_2>-12.744011</ogr:Component_2>
<ogr:Component_3>-49.863771</ogr:Component_3>
</ogr:qt_temp>
</gml:featureMember>
<gml:featureMember>
<ogr:qt_temp fid="qt_temp.1">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>172.0,1.91</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:long>172</ogr:long>
<ogr:lat>1.91</ogr:lat>
<ogr:temp>27.6</ogr:temp>
<ogr:Component_1>206.543116</ogr:Component_1>
<ogr:Component_2>-10.420278</ogr:Component_2>
<ogr:Component_3>-6.905119</ogr:Component_3>
</ogr:qt_temp>
</gml:featureMember>
<gml:featureMember>
<ogr:qt_temp fid="qt_temp.2">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>-170.0,0.017</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:long>-170</ogr:long>
<ogr:lat>0.017</ogr:lat>
<ogr:temp>25.9</ogr:temp>
<ogr:Component_1>-134.615727</ogr:Component_1>
<ogr:Component_2>-11.25202</ogr:Component_2>
<ogr:Component_3>-30.997144</ogr:Component_3>
</ogr:qt_temp>
</gml:featureMember>
<gml:featureMember>
<ogr:qt_temp fid="qt_temp.3">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>-169.0,-44.6</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:long>-169</ogr:long>
<ogr:lat>-44.6</ogr:lat>
<ogr:temp>15.3</ogr:temp>
<ogr:Component_1>-130.848563</ogr:Component_1>
<ogr:Component_2>1.672295</ogr:Component_2>
<ogr:Component_3>-74.84697</ogr:Component_3>
</ogr:qt_temp>
</gml:featureMember>
<gml:featureMember>
<ogr:qt_temp fid="qt_temp.4">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>-169.0,-43.6</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:long>-169</ogr:long>
<ogr:lat>-43.6</ogr:lat>
<ogr:temp>16</ogr:temp>
<ogr:Component_1>-130.905515</ogr:Component_1>
<ogr:Component_2>0.921018</ogr:Component_2>
<ogr:Component_3>-73.886585</ogr:Component_3>
</ogr:qt_temp>
</gml:featureMember>
</ogr:FeatureCollection>