Tag Info

Hot answers tagged


Luckily you do not need to trust in what you read from the web but you can make a test with your own data. It is not as simple as "PNG tiles are much larger than JPEG, but have better quality". That is mostly true with aerial and satellite images which can be compressed effectively with lossy jpeg method. PNG is lossless and quality is thus perfect but the ...


If you are creating your own cache: Increase the jpeg compression ratio when generating the cache, the default is 75. Or Change the jpeg format to png32. This will result in a larger cache and bigger tiles but it will also improve quality If you are using an ArcGIS online tiled map service Make sure that your application only allows zooming to the ...


Your map file says you are using epsg:4326 as a projection. Leaflet map uses epsg:3857 as a default (https://github.com/Leaflet/Leaflet/blob/master/src/map/Map.js) you could try passing following option when you create your L.Map object var map = new L.Map('map', { crs: L.CRS.EPSG4326 }); Anyway, your problem is around projections


I suggest to use EPSG:3857 as CRS for the raster during the tiling process. EPSG:900913 is not included in current GDAL and QGIS anymore, thus the special spherical mercator treatment is not applied. The proj definition for EPSG:3857 is +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs ...

Only top voted, non community-wiki answers of a minimum length are eligible