Hi,

I tried to use gdal2tiles on a VRT generated from JPG images (which a btw
256 x 256 pixel tiles themselves)
I double checked VRT with gdal_translate to crop part of it and got
expected result.

When I use gdal2tiles, i.e.: `gdal2tiles.py -p raster -z 2 mosaic.vrt` I
get as a result 256px tiles, but tiles are empty except for upper left 64 x
64 px region, which contains what I would expect for whole tile, or put it
differently tile is reduced unnecessarily 4 times while preserving 256px
canvas.

So every single tile, looks like this:

    +---+---+---+---+
    | X |   |   |   |
    +---+---+---+---+
    |   |   |   |   |
    +---+---+---+---+
    |   |   |   |   |
    +---+---+---+---+
    |   |   |   |   |
    +---+---+---+---+

where "X" is region containing map sample while rest of the tile is empty,
or more easily comprehensible by looking at the the attachment.

Any ideas, what might be wrong?
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to