Explore Kartoza

Try searching for: QGIS, Training, GeoNode, PostGIS

Python

Kartoza - Tutorial: Updating Raster NoData Value with Rasterio

Updating raster NoData value in Python is easy and straightforward.

Read more

Kartoza - PyConZA 2023 reportback

Kartoza staff members Admire and Eli recently got the chance to attend the annual PyConZA conference in Umhlanga, Durban.

Read more

Reading and Writing Shapefiles in Python with Fiona

Fiona is a FOSS Python library that simplifies reading and writing GIS formats like shapefiles and geopackages.

Read more

Kartoza Internship: Programming Sessions

Insights from mentoring three intern batches in GIS and programming, covering curriculum development and teaching approaches.

Read more

Advanced QGIS

Take your QGIS skills to the next level with advanced techniques, automation, and PyQGIS scripting.

Read more

Python for GIS

Automate geospatial workflows and build custom tools with Python programming for GIS professionals.

Read more

Managing Legacy Code - PyConID 2023

PyCon ID 2023 in Bandung explored approaches to managing legacy code, featuring keynote insights from GoPay's tech advisor.

Read more

Kartoza at PyConZA Durban 2023

Kartoza participated in PyConZA 2023, presenting on leveraging Python in geospatial applications with real-world project examples.

Read more

FOSS4G 2022: STAC Highlights and using PySTAC

An exploration of the Spatio-Temporal Asset Catalog (STAC) specification and practical examples using PySTAC library for Python.

Read more

Reading and Writing XLSX File with Openpyxl

The piece introduces Openpyxl as a Python library used for manipulating Excel files.

Read more

Mocking Requests with Responses

The article presents an alternative to the requests_mock library for testing HTTP requests in Python.

Read more

Python Type-Hint

Python operates as a dynamically-typed language, meaning type-checking happens during execution rather than compilation, and variables can change types throughout their lifetime.

Read more

Making Django Custom Migrations

The article explores using Django's makemigrations and migrate commands, specifically focusing on creating custom migrations when automatic generation doesn't meet project needs.

Read more

Python Mocking Introduction

This comprehensive guide explores mocking in unit testing, focusing on isolating code from external dependencies.

Read more

Using a Docker Compose-Based Python Interpreter in PyCharm

JetBrains recently enabled native Docker Compose interpreter support, resolving earlier limitations around environment variable handling.

Read more

Working with Web Data using Requests and Beautiful Soup

The piece addresses a common development scenario: extracting data from websites using Python libraries when no API is available.

Read more

Mocking Requests with requests_mock

The piece emphasizes that testing is an important part of software development, demonstrating how to test code that depends on external APIs without incurring costs.

Read more

Speeding Up Multiple Web Map Service Requests Using Python's Asyncio and Aiohttp

Geocontext is a Django application designed to retrieve information from multiple web-based services for specific query points.

Read more

Calculating Intersects for Map Layers and Map Extent Dynamically in QGIS

The article describes a project simulating South African 1 in 50k topographic maps.

Read more

Generating an XYZ ASCII File from a QGIS Raster

Someone wrote to me asking if it would be possible to generate an XYZ ASCII file from a single band raster layer in QGIS. This tutorial demonstrates a functional method for converting raster data to point-based ASCII format, despite computational limitations.

Read more

How To Create a QGIS PDF Report with a Few Lines Of Python

The piece addresses automating report generation to capture current data states.

Read more

How to Load a QGIS Project in Python

Loading a QGIS project in python requires surprisingly minimal code to create a standalone application that displays a project as a map in a window. The article demonstrates using the QGIS API to build mapping applications efficiently.

Read more

A Quick Hack to Select All Multipart Features in QGIS

Today we wanted to find all the multipart features in this layer and the author demonstrates a quick hack I did in QGIS using the Python console to accomplish this task efficiently.

Read more

Nodeenv: How to Install Nodejs in a Python Virtualenv

At Kartoza, the team uses Python virtual environments as standard practice for development. The article explains how to use nodeenv, which provides isolated Node.js environments similar to Python virtualenv.

Read more

How to Quickly Transform a Bounding Box from One CRS to Another Using QGIS

The author needed to convert coordinate reference system (CRS) parameters for a TileMill project intended for use within QGIS as a tile layer.

Read more