Recently, I have tried to apply open-source GIS to commercial platforms. I have tried to use the structure of geoserver + postgis + OpenStreetMap.
The main difficulties are data import and boundary issues, vector style sheets, etc.
There are many import methods. You can refer to the Wiki of OpenStreetMap.
The corresponding shapefile is used for the boundary. The source is also the content of OpenStreetMap.
It is difficult to directly use SLD as a style sheet. Here, the geoserver CSS module is used to simplify the operation, combining the content of osmarender and mapnik.
Here is an example. If you do not understand it, contact me.
/** @ Title highway-motorway/motorway_link */[highway = 'motorway'], [highway = 'motorway _ link'] {stroke: #809bc0; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round;}/** @ title highway-motorway label ref */[highway = 'motorway'] [strlength (REF) <= 2] {shield: URL ("PIC/mot_shield3.png"); label: [Ref]; font-size: 11; font-family: Arial; font-fill: # ffffff; font-weight: bold;-GT-label-group: true ;}