Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Use this tag when referring to georeferenced or ungeoreferenced TIFF (Tagged Image File Format) files.

4
votes
1answer
25 views

QGIS rendering TIFF color with wrong color

When I try to display a GeoTIFF image with single band pseudocolor, the style seems to be wrong for values out of the range 255. The legend is shown as The green pixels have a value larger than 255....
1
vote
1answer
26 views

How to find if a pixel is entirely within another pixel when comparing for example two GeoTIFF raster maps? [on hold]

Using GDAL and/or Python Red: GeoTIFF raster Map layer 1 Blue: GeoTIFF raster Map layer 2
2
votes
1answer
53 views

How to obtain TIFF file using data from CSV files

I have a set of CSV files containing lat-long values for certain land cover classes. Long Lat 80.1 23.0 80.2 23.1 80.3 23.2 80.4 23.3 ... From this point on, I need to generate a TIFF file ...
1
vote
0answers
21 views

rasterio & cogeo

I am trying to use rasterio to read cloud-optimized geotiff stored in a gc bucket. With method 1, GDAL makes use of the overviews and read is quick. Unfortunately, if the extent is not fully included ...
0
votes
1answer
48 views

Pix4D and ODM generated tiff with same source images don't align

I have created two georeferenced orthomosaics using dronemade images. I used OpenDroneMap and Pix4D for that and I used the same source images for both. I thought that if I used the same images, the ...
1
vote
2answers
55 views

Getting RGB values of each pixel in a LANDSAT 8 GeoTIFF with Python 3

I'm working with a set of LANDSAT 8 Collection 1 Tier 1 GeoTIFFS pulled from Google Earth Engine, and I need to find the RGB values of every pixel in this GeoTIFF. I've tried using the code from ...
0
votes
1answer
28 views

Changing land use land cover classes in ArcGIS Desktop?

I have a tiff file containing raster data of land use land cover (LULC) classes. Each pixel has a pixel value in the form of RGB values of the corresponding LULC class, need to change the pixel ...
1
vote
0answers
32 views

Using GDAL tools to convert GeoTIFF for Mapbox use

(Edit) I have added a link to the files needed to reproduce problem (unzips to 180MB TIFF) : https://www.dropbox.com/s/qrrlsjlmafctt38/issue.zip?dl=0 I have been working on a project the past few ...
1
vote
1answer
44 views

Exporting GeoTIFFs from QGIS [closed]

I would like to export my map as a GeoTIFF in QGIS. My workflow is as follows: Project - Import/export - export map to image… I have two questions about this: instead of saving the image as a GeoTIFF,...
1
vote
1answer
31 views

Transforming a single-band GeoTIFF into an RGBA PNG file using GeoTools

I'm fairly new with GeoTools. I'm using it in order to generate GeoTIFF files that have a single band, with values between -1 and 1, or NaN. An example of such a file is available here: https://m-...
0
votes
1answer
45 views

Import multi-band TIFF in R

I am trying to import a TIFF file that contains 2 bands. When using the following code in R, it seems only the first band is being recognised. S1<-"my/path/" S1<-list.files(S1, full.names = ...
1
vote
0answers
21 views

Clip raster along grid in ArcGIS?

I have a topographic map of Washington as a TIFF-file from the US Geological Survey. And I'd like to clip the raster to the extent of the outer grid lines (78E/39N, 76E/39N, 76E/40N, 78E/38N). So that ...
0
votes
2answers
88 views

How to obtain DN values of Sentinel 1 Data (preferably GRD) given actual location coordinates using Python3 GDAL/rasterio/any_other_library?

location of Svalbard 77.8750° N, 20.9752° E I have sentinel-1 microwave data (in GRD FORMAT) downloaded from Copernicus. Each image is HH or HV polarized. How do I calculate the DN value from ...
0
votes
1answer
36 views

Black box around raster layer retreieved from Mapbox in ArcGIS online

I manage a mapping system for the Pine Ridge Reservation in South Dakota and am trying to retrieve a raster layer but I keep getting this expanding black background/box. When I open the mbtiles file ...
1
vote
1answer
21 views

gdalwarp: differentiate between empty-in-source and outside-of-cutline?

I'm using gdalwarp to clip a polygon out of a map layer using --crop_to_cutline. The original map layer has a lot of empty pixels (well, transparent / alpha=0, to be precise). As it stands, my output ...
0
votes
0answers
18 views

Waiting for tif processing to read it

I'm writing a script where many little tif-files are generated, then converted to vrt and merged to a tif to finish. Here is the code: rasters = glob.glob('/{0}/ndvi_clip/{1}*.tiff'.format(path, ...
-1
votes
0answers
24 views

What is the file format of the GeoTIFF file provided by Sentinel-1A?

The SLC files have I and Q values which can be picked up and squared to get amplitude of the pixel. The GRD files's each pixel is an amplitude value. I did the following activity once. Opened an SLC ...
2
votes
1answer
52 views

GDAL reprojection 4326 to 3857 creates gap

I have an EPSG:4326 tif covering the world that I need to reproject to EPSG:3857 in order to use it with Mapnik to create a map. When displaying the original tif and leaving Mapnik doing the ...
0
votes
0answers
14 views

how to remove black border pixels of georeferenced image without affecting interior pixels using GDAL python [duplicate]

I'm trying to remove the black border from the Geotiff image. The problem is that the value of the pixel border (0) also exists inside the image i tried this but it doesn't work Removing black ...
1
vote
0answers
43 views

QGIS - Lookup elevation or slope from geoTIFF from a series of lat/lon values

I have a geoTIFF file (pretty large) covering a good chunk of Spain around Almeria. I got it from the EU-DEM v1.1 data (25m resolution), freely available in which I have a route in lat/long and I want ...
0
votes
0answers
9 views

gdal tranparent doesnt work

i trying to create another geotiff file with another arrays, cols and rows like an first tiff, it doesnt matter, i got a problem with transparency, the 4 band is alpha and i set it to 0, but it ...
0
votes
1answer
26 views

Cutting rasters using polygon and obtaining pixel specific data using ArcMap

I have a georeferenced polygon file that I want to use to cut several different raster files. I am looking to analyse the individual pixels within those cut areas. One of the raster files has a ...
-1
votes
1answer
19 views

Setting no-data for area outside of clip polygon with ArcGIS Desktop?

I need to clip black and white landuse plans which are in TIF format from a graphic in ArcGIS Desktop 10.3. or higher. The resulting black and white images should ideally be in TIF format also. The ...
3
votes
1answer
50 views

Determine size of GeoTIFF header

Is there a way to find the size (in bytes) of the header information in a GeoTIFF file using Python? I am not trying to read the header (I know I can use gdalinfo for this) but rather to figure out ...
1
vote
0answers
28 views

QGIS: can I somehow display a virtual raster of 7000 zipped GeoTiffs?

I've built a virtual raster of 7000 zipped geotiffs (each about 3600x2400 px). The GeoTIFFs have overviews. I've tried to open it with QGIS desktop application (via Add Raster Layer). Alas, QGIS ...
0
votes
1answer
33 views

Extracted GeoJSON from TIFF

If there are a way to do call("gdal_contour -i 10 -f GeoJSON".split(' ') + [file1, file2]) as Python call method of some library? Not via command line call and intermediate file storing?
1
vote
1answer
31 views

gdal_translate and gdalwarp do not close when converting an ecw file to GeoTIFF

I'm trying to convert a portion of a fairly large ECW file to a GeoTIFF using either gdal_translate or gdalwarp. The problem I'm having is that the GeoTIFF is generated but gdal_translate and ...
2
votes
1answer
34 views

How to check if a GeoTiff has pyramids?

I've just saved a GeoTiff image via GDAL (C++ version). I've called BuildOverviews on it. How can I check if the pyramids are actually created in the image?
2
votes
1answer
85 views

Efficiently read large tif raster to a numpy array with GDAL?

I have been using the Python GDAL API to read tif raster files as NumPy arrays. Previously, I simply read the raster into an array directly with GDAL: ds = gdal.Open('example.tif') fullarray = np....
0
votes
0answers
16 views

Get diff for 2 geo TIFF

If there are some straightforward solution for calculating border polylines for resulted diff area of 2 geoTIFF files. So basically: 1. Calculate new geoTIFF as result of 2 geoTIFFs 2. Extract ...
0
votes
0answers
8 views

how to publish multiple .tiff images in geoserver? [duplicate]

I am using geoserver 2.9.0 and have multiple .tiff images i need to publish.the default geotiff plugin would only publish one tiff image.I would like to know which plugin extension support multiple ....
1
vote
1answer
89 views

How to extract values from .tiff file using R?

Maybe a rather simple question, but I could not find an answer. I am trying to extract long, lat, value from a .tiff file of a map of Africa with long/lat and soil acidity as the values. Here is some ...
0
votes
0answers
39 views

Converting DXF/DWG/landXML to GeoTIFF?

I need to do a converion of surface for a large area from DXF (or landXML) with high resolution (0.3 feet grid spacing). Currently perform this with AutoCAD but it takes too much time (over 7 hours). ...
3
votes
1answer
115 views

Retrieving exif tags from GeoTiff with GDAL?

I work on toolkit that automatically classifies data from a bunch of aerial cameras. Each camera uses geotagging to store position and time metadata in EXIF tags. When I use GDAL (I use version 2.0....
2
votes
1answer
29 views

How to read part of a TIFF as array and export it with its correct coordinates using GDAL?

I would like to be able to read a part of a TIFF file as a numpy array (using read as array(xoff, yoff, xsize, ysize) and be able to export it again to TIFF file, having this subset its correct ...
1
vote
1answer
51 views

Georeferencing metadata in GeoTIFF files

I am generating maps as TIFFs using the raster package (writeRaster) in R to generate small tiles, then as a final step, combining the tiles via the GDAL script gdal_merge.py. I thought the resulting ...
1
vote
0answers
22 views

Add compression variable to CopyRaster_management for TIFF Raster Dataset

I need tiff orthos to have NO compression. I'm using a python script to parse through directories and add 4-band data to the images. It works great ... but the customer wants it uncompressed. The ...
0
votes
1answer
19 views

How to get output format JPEG using like source GeoTIFF (int16) in service WCS in Geoserver?

I have GeoTIFF file (int16), and I publish the layer in Geoserver using like store in Geoserver my file, now I used WCS request builder to get JPEG-like output format and I get an error "No possible ...
0
votes
1answer
29 views

Extracting pixels from polygonal geospatial region of set of map tiles and/or set of GeoTIFF files?

I need to create a script, probably JS or Python, to perform the following: I have a polygonal region -- no "holes", and always fully convex -- for which I need to extract the pixel data from one of ...
0
votes
0answers
34 views

Shapefile with data into Unity?

So far I have imported my GeoTIFF as a height map (raw) into unity. The simplest solution to getting the road map shapefile on was to set it up as a PNG texture and layer it on. This worked well, BUT ...
2
votes
0answers
54 views

Importing Georaster into BlenderGIS causes blender to not respond

I am trying to load a geotiff of the UK into blender, when I try with smaller files it seems to work. I am thinking that maybe blender cannot handle the size of this geotiff, is there anyway to stop ...
1
vote
1answer
12 views

Intersecting geotiff with another one using alpha-channel (or nodata value) in GDAL?

I have two geotiffs related to one location but with different areas covered: 1. 2. How can I intersect their opaque parts into single geotiff like that?
1
vote
1answer
35 views

Interpolation Algorithm with gdal in R

I'm currently having some problem while trying to create a GTiFF file. require(raster) require(sp) require(rgdal) require(gdalUtils) library(rgeos) map <- readOGR ('MyShapefile.shp',layer='...
0
votes
1answer
18 views

Why is ArcMap displaying jpgs and geoTIFFs differently than the raw file? [duplicate]

I have a world jpg file that I am trying to use as a background image in ArcGIS. When I look at the raw jpg through a random picture viewer, it looks like this: However, when I load the image into ...
1
vote
0answers
22 views

Does anyone know why I'm getting a completely black geotiff as a result of this shapefile cut out of another geotiff in rasterio?

I am using rasterio to cut out the shape of a lake outlined in my shapefile from a geotiff. When using a shapefile of a singular lake with a geotiff, this works perfectly, but not when cutting out a ...
0
votes
1answer
30 views

How to generate bounding boxes for Spacenet tif files using geojson vector data

I have .tif raster files from the SpaceNet dataset, along with corresponding object descriptions in geojson files. I want to be able to generate Darknet style bounding box information ([object_class, ...
1
vote
1answer
60 views

GeoTiff import appears to be flat in BlenderGIS

I an very new to GIS and I am trying to import a GeoTiff file into Blender to view it as a model before importing into unity. For some reason when I import the file into blender as a raw DEM it ...
2
votes
1answer
53 views

Can you draw an actual line instead of a cutline with GDAL?

I'm fairly new to GDAL and I have some GeoTIFF files that I would like to highlight some bodies of water on. I have gotten pretty far, but I have one problem. The only way I am able to highlight a ...
1
vote
1answer
27 views

Trying to convert tiff+tfw to mbtiles. Projection issues?

I have quite a number of huge TIFF files, each TIFF file has a TFW file associated. gdalinfo shows that the TIFF files are not real GeoTIFF (no embedded data). I know the TIFF's are in WGS84, UTM ...
1
vote
0answers
76 views

Which DEM format is efficient .tiff or .hgt

I know this is a vague question, but I've no expertise in GIS world. I was building this terrain map for a game like simulation project that I'm invested in. Data accuracy is least or no concern, but ...