Import shapefiles using GeoPandas and PsycoPG2.

GeoPandas is great python library to process your vector data. It has direct support for postgis database where you can directly read/write from/to postgis database. GeoPandas internally uses SqlAlchemy API to manage database specific operations like reading from PostGIS, writing to PostGIS etc. SqlAlchemy can be used for almost all the databases out there like […]

Import shapefiles using GeoPandas and PsycoPG2. Read More »

Integrating OpenLayers Map with VueJS: Create Map – Part 1

In this tutorial, we will learn how to integrate OpenLayers map with VueJS . VueJS is a progressive framework that covers most of common features needed for the front end development. Using any framework be it ReactJS or VueJS makes sense because if your application is becoming more and more complex, using any modern framework

Integrating OpenLayers Map with VueJS: Create Map – Part 1 Read More »

Implement Undo Redo operation for zooming to Previous/Next extent and zoom in OpenLayers.

To get full source code for this tutorial, click here. To check the live demo for this tutorial, click here. In this post, we will implement a Undo/Redo operation for zooming to Previous/Next extent and zoom in OpenLayers. Using this functionality, we will able to navigate to previous or next extent. This operation is similar

Implement Undo Redo operation for zooming to Previous/Next extent and zoom in OpenLayers. Read More »

Import rasters file to PostGIS database using raster2pgsql

raster2pgsql is GIS command line utility which is installed as a part of PostGIS. To install raster2pgsql, you have to install PostGIS and raster2pgsql will be installed with it. To import raster to postgis, type following command in terminal and replace file name and database details with yours. It will successfully import your raster to

Import rasters file to PostGIS database using raster2pgsql Read More »

Split a Polygon with holes by Line in OpenLayers

OpenLayers is an powerful map api to develop map based applications. But to perform complex spatial operations like splitting a polygon, merging two polygons etc., we need to find another way to accomplish these operations. OpenLayers can’t do these operations on its own. This tutorial is the extension to following tutorial. If you have not

Split a Polygon with holes by Line in OpenLayers Read More »