magnacarto/vendor/github.com/omniscale/go-mapnik
2017-07-24 11:42:54 +02:00
..
test move Godeps/_workspace/ to vendor/ 2016-02-12 10:26:17 +01:00
.gitignore use dep for vendoring 2017-07-24 11:42:54 +02:00
configure.bash update go-mapnik 2017-01-26 15:30:46 +01:00
example_test.go update go-mapnik 2017-01-26 15:30:46 +01:00
LICENSE move Godeps/_workspace/ to vendor/ 2016-02-12 10:26:17 +01:00
mapnik.go use dep for vendoring 2017-07-24 11:42:54 +02:00
mapnik_c_api.cpp another go-mapnik update 2017-02-02 10:00:34 +01:00
mapnik_c_api.h update go-mapnik 2017-01-26 15:30:46 +01:00
mapnik_test.go use dep for vendoring 2017-07-24 11:42:54 +02:00
README.md update omniscale/go-mapnik 2016-04-06 16:11:57 +02:00

go-mapnik

Description

Small wrapper for the Mapnik API to render beautiful maps from Go.

Features:

  • Render to []byte, image.Image, or file.
  • Set scale denominator or scale factor.
  • Enable/disable single layers.

Installation

This package can be installed with the go get command. The following steps need to be performed in order. go generate will setup your environment and needs to be run prior to installing the package:

go get -d github.com/omniscale/go-mapnik
go generate github.com/omniscale/go-mapnik
go install github.com/omniscale/go-mapnik

This package requires Mapnik (libmapnik-dev on Ubuntu/Debian, mapnik --with-postgresql in Homebrew). Make sure mapnik-config is in your PATH.

Documentation

API documentation can be found here: http://godoc.org/github.com/omniscale/go-mapnik

License

MIT, see LICENSE file.

Author

Oliver Tonnhofer, Omniscale

Thanks

This package is inspired/based on mapnik-c-api by Dane Springmeyer and go-mapnik by Fabian Wickborn.