https://github.com/azavea/lambnik

AWS Lambda mapnik renderer for PostGIS datasources

https://github.com/azavea/lambnik

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

AWS Lambda mapnik renderer for PostGIS datasources

Basic Info
  • Host: GitHub
  • Owner: azavea
  • Language: Shell
  • Default Branch: develop
  • Size: 7.02 MB
Statistics
  • Stars: 2
  • Watchers: 24
  • Forks: 1
  • Open Issues: 3
  • Releases: 0
Created almost 9 years ago · Last pushed over 8 years ago
Metadata Files
Readme

README.md

Lambnik - Lambda based mapnik rendering

Proof of concept mapnik renderer for PostGIS datasources using Python. Ie, don't run windshaft.

Instructions

  1. Have recent versions of docker and docker-compose installed
  2. MacOS only: sudo mkdir -p /opt/dbdata/lambnik && sudo chown "${USER}":staff /opt/dbdata/lambink
  3. MacOS only: Open Docker preferences and add /opt/dbdata to the list in the File Sharing tab
  4. Build the containers and populate the database: ./scripts/update.sh
  5. Run the local Chalice server: ./scripts/server.sh

Test image now available at http://localhost:9000/tile.png

Deploying

Currently only a staging environment exists. To deploy it, first you'll need to setup an AWS CLI profile: aws configure --profile=azavea-rd Follow the prompts, entering your user credentials. If you don't have credentials for this environment, contact one of the project committers.

Once your profile is configured correctly, you can deploy with: ./scripts/publish.sh

The deployment will take a few minutes. When it's done, sign into the AWS Lambda console. Choose "functions" in the sidebar on the left, then the function "lambnik-tiler-staging".

Finally, expand the "Environment variables" section, and update the value of POSTGRES_PASSWORD. If you don't already have the password, it can be retrieved from the company password manager. Search for "lambnik".

You'll need to update the DB password after every deployment. Chalice does not yet support templating ENV variables in config.json.

Owner

  • Name: Azavea
  • Login: azavea
  • Kind: organization
  • Location: Philadelphia, PA

Geospatial software engineering for good

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 3
  • Total pull requests: 3
  • Average time to close issues: 3 minutes
  • Average time to close pull requests: about 11 hours
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • CloudNiner (3)
Pull Request Authors
  • CloudNiner (3)
Top Labels
Issue Labels
Pull Request Labels