Working my way through some turf.js tutorials.
starting here
Working my way through some turf.js tutorials.
starting here
| var map, layer; | |
| function init(){ | |
| map = new OpenLayers.Map('map', { | |
| layers: [new OpenLayers.Layer.OSM()] | |
| }); | |
| layer = new OpenLayers.Layer.XYZ( "ESRI", | |
| "https://services1.arcgis.com/rMlsWo8szOzlrpCq/arcgis/rest/services/danger_d_avalanche/MapServer/tile/${z}/${y}/${x}", | |
| {sphericalMercator: true, isBaseLayer: false} | |
| ); | |
| map.addLayer(layer); |
Examples of getting certificates from Let's Encrypt working on Apache, NGINX and Node.js servers.
I chose to use the manual method, you have to make a file available to verify you own the domain. Follow the commands from running
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt| #!/bin/bash | |
| USER="user" | |
| PASSWORD="password" | |
| SEP="+++++" | |
| TMP=`curl -s -D - www.google.it | grep Location` | |
| echo "Header with magic: "$TMP | |
| MAGIC=`echo $TMP | grep -o '[[:alnum:]]\{16\}' | tr -d '\r\n'` | |
| echo "Magic extracted from header: "$MAGIC |
| # best practice: linux | |
| nano ~/.pgpass | |
| *:5432:*:username:password | |
| chmod 0600 ~/.pgpass | |
| # best practice: windows | |
| edit %APPDATA%\postgresql\pgpass.conf | |
| *:5432:*:username:password | |
| # linux |
| docker run -e MINIO_ACCESS_KEY=minio -e MINIO_SECRET_KEY=miniostorage -p 9000:9000 minio/minio server /export | |
| cat >>~/.aws/config | |
| [profile minio-play] | |
| region = us-east-1 | |
| s3 = | |
| signature_version = s3v4 | |
| cat >>~/.aws/credentials | |
| [minio-play] |
Este passo a passo lhe guiará na instalação do GeoServer no Ubuntu 16.04 e na criação de mosaicos que poderão ser utilizados como backgrounds em aplicações WebMapping.
Abra o Terminal e execute o comando abaixo para instalar o servidor Tomcat: