Linked Questions

9
votes
4answers
4k views

How are ESRI WKT projections different from OGC WKT projections?

Does anyone know the precise list of differences between ESRI WKT and OGC WKT projection format strings? I know there are various tools to help convert from ESRI WKT to OGC WKT, including GDAL ...
1
vote
1answer
5k views

NumPy to GeoTiff for use with Gdal

I have a few NumPy arrays: lat, lon, and 6 data bands. I'd like to convert these to GeoTiff and then apply the gdalwarp function, based on a specific projection, to each band. Is there a standard way ...
0
votes
1answer
1k views

GDAL, python: How to create a GDAL dataset object from a numpy array

I am working on a program that uses both OpenCV and GDAL to perform different tasks. OpenCV stores its images as numpy arrays. I would like to be able to go directly from this numpy array to a dataset ...
2
votes
1answer
818 views

error with python gdal

I tried to do this code Array to Raster image but there was the following error ERROR 4: Unable to open myraster.tif to obtain file list. ERROR 4: Unable to open EPSG support file gcs.csv. Try ...
1
vote
1answer
745 views

Writing Numpy array to raster file (tif) returns a trivial black square

I need to turn a 2D numpy array into a raster file that I can later import in ArcGIS (version 10.3.1, licence type: Advanced). The coordinate system that I need to target is the British National Grid ...
3
votes
0answers
765 views

Warping Image having Lat Lon Geolocation array

I'm trying to implement a script to project an image having the two matrices of Lat and Lon points. I've followed the steps proposed in: Unable to warp HDF5 files and everything is fine. I create the ...
2
votes
1answer
426 views

GDAL ReadAsArray slow?

I am currently working with GOES-R on AWS. I've downloaded recent data, which is in the netCDF file format. Specifically I am using band 3 (M3C03). When loading it into GDAL, it is taking upwards of ...
1
vote
0answers
365 views

numpy array to gdal.Band

I have a numpy array that I want to convert to polygons using the gdal.Polygonize function, as outlined using this Polygonize a Raster Band approach. Unlike the example listed, however, my data is ...
0
votes
1answer
68 views

Python surface plot in QGIS

I'm new in QGIS and I’m having some troubles. I have produced a surface plot in python and I would like to import it in QGIS but I don't know how do that, can anyone help me? P.S. I also have the ...
0
votes
0answers
43 views

Writing Numpy array to Raster file using uneven lat lon values

I have 3 numpy arrays, one is lat, lon and values. I want to write it as a raster file. I know there is a very similar case answered here But the lat lon is not evenly spaced as the reference. rather ...
1
vote
0answers
29 views

Rotating raster cells with QGIS GDAL

I've written a PyQGIS script based on this answer to the following question: Writing numpy array to raster file My data shows up at the correct, expected location but the raster cells, which are ...