Questions tagged [gdal2tiles]

gdal2tiles generates directory with TMS tiles, KMLs and simple web viewers

Filter by
Sorted by
Tagged with
1
vote
0answers
16 views

How to tile Mars themis raster for Cesium

I am trying to tile the Mars themis raster that has the following crs: PROJCS["SimpleCylindrical Mars", GEOGCS["GCS_Mars", DATUM["D_Mars", ...
0
votes
0answers
9 views

Replacing part of a tileset with gdal2tiles

Is it possible to run gdal2tiles to replace a specific part of a tileset? We've created a tileset whose generation took almost 2 days and then found out that one of the input files had an issue (it ...
1
vote
1answer
33 views

GeoTIFF to Web Mercator (tiles)

I was georeferencing a map. (it’s now a working map in the GeoTIFF format) Then I used gdal2tiles -z5-11 myFile.tif myFolder but the resulting tiles were incompatible with Mapbox and compared to ...
0
votes
1answer
43 views

The position and size of my Tile Map is incorrect when it is displayed in React-Leaflet

I converted the GeoTIFF file to a tiles map. I'd like to display it in react-leaflet, but the size and position are not right. What can I do to fix it? This is condition when displayed. (overlaid on ...
1
vote
1answer
48 views

gdal2tiles is not recognized as an internal or external command?

I try to follow this guide ► Creating super-overlays with gdal2tiles, everything goes well until it reachs gdal2tiles part. When I type the command gdal2tiles.py -p geodetic -k bluemarble2.vrt or ...
1
vote
1answer
87 views

Installing GDAL on Windows 10 using binaries for command line functionality

I figured that I would ask this question hoping that someone finds a document or provides a description that actually works. I've followed countless sites, GitHub issues, and other forum posts but ...
1
vote
1answer
44 views

Cannot get transparent tiles when using gdal2tiles on a GeoTIFF

I have this GeoTIFF generated through UAV mapping. It has 4 bands: red, green, blue and alpha. I've been trying to use gdal2tiles to use this geotiff as a basemap on a Leaflet project. The thing is I ...
0
votes
0answers
51 views

Using gdal2tiles on mac

I'd really appreciate some guidance with this. I need to create some map illustrated tiles to use in leaflet.js for a small web-app I'm building. So far though I've lost about five days to installing ...
0
votes
0answers
11 views

gdal2tiles for artistic map of specific size in kilometers

Imagine large hi-res image in ratio 2:1, which represents area of 10000:5000 km. The goal it to publish this map on web using e.g. openlayers with the pan/zoom support, yet enabling measurement (...
0
votes
0answers
16 views

Process for high bit depth map tiles

I have a geotiff DEM with Float32 data type that I would like to use to make map tiles with high bit depth. When using gdal2tiles.py, banding occurred in the resulting tiles unless I converted the ...
0
votes
0answers
74 views

Leaflet - do I need the rastercoords plugin for an non-geographical map with CRS.Simple and local tiles?

I got a fictional map set up following this tutorial: https://leafletjs.com/examples/crs-simple/crs-simple.html But when I try to switch the imageOverlay for map tiles (generated with gdal2tiles-...
0
votes
1answer
24 views

Why does gdal2tiles sometimes produce a tileset where the image does not fill the tiles?

I'm using gdal2tiles on a vrt that I've warped from Mercator to QSC. I'm using the 'raster' profile. The resulting tiles look correct but there transparent strips on the upper and right edges of the ...
1
vote
1answer
20 views

gdal2tiles syntax error

I'm attempting to produce tiles for a tif with the following call to gdal2tiles.py: gdal2tiles.py --profile=raster C:\Users\kcwil\media\bmng_qsc\0\frontside.tif and I'm getting the following error: ...
0
votes
0answers
19 views

Hosting multiple TileMaps

I'm setting up this API that let's users upload high resolution images then generate tiles with those images using gdal2tiles. My question is what's the recommended way to host a tile map service? I ...
0
votes
1answer
57 views

Using gdal2tiles XML output with Proj4Leaflet

I use gdal2tiles to create tiles from a referenced image (with profile parameter set to "raster"). Then I use Proj4Leaflet to display the results. In order to do that I need to specify parameters of ...
1
vote
0answers
26 views

Merging two pyramid tile sets (directory)?

I was searching on the Internet about the merging of GeoTIFF tiles (pyramid tiles) generated by gdal2tiles. Below are the steps I performed Downloaded tif-files. Converted tif to vrt (below command) ...
0
votes
0answers
41 views

How fix lengthen tile created by geo tools?

I use gdal2tiles.py for creating tiles from a tif with EPSG:4326. The geotiff information in qgis is as follow: For zoom=0, x=0 and y=0 it create a tile as follow: I followed this tutorial to ...
2
votes
1answer
114 views

Quality of gdal2tiles output

I am trying to generate a tileset from a GeoTIFF using gdal2tiles, e.g.: gdal2tiles -s EPSG:3448 input.tif outputfolder But the output tiles’ quality is definitely not what I expected (see images ...
0
votes
1answer
144 views

Zoom level issue with openlayers 5 and custom tile generation using gdal2tiles

Now i have changed my code but the output is still not what is expected, because the resolution provided is of 0 - 8 zoom but my minZoom starts from 12 itself, will i get my tiles rendered ?? how ...
0
votes
1answer
198 views

Install gdal2tiles inside conda environment

I need to use gdal2tiles with Anaconda 3 on Ubuntu 18.04. I've created the environment using: conda create --name gisenv python=3.6 I've installed GDAL with: conda install gdal After this I've ...
0
votes
1answer
63 views

Using gdal_translate command parameters [closed]

Working from these instructions: https://gdal.org/programs/gdal_translate.html#cmdoption-gdal-translate-gcp I am trying to run the gdal_translate command, here is a sample of the command I run which ...
1
vote
1answer
338 views

Raster Image Tiles created using GDAL2Tiles (from GDAL 2.4.2) does not align properly with Open Street Map Tile layer

I am trying show a custom tile overlay (created from a raster image) on top of openstreetmap base layer using Leaflet. I used one of the raster images from https://www.naturalearthdata.com/downloads/...
0
votes
0answers
100 views

Using Pix4d google_tiles KML outside of Google Earth

I am using Pix4d to generate orthomosaic tiles. I would like to display these in something other than the HTML that is provided. Possibly have 2 or three shown on the same window. The full ...
0
votes
1answer
457 views

Converting GeoTIFF to tiles using gdal2tiles

I have a GeoTIFF of weather radar data that I cannot seem to get converted to a raster tileset using gdal2tiles. When the tileset is generated, there are TONS of empty folders in the output directory, ...
0
votes
1answer
34 views

Unable to install gdal2tiles on PyCharm

I have installed gdal 2.4.1 while installing gdal2tiles. I am getting this error: ERROR: Could not find a version that satisfies the requirement GDAL==2.4.1 (from gdal2tiles) (from versions: 1....
0
votes
1answer
301 views

GDAL - creating tiles from TIFF with world file

Several years ago I created multiple tiles (xyz) from orthophotomaps using GDAL with success but now I'm getting this error and I don't know what I'm doing wrong. This is the error: Traceback (most ...
2
votes
0answers
140 views

Creating transparent PNG tiles (for TMS service) from transparent TIFF

I read nice tutorial about making transparent DEM TIFF on (Creating transparent hillshade?) My Goal is creating transparent PNG tiles from transparent GeoTIFF for serving my own TMS map service. I ...
1
vote
1answer
57 views

Is it possible to set a Tile Map Service only by copying the folder structure to a hosted server?

I used gdal2tiles to generate a directory with tiles of a bigger raster. Now, I'm able to see these local tiles on my browser, using the generated web pages (e.g. OpenLayers.html). Thus, I copied the ...
0
votes
0answers
147 views

gdal2tiles.py using param: -nb_processes does not use multicore, only one core fully working [duplicate]

I'm using gdal2tiles to tile huge geoTIFF image, but it takes a long time. I tried using the nb_processes param but only one core is working hard. My command line: gdal2tiles.py -e -p geodetic -...
0
votes
1answer
148 views

gdal2tiles -e giving error about Processing of several input files is not supported received?

I'm using gdal2tiles for tile huge geoTIFF image. The problem is that only 1 core cpu was being used so I stopped the process for use the -np_processes param to try use paralellism beacuse there have ...
1
vote
1answer
165 views

Trying to make calculation with gdal_calc.py?

I have a tif image that I'm trying to run gdal_calc.py. In the source file the values are between 1,118-9,704 and I want to divide all the values by 10,000 to get results between 0-1. This is the ...
1
vote
1answer
127 views

gdal2tiles.py multithreaded only works with base tileset

I'm using GDAL 2.4.0 on Ubuntu 18.04 Installed from the ubuntugis-unstable repository. When I use the gdal2tiles.py with the '--processes=n' flag the multithreaded operation works fine for processing ...
0
votes
1answer
203 views

Convert a .png file to a GeoTIFF while knowing the boundings

Disclaimer: I've already found this link Convert PNG to GeoTiff using GDAL - but it was of no help. Actually I've got a .png file of a hand-drawn map (I also got it in the .svg format in case this ...
4
votes
1answer
361 views

Mismatch between OpenLayers 5 and XYZ-layer on some zoom-levels

I have an image pyramid that I created with gdal2tiles. Then I displayed this layer on top of another map in OpenLayers 5 with the XYZ source. On the map zoom levels 0-8 the XYZ layer is not aligning ...
0
votes
1answer
116 views

Creating tiles from complex VRT

I have thousands of GeoTIFF source files that cover whole country in 6 different layers. I have created VRT file for each layer. I loaded everything in QGIS, assigning correct colors to bands in ...
0
votes
1answer
138 views

gdal2tiles.py: ERROR 6: PNG driver doesn't support 13 bands

Does anybody have some insight to an error I am getting when I use gdal2tiles.py: ERROR 6: PNG driver doesn't support 13 bands. Must be 1 (grey), 2 (grey+alpha), 3 (rgb) or 4 (rgba) bands. I am ...
1
vote
1answer
442 views

Alternative to MapTiler for tiling a GeoTIFF

I'm currently using MapTiler Pro console version, called from C# code as process with the following parameters: -geodetic -nodata 0 0 0 -f png32 -o result/ -tms -resampling bilinear -srs "+proj=...
0
votes
1answer
153 views

Cannot change zoom level parameter dynamically within gdal2tiles call in Python?

I am trying to do the following but it is falling over i.e. (has no error message and doesnt start the tiling process). I think the parsing of the zoom level argument is falling over. I havent been ...
1
vote
0answers
97 views

How can I stop single pixel nodata values propagating through a tile pyramid when using gdal2tiles?

I am using gdal2tiles_parallel.py to generate a tile pyramid from a single geotiff with nodata value set. I have noticed that if I have a small hole in the original geotiff (say single pixel), then I ...
2
votes
1answer
1k views

Displaying tiles generated by gdal2tiles with OpenLayers?

I'm currently facing issues displaying tiles generated with gdal2tiles.py in OpenLayers 4.5.6 My geotiff is issued from SHOM catalog. To generate the tiles, I had to translate my tif to vrt to be a ...
0
votes
1answer
207 views

Portable gdal2tiles.py

I want to realize "Portable gdal2tiles.py" in both Windows and Mac environment. "Portable" means, run script without installing something. To realize this, I believe, we have to have such components: ...
2
votes
0answers
200 views

Reprojecting EPSG:5514 to EPSG:3857 for use in Leaflet

I have one JPG (170 MB) and JGW file of a small area projected in EPSG:5514 (Image provider told me.) JGW file: 0.1250000 0.0000000 0.0000000 ...
2
votes
0answers
112 views

Homebrew (OS X), gdal, and gdal2tiles.py/python

I had a previous installation of gdal (v. 1.11.5_3) that included in its binaries python files like gdal2tiles.py. I recently upgraded gdal with to 2.2.4 using Homebrew, but the result seems to have ...
0
votes
0answers
79 views

gdal2tiles for both raster and vectors with a directory of input files (shps and .tifs)

I am looking to tile a large dataset that was split into raster areas based on political borders (ie. 1 raster file for each area). I have a few hundred .tiffs and shapefiles for the area and am ...
0
votes
1answer
289 views

Implementing gdal2tiles tools by using GPU or OpenGL to accelerate speed?

The gdal2tiles.py is very useful, but it is some slow when I want 10 or up levels. I think the bottleneck is I/O, so I want to how solve the problem by GPU?
1
vote
1answer
982 views

gdal2tiles.py how to find optimal zoom level for leaflet?

I working on a project need to tackle with deal with geotiff image file. I'm new to leaflet and geotiff image.I got an image from client and i need to overlay it to leaflet map from geotiff. I used ...
0
votes
0answers
103 views

Why MacOS recognize EPSG 900913 and Ubuntu does not

I'm working with gdal and trying to run gdal2tiles.py. The command gdal2tiles.py -z 4-18 image.tif tile works on my mac, but it does not work when I run in a linux machine. I found the solution, ...
0
votes
2answers
487 views

How do I make a slippy map with a GeoTiff?

It seems that most applications I use for serving map data, gdal2tiles or Geoserver takes the supplied GeoTiffs and chops it up into png files with no metadata. What is the standard practice to place ...
0
votes
1answer
218 views

Does gdal2tiles strip elevation data?

I have a GEOTiff file that has elevation data associated with it . It seems like the resulting png/jpg files I get after feeding it to gdal2tiles does not have elevation data. Same thing with the tms ...
2
votes
0answers
402 views

gdal2tiles “ERROR 5: Illegal values for buffer size” error for a single zoom level only

I'm experiencing what seems to be a very particular issue when running gdal2tiles on a virtual raster at zoom levels 10 to 17. The function runs without issue for all zoom levels except for zoom level ...