Creating offline map tiles for JMapViewer

冷暖自知 提交于 2019-12-02 10:22:01

There are different ways to reach that goal. All of them make use of an external toolchain:

1. Offline renderer
This is a bit more complex, as you need to use a renderer, a map style and OSM data packages to render your own map tiles on your box. A first simple way is to make use of Maperitive as it's very easy to configure and comes with styles. More advanced, you can setup a whole OSM rendering stack (Mapnik, PostgreSQL DB, osmosis, ...) so please see the tutorial at www.switch2osm.org

2. Tile downloader
This is pretty easy. There are different tools to download tiles from the official servers:
http://wiki.openstreetmap.org/wiki/Category:Tile_downloading
But please keep in mind that this machines are donated and should not be stressed by just a few single users. So the speed needs to be very moderate and respect the TUP:
http://wiki.openstreetmap.org/wiki/Tile_Usage_Policy

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