Skip to content

Publish existing WFS services as Linked Data using on-the-fly transformations

License

Notifications You must be signed in to change notification settings

camptocamp/ldproxy

 
 

Repository files navigation

ldproxy

License

Publish WFS services as Linked Data and as Web Sites using on-the-fly transformations

ldproxy was developed for topic 4 of the testbed Spatial Data on the Web organized by Geonovum.
ldproxy provides web services, backed by WFS services, that are better suited for usage by non-geospatial experts, e.g. web developers, search engine crawlers and Linked Data experts.
The implementation uses on-the-fly transformations, which means the generated HTML, JSON-LD and GeoJson representations are not persisted. They are created on the fly using live data from the WFS.

Have a look at the demo at http://www.ldproxy.net.

Installation

ldproxy is available on Docker Hub. If you are new to docker, read this.
To install ldproxy, just run the following command.

docker run -d -p 7080:7080 -v ldproxy_data:/ldproxy/data -w /ldproxy iide/ldproxy

Change the host port and volume bind directory to your needs. To update ldproxy, just remove the container and create a new one with the command above. Your data is saved in a volume, not in the container, so your service configurations will still be there after the update.

When your container is up and running, have a look at Getting Started

Development

The only requirement is an installation of JDK 7 or 8.
To set up a local development environment, follow these steps:

git clone https://github.com/interactive-instruments/ldproxy.git
cd ldproxy
./gradlew build
./gradlew run

That's it, a local server is running at port 7080.

You can also create a distribution by running ./gradlew distTar or ./gradlew distZip. The resulting archive can then be extracted on any machine with Java 7 or 8 and ldproxy can be started with one of the scripts under ldproxy/bin/.

About

Publish existing WFS services as Linked Data using on-the-fly transformations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 71.4%
  • JavaScript 20.2%
  • HTML 8.0%
  • CSS 0.4%