I tried to make a collaborative web-map solution. that is allowing multiple users to edit map features and enter data collaboratively. I read that OpenStreetMap give this solution. I’ve installed a local osm server using switch2osm tutorial. Now I can see a map canvas on a web page. Your ‘switch2osm’ is a rendering server – it takes existing OSM vector data and turns it into tiles that can be viewed on a web client. If you want to edit the existing OSM vector data, you’ve got a lot more work to do. You also have to sort out licensing issues if you are going to re-use the OSM data. You probably need to install much more backend than your ‘switch2osm’ rendering server. A full backend is known as ‘the rails port’. It is on github. You might also want to choose an editor and install it with appropriate connection to your database. For example, if you want a developmental version of iD (which is included in the rails port in a stable version), start with https://github.com/openstreetmap/iD/blob/master/README.md and work from there. For the legal side, read and understand http://www.openstreetmap.org/copyright and find a lawyer if any of it is not clear to you. Source.