Open In App

How to Install Rasterio on Windows?

Last Updated : 24 May, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Rasterio is completely associated with Python language. In Python, many packages & libraries are present. Among them, some important libraries are NumPy & GDAL. NumPy is commonly used a library in Python. This is used when arrays are implemented in Python codes. But GDAL is quite an unknown. GDAL is a transfer library of Python. It is used for Raster data formats. From there Rasterio concept comes. Using the help of these two libraries Rasterio works. It helps to easily work with geospatial raster data. Before going for installation, Anaconda distribution should be enabled & installed. Other than Anaconda, installation can’t be completed. Also for installing Rasterio, Python should be installed in the machine previously.

Features of Rasterio

  • It is used to read & write Raster data. As it is used in Python, operations can be done quite easily.
  • It is used widely as along with read & write Raster data, Rasterio has a tool to analyze them.
  • It is being used in the field of Environmental Science, as analysis of data & generating reports are far easy by using this package.

Installation Of Rasterio In Windows

Step 1: At first, the Anaconda Terminal should be opened. This terminal should be opened in Administrator form. By using this some configuration changes will be made in the machine. Then execute the following command. This command will take some time to start. As the configuration changes will start. Wait for some time till the configuration is ended.

conda install -c conda-forge/label/dev rasterio

Conda-install

Step 2: Then it will directly start installing. Wait for some time till the process is completed.

Installing-conda

Step 3: Now the process is completed. There the ‘Done’ messages will be visible.

Process-completed

Step 4: Then open any terminal of Python Ide or Simple command prompt can be opened. Then execute the following command. If it is run without any error, then the installation of Rasterio is successful.

import rasterio

Importing-rasterio

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads