For the operating system, I selected Debian 11. I chose the smallest server offering: CX11 with 2GB of RAM. For this demo installation, I used a VPS server from Hetzner (referral link). In this tutorial, I will install a tile server on a VPS. If you run your own tile server, you can either host the whole planet (needs about 51 GB for the base map) or just a region or country. All you need is a server in your intranet or a server connected to the Internet and a lot of disk space. Fortunately, it is not too complicated to do that. You can use this tile server in your application, but you have to comply with the usage policy: Ī better solution is to use one of the commercial providers mentioned above or host your tile server. OpenStreetMap itself also runs a tile server () that is used for the map you find on the homepage: A tile server either serves vector tiles or pre-rendered tiles in PNG format or can support both. The server that sends the map data to a web application is called a tile server. On this wiki page, you find a list of commercial companies that provide services around OpenStreetMap data: The OpenStreetMap data is publicly available, and everyone can use it. You can choose others, like Apple Maps and Bing Maps.Īnd then, there are providers that host maps generated with data from the OpenStreetMap project. Google Maps is not the only map provider. A popular solution is Google Maps, where you get an all-in-one package, a JavaScript library, and the map data from Google. When you want to add interactive maps to your web application, you need some JavaScript and a server that hosts the map data. TileServerGL, a self-hosted map tile server with OpenStreetMap data Home | Send Feedback TileServerGL, a self-hosted map tile server with OpenStreetMap data
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |