Git Product home page Git Product logo

pct-lsoa-vis's Introduction

pct-lsoa-vis

Script for generating the map tiles from a tiff

npttile

Used as our tileserver.

 apt install nginx
 apt remove nfs-kernel-server nfs-common rpcbind # remove NFS service, can be used in RPC attack
 apt remove exim4 # No need for a mail server
 /etc/init.d/exim4 stop

Then all the files are served from var/www/html

Copy of nginx config to /etc/nginx/sites-enabled/default

SSL

Basic copy of EFF certbot guide

wget https://dl.eff.org/certbot-auto
mv certbot-auto /usr/local/bin/certbot-auto
chown root /usr/local/bin/certbot-auto
chmod 0755 /usr/local/bin/certbot-auto
/usr/local/bin/certbot-auto --nginx

The crontab is:

19 1 * * * /usr/local/bin/certbot-auto renew >> /var/log/le-renew.log

pct-lsoa-vis's People

Contributors

nikolai-b avatar

Watchers

 avatar  avatar  avatar  avatar

pct-lsoa-vis's Issues

Tile + deploy new commute raster data

Heads-up @nikolai-b, the new method of generating raster tiles works 1000+ times faster and seems to yield good results. See image below for London and the data here for the census scenario: https://github.com/npct/pct-scripts/releases/download/0.0.1/ras_bicycle_all_new_30.tif

image

Are you up for tiling and deploying this? Can do some tiling if you like. Should be much faster and lighter now, these have 30 m resolution. Can always tweak for better results (e.g. I think if the whole layer has some transparency it will be more useful, and we can always change the base resolution) but think this is looking good and is ready to test!

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.