Difference between revisions of "GIS Interface"

From Gcube Wiki
Jump to: navigation, search
(GeoNetwork module)
(GeoNetwork module)
Line 16: Line 16:
 
In order to use org.gcube.spatial-data.geonetwork in your Maven project, you need to add this dependecy in your pom.xml file  
 
In order to use org.gcube.spatial-data.geonetwork in your Maven project, you need to add this dependecy in your pom.xml file  
  
<syntaxhighlight lang="xml">
+
<xml>
 
<dependency>
 
<dependency>
 
   <groupId>org.gcube.spatial.data</groupId>
 
   <groupId>org.gcube.spatial.data</groupId>
Line 22: Line 22:
 
   <version>1.0.0-SNAPSHOT</version>
 
   <version>1.0.0-SNAPSHOT</version>
 
</dependency>
 
</dependency>
</syntaxhighlight>
+
</xml>
  
please, remind version ranges guidelines declared in [[Developing gCube Maven Components]].
+
please, remind to follow guidelines declared in [[Developing gCube Maven Components]].
  
 
===ISO 19115:2003 metadata compliance===
 
===ISO 19115:2003 metadata compliance===

Revision as of 17:10, 18 March 2013

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 implementation is based on functionalities exposed by geoserver-manager and geonetwork-manager. These libraries are both developped by GeoSolutions under MIT License.

Modules

The library is distributed in 2 separate modules :

  • org.gcube.spatial-data.geonetwork
exposes functionalities to access / write metadata on GeoNetwork. Most applications which need basic functionalities like search and access to metadata should rely only on this component.
  • org.gcube.spatial-data.gis-interface
used to manage spatial data to/from GeoServer instances. Applications which generate/publish spatial data in the infrastructure should exploit its functionalities.

GeoNetwork module

In order to use org.gcube.spatial-data.geonetwork in your Maven project, you need to add this dependecy in your pom.xml file

<xml> <dependency>

 <groupId>org.gcube.spatial.data</groupId>
 <artifactId>geonetwork</artifactId>
 <version>1.0.0-SNAPSHOT</version>

</dependency> </xml>

please, remind to follow guidelines declared in Developing gCube Maven Components.

ISO 19115:2003 metadata compliance

Read GeoNetwork metadata

Write GeoNetwork metadata

GIS-Interface module

Accessing GeoServer

GeoServer Get Methods

GeoServer Put Methods