SWU Stadtwerke Ulm/Neu-Ulm GmbH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install QGIS | |
Layer -> Add Layer -> XYZ Layer -> New | |
URL: | |
https://heatmap-external-b.strava.com/tiles-auth/run/hot/{z}/{x}/{y}.png?Key-Pair-Id=VALUE&Policy=VALUE&Signature=VALUE | |
Get the three VALUEs above by logging into Strava and inspecting the site cookies (F12 in Chrome or Firefox). | |
Max Zoom Level: 23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# see https://github.com/microsoft/RoadDetections | |
# 1) get the data | |
wget https://usaminedroads.blob.core.windows.net/road-detections/Oceania-Full.zip | |
# 2) extract the records for Australia, second column of tsv only | |
zgrep AUS Oceania-Full.zip | cut -f2 > AUS.geojson | |
# 3) convert to GPKG, works better in QGIS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(geojsonsf) | |
library(sf) | |
library(rayrender) | |
#Data source: https://github.com/telegeography/www.submarinecablemap.com | |
cables = geojson_sf("cable-geo.json") | |
cablescene = list() | |
counter = 1 | |
for(i in 1:length(cables$geometry)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE qgis_style> | |
<qgis_style version="2"> | |
<symbols> | |
<symbol clip_to_extent="1" name="qlimt" force_rhr="0" type="fill" alpha="1"> | |
<layer enabled="1" pass="0" locked="0" class="GeometryGenerator"> | |
<prop v="Fill" k="SymbolType"/> | |
<prop v="with_variable('my_geom',
CASE WHEN 
 num_geometries( $geometry)>1
 THEN 
 geometry_n( $geometry, @geometry_part_num)
 ELSE
 $geometry
 END,
 with_variable('shape',rand(1,4),
 CASE WHEN 
 @shape =1
 THEN 
 minimal_circle( @my_geom )
 WHEN
 @shape =2
 THEN
 oriented_bbox( @my_geom )
 WHEN
 @shape =3
 THEN
 oriented_bbox( @my_geom )
 WHEN
 @shape =4
 THEN
 simplify(@my_geom, rand(1,20))
 END))
 " k="geometryModifier"/> | |
<data_defined_properties> | |
<Option type="Map"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
# results = [] | |
from requests_xml import XMLSession | |
import re | |
import datetime | |
from collections import Counter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
pip install tqdm numpy pillow mercantile 'rasterio==1.0b1' 'rio-tiler==1.0a7' | |
''' | |
import os | |
import argparse |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder