Skip to main content

Questions tagged [gdal2tiles]

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

Filter by
Sorted by
Tagged with
3 votes
2 answers
7k views

GDAL2Tiles: MapTiles from BSB/KAP are Switched

As an example I have a BSB file from NOAA which is a navigational map. The map has a SRS of WGS84 and a Mercator projection. I initially translate the file from BSB format to GTiff format using the ...
user914425's user avatar
2 votes
3 answers
3k views

gdal2tiles and QGIS

I have made a tile pyramid of a number of Dutch topographical maps using gdal2tiles. This gives apart from the tiles openlayers.html and tilemapresource.xml. The openlayers shows perfectly and ...
user3087642's user avatar
18 votes
3 answers
24k views

Calculate lat lon bounds for individual tile generated from gdal2tiles

I have multiple tile sources generated using gdal2tiles I'd like to present on the same map. So when presenting a tile I need to determine which source to serve it up from, checking against the bounds....
Gavin's user avatar
  • 525
8 votes
1 answer
4k views

gdal2tiles.py gives ERROR 6 about EPSG:900913 on fresh Ubuntu 14.04 install

I have a fresh install of Ubuntu 14.04. I installed gdal with sudo apt-get install gdal-bin python-gdal. After this I have: GDAL 1.10.1 released 2013/08/26. I am trying to tile the weather radar ...
hazzey's user avatar
  • 418
3 votes
1 answer
2k views

gdal2tiles generates small picture inside 256x256 tile

I've used gdal2tiles for generating tiles in number of different polar projections and always experienced the same problem — strange small picture inside normal 256x256 png with the rest of space ...
dobrych's user avatar
  • 286
3 votes
2 answers
2k 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 ...
Dan's user avatar
  • 1,070
2 votes
1 answer
1k views

GDAL tiling with a lot of MrSID files

I'm trying to generate tiles for a region with a surface of 85k km2. The data source are MrSID files (2734 files). I'm using gdal to achieve this task. It works fine with a small subset of MrSID, but ...
alasarr's user avatar
  • 451
6 votes
5 answers
8k views

gdal2tiles.py generates wrong tiles / MapTiler the right ones

I'm trying to generate tiles with gdal2tiles.py and the resulting tiles are stored as 18/132639/164219. If I do the same thing with MapTiler (the GUI variant of gdal2tiles) the tile result is 18/...
user avatar
5 votes
2 answers
1k views

Output of gdal2tiles has black edges round it

I have a tif file with 3 bands and want to tile it with gdal2tiles.py. After experimenting this now works well, except for the issue that points around the edges, not in the original image, are ...
Peter Cooper's user avatar
3 votes
1 answer
4k views

How do I convince gdal2tiles to output pngs with transparency?

I have a tiff that was created with Pix4dmapper. This tiff has coordinates embedded (as seen in the logs below) (I think that makes it a geotiff?) as well as a tfw file associated with it. Opening ...
RobotCaleb's user avatar
2 votes
2 answers
2k views

Tiled raster image to be placed in an OSM/ Leaflet.js map

I have a mapoverlay in a custom projection which I need to add as a layer to an Openstreet map within a website. Since I was not able to change the projection earlier, I decided to manipulate the ...
swish's user avatar
  • 21
2 votes
2 answers
1k views

Mapbox Studio for macOS renders GeoTiff into webp with black background - suggestions?

We are converting a 11 MB GeoTiff, 324511630_Descanso_FSTopo.tif, to post to Mapbox, using Mapbox Studio Classic macOS. The issue is when the Mapbox tileset is posted in Mapbox.com/studio, there is a ...
RobLabs's user avatar
  • 545
2 votes
2 answers
4k views

OSgeo4W64 Windows 7 & ImportError: No Module Named Site

I realize this question has been asked a lot, but I was not able to resolve my issue through the answers posted elsewhere... I am new to Python, gdal, OSgeo4W, etc. but have experience with ArcGIS. I'...
mastermapper's user avatar
1 vote
2 answers
3k views

No module named 'ogr' in GDAL 3.3.2 installing

I download GDAL 3.3.2(with compiler MSVC 2019) from here. I have downloaded the following components and install them in windows 10 x64: gdal-303-1928-x64-core.msi GDAL-3.3.2.win-amd64-py3.9.msi gdal-...
Morteza Malvandi's user avatar
0 votes
0 answers
180 views

Inconsistencies between xyz images in Mapbox and raster

I have a 5m raster that I want to show on Mapbox. Using gdal2tiles.py I created the xyz images and am serving them from s3 up to zoom level 18. The idea is that the user should be able to click on a ...
sobmortin's user avatar
0 votes
1 answer
587 views

Using gdal2tiles XML output with Proj4Leaflet [closed]

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 ...
D.Moiseev's user avatar
0 votes
1 answer
447 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 ...
ZackOfAllTrades's user avatar
0 votes
0 answers
334 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 -...
Neisy's user avatar
  • 15