Skip to content

go-spatial/atto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.