We've prepared some Web services and a plugin of a GIS application for geoStuff that calculate geographic relations according to coordinates and helps describe geographic assertions in RDF based on ontologies.

Please Note: We are not supporting the following work in the form of trouble-shooting. So please don't e-mail us about it. However, we would be interested in feedback about how to make it better.

Relation Checker

The Relation Checker is a Web service which calculates geographic relations between two features. It takes as input two features (such as points, lines, and polygons) and returns the geographic relations between them. Currently, the service can calculate whether topographic and direction relations are true or false between geographic features. In future we will support all relations which are defined in the ontologies.

Web service information:

Service descriptions in WSDL are accessible via the following.

SpatialTopoQueryService (WSDL) (example)
calculates topological relation between features (e.g. equals and intersects)
DirectionBetweenHeadQueryService (WSDL) (example)
calculate direction. (e.g. true if head of A is north of head of B.)
DirectionQueryService (WSDL) (example)
calculate direction. (e.g. true if A is completely north of B.)

Calculate the relation!!

Input data for two features and calculate the topological and direction relations between them.

Feature A :
Feature B :
Note: Features must be formatted in Well-known Text representation of Geometry, as illustrated in section 3.2.5 of Opengis Simple Feature Specification For SQL (Ver.1.1).

GeoMarkup Tool

The GeoMarkup Tool is a plug-in of JUMP unified markup platform of the JUMP project. The JUMP unified mapping platform is a GUI-based application for viewing and processing spatial data that are on local disks and network (it acts as a client to OGC WMS-compliant servers) and the plug-in enables us to get RDF descriptions that include the feature information and geographic relations among them.

plugin screen shot

How to install (see also this PDF)

  1. Install JUMP Unified Mapping platform.
  2. Download a zipped file (includes jar files of the plugin and Jena-2.1) and unzip it. Then place them in the extension directory of the JUMP program ([Windows] JUMP\lib\ext [Macintosh/Linux] JUMP/lib/ext)
  3. If a new menu "RDF/OWL" is added to the menubar, the install was successful.

How to use it

  1. Load maps and edit features as normal operations in JUMP.
  2. Select more than two features on the workbench and choose menu "RDF/OWL" -> "Calculate Relations..."
  3. A new frame will pop up. It includes a feature table, comboboxes of calculating relation, and RDF output. You can edit uri in the feature table and switch the comboboxes on/off. The change will be reflected to the RDF output automatically.