GithubHelp home page GithubHelp logo

isabella232 / tegola-bathymetry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from go-spatial/tegola-bathymetry

0.0 0.0 0.0 172 KB

Service for rendering a GEBCO gridded bathymetric data set using Tegola.

License: MIT License

tegola-bathymetry's Introduction

tegola-bathymetry

Rendering a GEBCO gridded bathymetric data set using Tegola.

This repo houses configuration files used to run a Tegola-based vector tile service for bathymetric data. We use it in combination with basic OpenStreetMap data rendering and specialized seamark-tagged data rendering. The goal here is to match NGA-style contour symbology as laid out in US Chart 1:

Depth Contours from US Chart 1

Repo files of interest

  • bathymetry.toml - a Tegola configuration file
  • .env-example - a skeleton for setting configuration and sensitive values via environment variables
  • systemctl/bathymetry.service - we use this in production to start and stop the service

Setting database connections with environment variables

It can be desirable to use separate databases for a Tegola installation. For example, even though you may have OpenStreetMap data for multiple metro or Geofabrik extracts, you'll likely only need one copy of the OSM land polygons and Natural Earth Data.

Tegola v0.6.0 and higher supports the use of environment variables to configure cache and database connection information. Copy .env-example to .env and customize away. A Procfile is included for those who use tools that recognize it, such as foreman, clones such as node-foreman or Python's honcho, or the Heroku Command Line Interface which bundles it.

For use in development, you should be able to:

npm install foreman -g
nf start

For use in production, you may install systemctl/bathymetric.service into /lib/systemd/system/. Make sure all paths are correct for your installation, then use:

sudo systemctl start bathymetry

to start the service,

sudo systemctl stop bathymetry

to stop the service, and

sudo systemctl enable bathymetry

to start the service on system boot.

tegola-bathymetry's People

Contributors

erictheise avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.