Moved at 4.1.0 and Java 8 compliant
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/gis-viewer@150608 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6a846de971
commit
72d3716bca
|
@ -1,7 +1,15 @@
|
|||
<ReleaseNotes>
|
||||
<Changeset component="org.gcube.portlets-user.GISViewer.4-1-0"
|
||||
date="2017-06-28">
|
||||
<Change>Changed maven compiler at 1.8
|
||||
</Change>
|
||||
<Change>[Feature #5164] Upgraded to gwt 2.7.0
|
||||
</Change>
|
||||
</Changeset>
|
||||
<Changeset component="org.gcube.portlets-user.GISViewer.4-0-0"
|
||||
date="2016-09-26">
|
||||
<Change>[Feature #5148] Removed dependency 'geoserverinterface' and changed interface
|
||||
<Change>[Feature #5148] Removed dependency 'geoserverinterface' and
|
||||
changed interface
|
||||
</Change>
|
||||
<Change>[Feature #5164] Upgraded to gwt 2.7.0
|
||||
</Change>
|
||||
|
|
7
pom.xml
7
pom.xml
|
@ -10,7 +10,7 @@
|
|||
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>gis-viewer</artifactId>
|
||||
<version>4.0.0-SNAPSHOT</version>
|
||||
<version>4.1.0-SNAPSHOT</version>
|
||||
<name>GIS Viewer Widget</name>
|
||||
<description>
|
||||
GWT Widget application to access GIS Data
|
||||
|
@ -25,8 +25,9 @@
|
|||
<gwtVersion>2.7.0</gwtVersion>
|
||||
<distroDirectory>distro</distroDirectory>
|
||||
<!-- GWT needs at least java 1.6 -->
|
||||
<maven.compiler.source>1.6</maven.compiler.source>
|
||||
<maven.compiler.target>1.6</maven.compiler.target>
|
||||
<maven.compiler.source>1.7</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
|
|
|
@ -221,19 +221,11 @@ public class FeatureParser {
|
|||
return table;
|
||||
}
|
||||
|
||||
// /**
|
||||
// * @param layerItem
|
||||
// * @return
|
||||
// */
|
||||
// private static WfsTable getTableFromJson(LayerItem layerItem, String bbox) {
|
||||
// return getTableFromJson(layerItem, bbox, Constants.MAX_WFS_FEATURES);
|
||||
// }
|
||||
|
||||
// PARSE TEST
|
||||
/**
|
||||
* Parses the.
|
||||
*/
|
||||
private static void parse() {
|
||||
* Parses the.
|
||||
*/
|
||||
private static void parse() {
|
||||
String layer = "aquamaps:environments";
|
||||
String url = "http://geoserver2.d4science.research-infrastructures.eu/geoserver/wfs?service=wfs&version=1.1.0&request=GetFeature&typeName="+layer+"&bbox=0,0,180,1";
|
||||
try {
|
||||
|
@ -322,10 +314,12 @@ private static void parse() {
|
|||
}*/
|
||||
|
||||
LayerItem l = new LayerItem();
|
||||
l.setLayer("HeatFlowUnit");
|
||||
l.setGeoserverUrl("http://egip.brgm-rec.fr/wxs/");
|
||||
l.setName("HeatFlowUnit");
|
||||
l.setLayer("spd538430dc08474934a4b62ffb03edd483");
|
||||
l.setGeoserverUrl("http://geoserver-dev.d4science-ii.research-infrastructures.eu/geoserver/wfs");
|
||||
l.setName("spd538430dc08474934a4b62ffb03edd483");
|
||||
|
||||
FeatureParser.getTableFromJson(l, "-90,-180,90,180", 1);
|
||||
WebFeatureTable table = FeatureParser.getTableFromJson(l, "-90,-180,90,180", 1);
|
||||
|
||||
System.out.println("Result: "+table.toString());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue