WPS-Ilwis Bridge


Introduction

This project should connect the Ilwis to WPS as a processing backend.

The project description can be found on the first blog post about WPS-Ilwis Bridge.

Midterm

This project does not have a server component yet.

Instructions for running the Java Bridge Tests can be found here.

Screencast of running tests is available here.

Final Term

Screencast

Try out the Demo server with the Example requests!

Weekly Reports

Weekly report no. 1 - WPS-Ilwis Bridge

Status

Next

  • Creating Javaapi with SWIG

Weekly report no. 2 - WPS-Ilwis Bridge

Status

Problems

  • Java does not support operation overload -> Renaming, wrapping to "add", "multiply", "equal" functions.
  • Java does not support multiple inheritance -> The second parent will be aggregated.
  • IlwisObject library have to be in the PATH variable -> Looking for better solution to temporary extend the PATH.

Next

Weekly report no. 3 - WPS-Ilwis Bridge

Status

  • Some basic types are usable from Java, like Pixel, Color, Coordinate, ColorPalette.
  • Unit tests for the working functions available here.

Problems

  • QVariants unwrapping is difficult with Swig -> I use std containers and unwrapped datatypes.
  • Some functions can unwrap (use) multiple datatypes -> I rewrite it with multiple overloaded functions.

Next

  • I will work on Table's other dependencies, like Domain, Feature, Geometry.

Weekly report no. 4 - WPS-Ilwis Bridge

Status

  • Some tests implemented, working from test.py, like TestGeometry.

Problems

  • C++ and Python typed iterators -> Needs refactoring.
  • C++ std vector needs a Java array constructor -> Found the method to write to Java classes from SWIG.

Next

  • I will work on the JavaAPI, implement more tests and fix the issues.

Weekly report no. 5 - WPS-Ilwis Bridge

Status

Problems

  • In C++, Table cells are QVariants containing string, int, double -> I convert everything to string, then parse in Java.

Next

  • Engine, Raster tests and date-time datatype need more workaround.

Weekly report no. 6 - WPS-Ilwis Bridge

Status

Problems

Next

Weekly report no. 7 - WPS-Ilwis Bridge

Status

  • Tests are moved to the Maven project.

  • IlwisJava loads Ilwis location from ilwislocation.config , no hardcoded paths.
  • I got familiar with the Maven license plugin and dependency handling.
  • I created a (not working) skeleton from the WPS Sextante repository.

Problems

  • Ilwis Operation names are not unique -> I use name and number of input parameters as identifier.

Next

  • I will work on the WPS Ilwis repository.

Weekly report no. 8 - WPS-Ilwis Bridge

Status

Problems

  • ilwislocation.config file can not be in the Java working directory (Tomcat bin folder) -> Also tries to load it from WPSdir/config.

Next

  • I will implement the GenericIlwisProcessDelegator run function (get input files, pass them to the Ilwis backend, then store and export the result).
  • I will write WPS requests to test the Ilwis backend.
  • Update the Github readme: Configuring WPS with IlwisProcessRepository.

Weekly report no. 9 - WPS-Ilwis Bridge

Status

  • WPS-Ilwis can process a WPS request, produces correct raster, but fails to upload the result.
  • Example (mirrorrotateraster): Description, Request, Input, Output

Problems

  • Ilwis Javaapi release is not portable -> Needs more workaround.

Next

  • I will continue working on the IlwisProcessRepository - file upload and supporting other datatypes.
  • Still need to update the Github readme.

Weekly report no. 10 - WPS-Ilwis Bridge

Status

  • Simple raster operations, like abs, cos, sin, mirrorrotateraster work from WPS with geotiff files.
  • Portable Ilwis-Objects release with Java Bridge is available here.
  • IlwisProcessRepository use the WPS Properties to locate Ilwis-Objects instead of a config file.

Problems

Next

Weekly report no. 11 - WPS-Ilwis Bridge

Status

  • Working operations listed here.
  • Simple datatypes, geotiffs, coordinatesystems (from string), coordinates for Ilwis-Objects work from WPS.

Problems

  • Ilwis Georeference contains links to other files -> Uploading it needs more work.
  • Need some example for Ilwis feature operations.

Next

  • I will work on Vector operations.

Weekly report no. 12 - WPS-Ilwis Bridge

Status

  • Some new operations, listed here.

Problems

  • WPS runs on a Debian server - I will compile Ilwis-Objects on Linux.

Next

  • Better error-message for invalid requests (Like ... parameter missing).
  • Wrap up documentation

Weekly report no. 13 - WPS-Ilwis Bridge

Status

  • WPS-Ilwis Bridge works on Windows.

Problems

  • Some complications during using JavaAPI on Linux - currently working on the solution.

Next

  • Screencast
  • Moving the repositories
Topic revision: r29 - 27 Jun 2016, UnknownUser
Legal Notice | Privacy Statement


This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback