简体   繁体   English

使用gdal2tiles将图像转换为maptiles

[英]convert image to maptiles using gdal2tiles

I need to split an image into tiles that fit for map in different zoom levels. 我需要将图像分割成适合不同缩放级别的地图的图块。 I tried with Gal2tiles but I was not able to get tiles. 我尝试使用Gal2tiles,但我无法获得瓷砖。

I am using PNG image for splitting to tiles. 我使用PNG图像分割到瓷砖。

I developed GDAL2Tiles couple of years back as a student project. 几年前我开发了GDAL2Tiles作为学生项目。 It is a command-line utility with available manual http://www.gdal.org/gdal2tiles.html and a step-by-step tutorials online - one of them made by people from Google: https://developers.google.com/kml/articles/raster 它是一个命令行实用程序,提供可用的手册http://www.gdal.org/gdal2tiles.html以及在线分步教程 - 其中一个由Google人员制作: https//developers.google。 COM / KML /用品/光栅

In case you are not familiar with command-line you can easily try the MapTiler http://www.maptiler.com/ - the significantly improved and rewritten tool for creating map tiles. 如果您不熟悉命令行,可以轻松尝试MapTiler http://www.maptiler.com/ - 用于创建地图图块的显着改进和重写的工具。 MapTiler comes with a user-friendly graphical user interface and is easy to install - on Windows, Mac or Linux. MapTiler具有用户友好的图形用户界面,易于安装 - 在Windows,Mac或Linux上。

See a video tutorial for a demonstration of usage: 有关用法的演示,请参阅视频教程:

MapTiler谷歌地图叠加

http://youtu.be/eJxdCe9CNYg http://youtu.be/eJxdCe9CNYg

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM