There are various ways to build a tile server mentioned on Switch2osm. We choose one in which instructions were given for our Ubuntu version 12.04 LTS. We followed instructions given on link:
Though we were able to setup a server easily, but importing data was creating a problem. We got errors there. Sir suggested us to remove the package that was creating a problem and to install them again.
Package can be removed with this command:
sudo apt-get purge “package_name”
On fourth day, we learned to make pendrive bootable and I made my 2GB pendrive bootable . After that we did googling for different ways to setup a server.
Screenshot of JOSM displaying OpenStreetMap data and GPS tracklogs (Photo credit: Wikipedia)
On second and third day, I worked on OSM.
Before I dive into what OSM is, i would first say that it is a amazing map with open data. It is free editable map of the world. It,actually,is a “Wikipedia of maps.”
You have three tools to edit OSM.
The first one-edit with id-is programmed in Java script.It uses SVG( Scalable Vector Graphics) and D3.js ( Data Driven Documents) for rendering purposes. This is simple tool and anybody can use it.
Second tool is Potlatch2. It needs adobe flash to edit. One can use the icons provided there to mark required places.One can mark anything and everything with insane levels of detail. To mark a boundary or path one needs to specify points.
Third tool is JOSM(Java open street map). One needs to download JOSM first to work on it.It can be directly downloaded from Ubuntu software center.
Next task was to find way to make pc into OSM server.
We need to build our own server as we might want our map to work differently for us.
We googled it continuously for several hours and end up finding everything on single site- “Switch2osm”.
Two ways are Ubuntu 08.04 hardy heron and Ubuntu 10.04 lucid lynix.
For building a server one needs to have complete knowledge of “Tiles and API/library”.
It was my training’s first day.I learned many new things today like installing Ubuntu. Earlier it seemed like a hell to install any operating system on my system but now these things seems very easy .