1

QGIS has a plugin called OpenLayers. From that plugin, we can get a very pretty map. I have downloaded some shapefiles for the region (a city in my case) I am targeting.

When I put the shapefiles on top of the OSM map, everything looks perfect (playing a little bit with transparency...)

  • Now I would like to cut the OSM map area not contained in my polygon shapefile while still keeping all the OSM attributes (names, roads, colors etc...) and keeping the zoom-able ability of the OSM map.

  • THEN I'd like to export the result as a SLD. I'll use that into GeoServer.

How would I go and do that or is there another way for doing that?

closed as unclear what you're asking by nmtoken, BERA, tinlyx, xunilk, aldo_tapia Apr 13 '18 at 11:09

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Is it just the style you want, or are you trying to get data as well? – nmtoken Apr 13 '18 at 3:24
  • @nmtoken Omg. you are so late on this one. I asked the question on May the 16th 2016. I don't even know how to operate QGIs anymore. Long story short, I remember using for that project GeoServer. SLD, and all the other files where hosted on Geoserver and I thinks I got them from openstreetmap. Brief, the project succeeded (class assignment passed ;-)) – Kurt Miller Sep 11 '18 at 11:07