Difference between revisions of "GIS Interface"

From Gcube Wiki
Jump to: navigation, search
(The library)
Line 28: Line 28:
 
*Implements high level logic by coordinating publication of both data and metadata on the Spatial Data Infrastructure in the current scope.
 
*Implements high level logic by coordinating publication of both data and metadata on the Spatial Data Infrastructure in the current scope.
  
==Accessing GeoServer==
+
The offered functionalities are accessible by instatiating the ''org.gcube.spatial.data.gis.GISInterface'' java class, via its static method
 +
<source lang="java">
 +
public static GISInterface get() throws Exception
 +
</source>
 +
 
 +
=Interaction with GeoServer=
 
==GeoServer Get Methods==
 
==GeoServer Get Methods==
 
==GeoServer Put Methods==
 
==GeoServer Put Methods==
 
==Advanced Publishing==
 
==Advanced Publishing==

Revision as of 14:17, 18 May 2015

The GIS-Interface is a java library which exposes methods to access / modify spatial data and related metadata. The library is designed to rely on GeoNetwork and GeoServer registered in the infrastructure.

The library relies on org.gcube.spatial-data.geonetwork (see GeoNetwork library) to interact with geonetwork. Interaction with GeoServer REST interface is based on functionalities exposed by geoserver-manager, developed by GeoSolutions under MIT License.

The library

The library is a maven artifact with the following coordinates :

  <groupId>org.gcube.spatial.data</groupId>
  <artifactId>gis-interface</artifactId>

It relies on the GeoNetwork library for the interaction with GeoNetwork servers, and exploits functionalities implemented by geosolution's library :

  <groupId>it.geosolutions</groupId>
  <artifactId>geoserver-manager</artifactId>
  <version>1.5.2</version>

It basically :

  • Interacts with the infrastructure's IS to gather access information to both GeoServer and GeoNetwork instance(s)
  • Wraps geoserver-manager functionalities for accessing/modifying data on a given Geoserver instance,
  • Implements high level logic by coordinating publication of both data and metadata on the Spatial Data Infrastructure in the current scope.

The offered functionalities are accessible by instatiating the org.gcube.spatial.data.gis.GISInterface java class, via its static method

public static GISInterface get() throws Exception

Interaction with GeoServer

GeoServer Get Methods

GeoServer Put Methods

Advanced Publishing