[gdal-dev] wrong coordinates

Carlo Tomassone carlo.tomassone at libero.it
Wed Jan 29 09:07:22 PST 2020


Hi,

I am trying to put a Jpeg file (CS_092080.jpg) into mbtiles.

The calibration file (CS_092080.jgw) is:

1.0583773087071240105540897097625
0.00000000000000
0.00000000000000
-1.0583773087071240105540897097625
416029.78852901183000
5066179.81579051070000

I run
gdal_translate  -co "TILE_FORMAT=JPEG" CS_092080.jpg CS.mbtiles
and then with sqlite3 command

select * from metadata

the bounds are
bounds=3.7372544230636735,41.3259714013409365,3.79491118804780436,41.3639972970896324
but they should be
7.9215,45.693348,8.003923,45.74484

Any clue?

Thanks, Carlo


More information about the gdal-dev mailing list