为maptiler创建世界文件 [英] Creating world file for maptiler
问题描述
顶部,左上角纬度经度:23.635069763547662,58.09107365049769
底部,右上角纬度经度:23.598520470202025,58.14957297881731
或者使用WGS84北行,东行:
底部,右转角向东,向北:611289.588,2614249.428
我的图片使用了WGS84的投影。如何使用上面的描述为maptiler创建世界文件。
感谢你。
解决方案 在MapTiler中<只需在MapTiler中选择墨卡托瓷砖,然后拖放文件,选择您的坐标系(默认是WGS84大地测量的纬度/经度)和分配位置点击边界框。当您可以直接键入四个数字时,会打开一个对话框。 MapTiler会在右下角的小地图窗口中预览覆盖区域。
请参阅以下演示使用边界框的视频教程:
https://www.youtube.com/watch?v=p8rNkaNXDPs&list=PLGHe6Moaz52PiQd1mO-S9QrCjqSn1v-ay
,另一个也生成MBTiles并将其上传到Amazon S3:
https://www.youtube.com/watch?v=pf8itiTwo6w&list=PLGHe6Moaz52PiQd1mO-S9QrCjqSn1v-ay
I have an image which 21810x14872 that project a box of an area with coordinate:
top, left corner latitude longitude : 23.635069763547662 , 58.09107365049769 bottom, right corner latitude longitude : 23.598520470202025 , 58.14957297881731
OR using WGS84 northing, easting:
top, left corner easting, northing : 617289.588, 2610249.342 bottom, right corner easting, northing : 611289.588, 2614249.428
My image use projection of WGS84. How do I create world file for maptiler using above description.
Thanking You.
In MapTiler (http://www.maptiler.com/) you can use the "Bounding Box" georeferencing - to provide the four limiting coordinates (north, south, east, west) you mentioned above to assign location to your image directly. You probably don't need to create a World file then.
Just choose in MapTiler the "Mercator tiles", then drag&drop in your file, select your coordinate system (default is the WGS84 geodetic latitude / longitude) and on assign location click on Bounding box. A dialog opens when you can directly type the four numbers. MapTiler previews the covered area in the small map window in bottom right corner.
See these video tutorials which demonstrate the usage of Bounding Box:
https://www.youtube.com/watch?v=p8rNkaNXDPs&list=PLGHe6Moaz52PiQd1mO-S9QrCjqSn1v-ay
and another which also generates MBTiles and upload these to Amazon S3: https://www.youtube.com/watch?v=pf8itiTwo6w&list=PLGHe6Moaz52PiQd1mO-S9QrCjqSn1v-ay
BTW WGS84 is a world geodetic system (latitude and longitude) in degrees. It is not a map projection nor projected system. The second coordinates you mentioned look like UTM coordinates or another projected coordinates in meters. To use these you would need to know the exact coordinate system definition (ideally so called EPSG code - see our http://epsg.io/).
这篇关于为maptiler创建世界文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!