How to make a map?
So I want to have a map on my website, first when I thought about this I made a google api based map which obviously requires funds and its not useful for my case, then I searched little more and came to openstreetmap, postgis extensions that allow us to export map data into it which later we will query, currently I am on debian distro,
In my head what my approach should be is:
then I came across tile server and followed instruction on this link multiple times but i couldn't make it work https://www.linuxbabe.com/linux-server/osm-openstreetmap-tile-server-ubuntu-22-04, recently I wanted to start learning docker to try to setup it from 0 or just install ubuntu on it and try to set it up there.
So please guide me with instructions, I am 17 so I don't really have that much experience especially with maps When I first saw these open source stuff I was like this is completely new world. So any instruction and help would be appreciated thanks in advance.
In my head what my approach should be is:
- download data and export it to postgres database with postgis extension enabled and indexed automatically I had this done before so I know how to do it kind of
- I should query the data from nodejs server that I will have and send it to the frontend and render it using leaflet or open layers
then I came across tile server and followed instruction on this link multiple times but i couldn't make it work https://www.linuxbabe.com/linux-server/osm-openstreetmap-tile-server-ubuntu-22-04, recently I wanted to start learning docker to try to setup it from 0 or just install ubuntu on it and try to set it up there.
So please guide me with instructions, I am 17 so I don't really have that much experience especially with maps When I first saw these open source stuff I was like this is completely new world. So any instruction and help would be appreciated thanks in advance.
LinuxBabeGuoan Xiao (Admin)
OpenStreetMap, aka OSM is a user-contributed world map. This post shows how to build your own OpenStreetMap tile server on Ubuntu 22.04.



