This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Can I use OSM data as layer in my WMS server

0

Can I use OSM data as layer in my WMS server and show it as overlay on top of bluemarble in OpenLayers?

asked 22 Jul '13, 14:56

gjw01's gravatar image

gjw01
1111
accept rate: 0%


One Answer:

2

You can use OSM data but you will need suitable styling rules for your WMS to make OSM data appear like a nice map. Check out https://github.com/mapserver/basemaps if your WMS is a UMN MapServer, or search the web for suitable stylings and import rules if you use a different WMS.

There are existing WMS servers with OSM data that you can use; some are free, some cost money. Some cover all of the world, some just a part. Some are updated regularly, some just twice a year. See our Wiki for details.

answered 22 Jul '13, 15:45

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Thank you for the quick response. We have a home-grown WMS server, which serves up base imagery. What we are missing is map-like overlay with geonames, roadways, etc. I was hoping we could adapt OSM data for this purpose.

(23 Jul '13, 15:34) gjw01

Source code available on GitHub .