Image getting stretched when creating MBTiles using TileMills to use as an Image on Whirly Globe Framework

可紊 提交于 2019-12-11 19:23:12

问题


I am struck with issue .

I want to use My personal Image as an image on whirly globe.I used a Jpeg file and changed into .tiff file and added to Tile Mills as a Layer (Following the rules specified in the crash course of tile mills).Now i am facing an issue while exporting the image as MbTiles . I looked into this Link for taking reference on what should be 'Dimensions' of the image to be used on whirly globe.

Right now i have an image whose dimensions are 10184X7638. But this image is not able to wrap the complete Whirly Globe. Please guide me on

  1. what the dimensions should be there of the image to be used for whirly globe.

  2. can i use this values while creating a frame for the image as the image gets strected when is added to the globe .Image1

    .

This is the Image i am talking about it has a dimensions of 10184 X 7638 pixels and when i select these bounds as specified Image1 (-180,-85.11,180,85).then i get this Image2

. Here you can see the image is not able to cover the complete bounds and hence the globe also is not fully wrapped with this image.

Thanks!!


回答1:


The image is less about dimensions and more about mapping it to geographic coordinates so that it can completely cover the globe. You need to make sure the image takes up your whole TileMill map if you want it to completely cover the globe in WhirlyGlobe.



来源:https://stackoverflow.com/questions/17270534/image-getting-stretched-when-creating-mbtiles-using-tilemills-to-use-as-an-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!