使用TileMills创建MBTiles用作Whirly Globe Framework上的图像时,图像被拉伸 [英] Image getting stretched when creating MBTiles using TileMills to use as an Image on Whirly Globe Framework

查看:226
本文介绍了使用TileMills创建MBTiles用作Whirly Globe Framework上的图像时,图像被拉伸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对问题感到震惊.

我想将我的个人图像用作旋转地球仪上的图像.我使用了一个Jpeg文件并更改为.tiff文件,然后将其作为图层添加到Tile Mills中(遵循Tile Mills崩溃过程中指定的规则).现在,在将图像导出为MbTiles时遇到一个问题. 我查看了此链接,以获取有关在旋转地球仪上使用的图像.

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.

现在我有一张尺寸为10184X7638的图像.但是,此图像无法包装完整的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. 用于旋转地球仪的图像应具有的尺寸.

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

我可以在为图像创建框架时使用此值,因为将图像添加到地球时会被拉长. Image1 .

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

这是我正在谈论的图像,它的尺寸为10184 X 7638像素,当我按照指定的Image1(-180,-85.11,180,85)选择这些边界时,便得到了 Image2 .在这里,您可以看到该图像无法覆盖整个范围,因此地球也没有完全包裹在该图像中.

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.

谢谢!

推荐答案

图像与尺寸无关,而与将其映射到地理坐标有关,从而可以完全覆盖地球.如果您希望图像完全覆盖WhirlyGlobe中的地球,则需要确保图像占据了整个TileMill地图.

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.

这篇关于使用TileMills创建MBTiles用作Whirly Globe Framework上的图像时,图像被拉伸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆