Questions tagged [rasterio]

Clean and fast and geospatial raster I/O for Python programmers who use Numpy

244 questions
-1
votes
1 answer

How to speed up extracting data from raster file for points using GDAL python

I have 366 raster image files (MODIS satellite daily data) in tif format containing snow data and another csv file containing 19,000 locations (latitude and longitudes). I need to collect the snow data from raster files. I have tried collecting the…
srinivas
  • 19
  • 4
-1
votes
1 answer

How to set bounds of geotiff using rasterio?

I am trying to write some code that takes a collection of png files + some metadata information (not from a geotiff) and creates a geotiff file. That one geotiff file would have a number of bands/layers equal to the number of png files passed as…
-1
votes
1 answer

getting the error "The truth value of an array with more than one element is ambiguous"?

I am trying to plot a raster image using Rasterio, Matplotlib, and Numpy. Although what I am doing is probably irrelevant and general to the actual python code and error. Here is the code: import rasterio import matplotlib.pyplot as plt import…
yuen2
  • 79
  • 1
  • 6
-1
votes
1 answer

Rasterio Geotiff Coordinate Translation

I have some geotiff files but the coordinates are slightly off. I want to use rasterio's API (or other python geo API like pygdal) to geometrically translate (shift) the image. For example, how do I move the image's coordinates 'north' by a single…
Alex Ethier
  • 369
  • 1
  • 4
  • 17
1 2 3
16
17