GitHunt
SA

saicheems/go-wfs

go-wfs

go-wfs is a Go server implementation of OGC WFS 3.0.

REQUIRES GO >= 1.7

server/
routes.go: maps urls to functions (from handlers.go)
handlers.go: actual work done here
server.go: simple interface to start the server.
openapi.go: encapsulates generation of json OpenAPI document for WFS service.

provider/
provider.go: wraps github.com/go-spatial/tegola/provider.Tiler to provide convenience methods & additional behavior

main.go: Executable entry-point.

Defaults to run on localhost:9000. Visit http://localhost:9000/api for OpenAPI definition of
service. Take a look at server/routes.go for a concise list of supported URLs.

Build Instructions

# create directory for local env
mkdir /path/to/golang-env
export GOPATH=/path/to/golang-env
# install tegola
go get github.com/go-spatial/tegola
# FIXME: temporary hack to check out gpkg_autoconfig branch
cd $GOPATH/src/github.com/go-spatial/tegola
git checkout gpkg_autoconfig
go build
# install go-wfs
go get github.com/go-spatial/go-wfs

Running

# start server on http://localhost:9000/
go run main.go  # or go build main.go

Requests Overview

Features are identified by a collection name and feature primary key pair.

Bugs and Issues

All bugs, enhancements and issues are managed on GitHub.

Contributors

MIT License
Created March 7, 2018
Updated March 7, 2018