Skip to content

Florian Neukirchen

  • Home
  • Books
  • Code
  • Photos
  • English Blog
  • Deutsch

Tag: Python

Data Clock in QGIS and Plotly

Visualization of seasonal or cyclic time series data as a circular, polar heatmap

Posted on 4. October 2024

Changing fonts in a QGIS map within seconds

With the QGIS plugin Adjust Style it is easy to replace a font family anywhere in a map

Posted on 18. September 202418. September 2024

Plotly Sunburst: Set the color of the central category

A simple hack to change the color in the center of a sunburst chart

Posted on 16. September 202413. September 2024

QGIS raster layer to NumPy array and back

RasterWizard: get the data of a QGIS raster layer as a NumPy array, and the processing result back into QGIS as a new raster layer

Posted on 12. September 202412. September 2024

Waffle Chart with Plotly

Creating the squared alternative to pie charts with Plotly in Python

Posted on 6. September 2024

QGIS: No Data in raster layers

In QGIS, filters normally ignore No Data cells automatically. However, this is not always easy, especially if a filter examines neighboring cells and these contain No Data. What happens depends on the implementation, but is problematic in both cases. In raster layers, “No Data” is coded with a specific number, e.g. -9999. If, for example, … Continue reading “QGIS: No Data in raster layers”

Posted on 19. May 2024

QGIS plugin Scipy Filters

New QGIS plugin for raster layers with convolution, morphological filters, principal component analysis, statistics, etc.

Posted on 19. May 2024

How to check if a map feature is within a polygon (e.g. within a country) using Python

Add the region, country etc. to your map features using Geopandas.

Posted on 6. February 20236. February 2023

Union of shapefiles without duplicates using python

How to combine a bunch of shapefiles (or QGIS vector layers) into a single one without dublicates using python with geopandas

Posted on 6. February 20236. February 2023

Assign the correct UTM zone to a project in QGIS with one click

Anyone who regularly opens a GPS track in QGIS or works on a local map often wants to have the map displayed in the UTM system. To do this, you first had to find out the correct UTM zone and search for it in the corresponding dialogue box. The first plugin I wrote for QGIS … Continue reading “Assign the correct UTM zone to a project in QGIS with one click”

Posted on 9. September 20229. September 2022

Explore runkeeper GPS tracks with python (part 2)

How to import all runkeeper GPS tracks (GPX files) into a single GeoDataFrame, and analyse and map them using python

Posted on 5. July 20223. February 2023

Explore runkeeper GPS tracks with python (part 1)

How to explore a single GPS track (GPX file) with python

Posted on 5. July 20225. July 2022

Assign elevation to GPS track with python

How to assign elevation to a GPX file? With Python this is easy thanks to elevation, geopandas, rasterio and SRTM data.

Posted on 15. June 20223. February 2023

Folium and Geopandas: FeatureGroup for categorial data

How to assign categorical data to individual layers (FeatureGroup) on a map created with Folium.

Posted on 7. June 202215. June 2022

PyGMT: Different colormaps for land and water

A correct coastline in the map thanks to grdlandmask so that Holland is not under water.

Posted on 25. April 202218. June 2023

Trekking map with PyGMT and Python

How to plot a simple map with a GPS track in Python and PyGMT using the Tour du Mont Blanc as an example.

Posted on 11. April 202215. June 2022

Import GoogleEarth placemarks KML into Geopandas

Get the placemarks of all folders of a KML file into a GeoDataFrame using minidom (Python)

Posted on 15. February 202218. June 2023

Open GPS tracks (GPX files) with Geopandas

It is easy to open a complete folder of GPS Tracks (GPX files) in Geopandas, e.g. for plotting maps or to export them as shapefile.

Posted on 7. February 20223. February 2023

My Books

Formation of Mountains
Florian Neukirchen
The Formation of Mountains
Release: autumn 2022
Die Welt der Rohstoffe
Florian Neukirchen
Gunnar Ries

The World of Mineral Deposits
A Beginner’s Guide to Economic Geology
All books by Florian Neukirchen

Recent Posts

  • NetCDF in QGIS: use expression to set time range of bands
  • Data Clock in QGIS and Plotly
  • Changing fonts in a QGIS map within seconds
  • PostGIS with Docker Compose
  • Plotly Sunburst: Set the color of the central category

Translation

  • Deutsch
  • Home
  • Books
  • Code
  • Photos
  • English Blog
  • Deutsch
© Florian Neukirchen Impressum und Datenschutz / Newsfeed / Archiv