• Stars
    star
    379
  • Rank 113,004 (Top 3 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visualization of OpenStreetMap Data with Blender and Python

Openstreetmap Heatmap

This project is a visualization of OpenStreetMap data with Blender and Python as a 3D barplot. It creates an occurence heatmap of all points that are collected within a country with a certain tag.

OpenStreetMap (OSM) has a vast geospatial data set containing various tags and attributes besides the geometry. By using the Overpass API we can query for specific tags, filter specific areas and various other kinds of queries. In this case we want to query for tags within the boundary of a country. We are using the two-letter country codes and filter for a single OSM tag across all available OSM elements. You can see the various Map Features to get a grasp of the variety.

DE_biergarten_animation

Requirements

In order to run this script you need to run

blender -b -P run_script.py

which runs the rendering in the background. You can also load run_script.py into Blender as a script and execute the program from there. You need to have the overpy package available in your Python distribution which is accessed by Blender. I described in this article how to use Anaconda in Blender, which is handy for installing and using additional python packages.

You can edit the settings within the render_osm_data.py under the # Settings part. The script can do both render frames of an animation (rotation around the barplot) or render a single frame. You can also load and save the points as a GeoJSON with the utils_osm.py script.

Gallery

All Biergarten in Germany

DE_biergarten

All Swiss Banks

CH_bank

All Pubs in Great Britain

GB_pub

More Repositories

1

blender-scripting

Introduction to blender scripting
Python
754
star
2

folderstats

Python module that collects detailed statistics from a folder structure
Python
69
star
3

trino-minio-docker

Minimal example to run Trino, Minio, and Hive standalone metastore on docker
45
star
4

openstreetmap-data-science

Data Science with OpenStreetMap
Jupyter Notebook
40
star
5

keystroke-biometrics

Biometrics on Keystroke Dynamics
Jupyter Notebook
36
star
6

audio-spectrogram

Visualization of Audio Spectrogram with Short-Time Fourier Transform (STFT)
C++
30
star
7

cookie-factory

Processing-style Scripting Add-on for Blender
Python
25
star
8

geospatial-storytelling

Visualization of gps tracking data
Python
23
star
9

scalable-geospatial-data-science

Scripts and notebooks for scalable geospatial data science
Jupyter Notebook
21
star
10

fortune-algorithm

Implementation of Fortune's Algorithm in Processing
Processing
16
star
11

wikidata-mayors

Exploration of the Mayors in Europe with Wikidata and Python
Jupyter Notebook
16
star
12

prims-algorithm

Implementation of Prim's Algorithm in Processing
Processing
13
star
13

poisson-disk-sampling

Fast Poisson Disk Sampling implementation in Processing
Processing
11
star
14

presto-minio-docker

Minimal example to run Presto, Minio, and Hive standalone Metastore on Docker
6
star
15

sparqldataframe

Get a Pandas dataframe from SPARQL queries
Python
6
star
16

google-analytics-dashboard

Simple dashboard for Google Analytics with Dash, Plotly, Python and Docker
Python
5
star
17

sliced-wave-addon

Blender addon for generation of a sliced wave sculpture and creation of SVG laser cutter templates
Python
5
star
18

worlddataleague-workshop

World Data League workshop materials and slides
Jupyter Notebook
3
star
19

simulated-annealing

Implementation of Simulated Annealing in Processing
Processing
3
star
20

minimal-graphhopper

Minimal working example for a routing profile in GraphHopper
Java
3
star
21

austrian-monuments-visualization

3D rendered visualization of the austrian monuments registry
Python
3
star
22

graham-scan

Implementation of Graham Scan in Processing
Processing
2
star
23

windows-work-timer

Simple Work Timer for Windows
C++
2
star
24

flask-datashader-webmap

Render GPS data with Flask, Datashader, and Python as a Tileserver
Python
2
star
25

wdtools

Wikidata Utilities and Tools
Python
2
star
26

slides

Various Slides
HTML
2
star
27

pde-sketches

Processing Sketches
Processing
1
star
28

android-sensor-display

Android Visualization of Smartphone Sensors
Java
1
star
29

IotServer

Data analysis and data visualization of mobile sensor data
JavaScript
1
star
30

IotClient

Data analysis and data visualization of mobile sensor data
Java
1
star
31

ansible-linode-automation

Ansible automation scripts for Linode
1
star
32

windows-mouse-capture

Mouse Movement Tracker for Windows
C++
1
star
33

ansible-linode-jupyter-gpu

Automatic provisioning and setup for Linode GPU cloud instances with Ansible
Jupyter Notebook
1
star