Python can be used not only for geoprocessing but also for web services. In this short talk for GeoPython 2019 we at EBP show you how to compute isochrones and make them available through an API.
Unit: [s/100m]
SH:
Hier fehlt eine Legende.
Die Einheit [s/100m] würde ich für die Darstellung nicht verwenden, die haben wir nur aus numerischen Gründen so gewählt. Besser ist [km/h]. – muss man halt umrechnen: 80 [s/100m] = 4.5 [km/h]
In der Präsentation Bike-Analysis-2018-11-27.pptx in diesem Ordner findest Du (für Velos) auf Folie 8 eine beispielhafte Darstellung eines Kostenrasters bzw. Kostenoberfläche.
Model each square-meter according to the walkability
OSM: Pedestrian Crossings
Only OSM + 5m pixel raster: 1h
OSM & AV + 1m pixel raster: 1.5 days
Lines of equal time
python costdistance/lib/run_walkalytics.py -cp cosodel_website_azure --animate -e 4327 geoPython,7.43708,46.94855 --fill-buildings --max-min 21 >/dev/null --break-values 0,4,8,12,16,20,21 --stats statpop_bbtot
Accumulated cost distance (diagonal: 1.41), cheapest movement variant (vertical, horizontal, diagonal) per node is selected
CostDistance-Tool in ArcGIS, computed with «Fast marching method» in scikit-fmm
Phi: line feature as a scalar function
Speed: Array of speeds at each point
Dx: spacing factor
A single shell process per POI
https://adamdrake.com/command-line-tools-can-be-235x-faster-than-your-hadoop-cluster.html
Flask, Falcon, Bottle are interchangeable
WSGI: Web Server Gateway Interface -> Link between Python code and API call
API Management: Forward API-request to Web-App + Authorization (access key) + Logging
AWS S3 -> Alternative to Azure torage
AWS EC2 -> Alternative to Azure VM
AWS Lambda -> Alternative to Azure Functions
Azure API Management
Flask -> Alternative to Falcon
AWS S3 -> Alternative to Azure torage
AWS EC2 -> Alternative to Azure VM
AWS Lambda -> Alternative to Azure Functions
Azure API Management