go-spatial / atto

PDF renderer for Mapbox-GL-Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atto

Atto uses Mapbox-GL-Native and gofpdf to render Mapbox vector tiles to PDF files.

  1. Download and build Mapbox-GL-Native for your platform.

  2. Add the absolute or relative path to the include and platform/default to the CGO_CXXFLAGS environment variable as -I flags

  3. Add the absolute or relative path to the build directory eg: build/linux-x86_64/Release to the CGO_LDFLAGS environment variable as -L flags

  4. Install mason-js and run mason-js install and then mason-js link in the atto root directory to download the required dependencies

  5. go build to build...

There is a Dockerfile in /docker which details the steps required to set up a build and runtime environment for Atto.

About

PDF renderer for Mapbox-GL-Native


Languages

Language:Go 53.9%Language:C++ 25.2%Language:Objective-C 17.3%Language:C 2.7%Language:Makefile 0.8%