GIS

Clip raster by polygon geometry in Python using Rioxarray

Clip/crop raster by polygon geometry in Python using Rioxarray Raster clipping is one of the common task in raster processing. In this tutorial, we will clip a raster by polygon geometry in python using Rioxarray. Rioxarray is open source gis package that extends the functionality of xarray by rasterio. Before cropping/clipping the raster data, we …

Clip raster by polygon geometry in Python using Rioxarray Read More »

Generate Heatmap using Datashader in Python and serve the heatmap tiles in OpenLayers map

Datashader is a python library for fast rasterization and visualization of larger datasets preserving the data’s distribution. Datashader is built using Numba which a open source JIT compiler that translates subsets of python and numpy into faster machine code. Before generating the heatmap, we will set up conda environment and install required python GIS packages …

Generate Heatmap using Datashader in Python and serve the heatmap tiles in OpenLayers map Read More »

Rasterize vector data using GeoPandas and GeoCube

In this tutorial, we are gonna convert a Polygon and Points vector data into raster format by using GeoPandas and GeoCube in python. To get full source code for this tutorial, click here. All the related Polygon and Point data used in this tutorial are in repository. Before rasterizing the vector, we will set up …

Rasterize vector data using GeoPandas and GeoCube Read More »

Merging multiple shapefiles into one shapefile using python and GeoPandas

GeoPandas is one of the most famous python GIS library that can automate your GIS workflows. GeoPandas provides good functionality and features to create really good geoprocessing tools like geospatial analysis, reading/writing from/to postgis database, transforming GIS data between different formats etc. In this tutorial, we will learn how to merge multiple shapefiles into one …

Merging multiple shapefiles into one shapefile using python and GeoPandas Read More »

Integrating OpenLayers Map with VueJS: Create Layers Panel – Part 2

This blog post is the second part in OpenLayers-VueJS integration series. In part one, we discussed basics of VueJS and how to integrate OpenLayers with VueJS to create a basic map. OpenLayers VueJS integration series:1. Integrating OpenLayers Map with VueJS: Create Map – Part 12. Integrating OpenLayers Map with VueJS: Create Layers Panel – Part …

Integrating OpenLayers Map with VueJS: Create Layers Panel – Part 2 Read More »

Create fishnet grid using Python, GeoPandas and Shapely

There are many use cases in GIS where we need to compute parameters or aggregate information based on fishnet. One of the use case is to aggregate information for million of points on fishnet. Then use this aggregated fishnet layer to render on map. This aggregated fishnet layer will be more intuitive in nature than …

Create fishnet grid using Python, GeoPandas and Shapely Read More »

Polygonize Raster using Rioxarray and GeoPandas

Rioxarray is python library which combines xarray and rasterio library for raster analysis. Xarray is open source and python packages that makes working with labelled multi dimensional array very efficient. RasterIO is open source and python package based on gdal to read/write and analyze raster data. Rioxarray extends xarray with rasterio accessor. One of the …

Polygonize Raster using Rioxarray and GeoPandas Read More »