go-wfs

command module
v0.0.1-0...-d7cf56a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2018 License: MIT Imports: 3 Imported by: 0

README

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.

Documentation

Overview

go-wfs document

go-wfs project main.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL