GIS

GeoSpatial Analysis using GeoPandas in python

In this tuorial, we will do geospatial analysis using python on UK Accidents and UK Administrative datasets. Geopandas is a library for working with geospatial data in Python. It builds on the popular Pandas library and extends its functionality to handle geospatial data. Some of the key features of Geopandas include: Here are some examples …

GeoSpatial Analysis using GeoPandas in python Read More »

Read raster data from postgis using python

In this tutorial, we will learn how to read raster data from postgis table using python. Python is a powerful tool for raster data analysis due to rich library ecosystem: Python has a large number of libraries specifically designed for geospatial data analysis, such as rasterio, rioxarray, gdal, geopandas, shapely, etc. These libraries provide a …

Read raster data from postgis using python Read More »

Big Spatial Data Visualization using DeckGL

Big Data Visualization using DeckGL “deck.gl is a WebGL-powered framework for visual exploratory data analysis of large datasets.” In this tutorial, we will learn how to visualize large geospatial datasets using deck.gl through an example. We will take uk accidents data sets and will visualize it using deck.gl.In this tutorial, we have considered the UK …

Big Spatial Data Visualization using DeckGL Read More »

Integrating OpenLayers Map with VueJS: Implement Style and legend for vector layer – Part 3

Integrating OpenLayers Map with VueJS: Implement Style and legend for vector layer – Part 3 This blog post is the third part in OpenLayers-VueJS integration series. In part one, we implemented Layer Panel. In this tutorial, we will implement style and render legend for Vector Layers. OpenLayers VueJS integration series:1. Integrating OpenLayers Map with VueJS: …

Integrating OpenLayers Map with VueJS: Implement Style and legend for vector layer – Part 3 Read More »

Merge rasters in Python using Rioxarray

Rasters merging/mosaic is one of the common task in raster processing. In this tutorial, we will merge multiple rasters into one in python using Rioxarray. Merging/mosaic multiple rasters into one is also known as union of rasters. Rioxarray is open source gis package that extends the functionality of xarray by rasterio. Before merging multiple rasters …

Merge rasters in Python using Rioxarray Read More »

Creating GeoDataFrame from DataFrame with coordinates or wkt

The usage of Python in GeoSpatial field has exponentially grown. Almost every GIS desktop software provide python integration. QGIS, famous open source GIS software, has python interface. Python has many open source GIS libraries for example GDAL, Fiona, GeoPandas, RasterIO, Shapely, Xarray Spatial etc. These libraries can process both raster as well as vector data. …

Creating GeoDataFrame from DataFrame with coordinates or wkt Read More »

Upsample and Downsample raster in python using rioxarray

Raster resampling refers to altering the raster resolution by changing raster grid. Upsampling refers to reducing pixel size and increasing resolution. And downsampling refers to increasing pixel size and reducing resolution. The raster resampling or upscaling/downscaling is done when you want to convert 10 meter cell to 50 meter cell or vice versa. Even when …

Upsample and Downsample raster in python using rioxarray Read More »

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 »