The OSM Inspector uses WMS and WFS OGC standards internally to exchange data between the server and your web browser. If you want to use the OSM Inspector data outside the OSM Inspector web interface, you can use the same API calls to get to the data. This would allow you, for instance, to create your own OSM Inspector user interface. Or you can use the data in your own projects.
|The following describes an internal interface of OSM Inspector. Everything might change without notice. Especially layer names and the attributes of these layers can change at any time. We encourage everybody who wants to use the data to subscribe to the OSM Inspector mailing list at  where changes will be announced. Do not use data from OSM Inspector for anything drastic like automated changes to the OSM database without making really sure that you know what you are doing and the data you get is what you expect!|
The overlays you see in the OSM Inspector are generated from a WMS server.
You can get a list of available views available via WMS from here:
This will return a list of views available e.g.
addresses boundaries geometry ...
Note that the available layers might be different from what you see in the web user interface, because the web site sometimes adds several internal layers to one visible external layer to make things easier for users. This is most often used to show one layer on higher zoom levels with more details and one layer on smaller zoom level that only show some colored dots for the areas where information is available.
You can access the WMS server in any GIS client using a WMS URL of the form:
For NAME_OF_VIEW use one of the names of a view like this:
As usual you send a GetCapabilities request to find out which layers within a view are available and how to call them, by requesting a description of the service as an XML file e.g. for the address view:
WMS access in JOSM
JOSM can also access OSMI WMS servers. JOSM doesn't have a full WMS implementation, so the use is a bit more complicated.
Go to the preference of for WMS and TMS, and "add a new WMS entry by entering the URL".
1. Enter service URL: use the following URL to get the list of OSM Inspector layers of a view:
Replace the NAME_OF_VIEW with a name of the view. In March 2014, the name must be amongst:
For example, the geometry view:
Press "Get layers".
2. Select layers: choose one or several layers.
3. Select image format: in order to receive transparent layer, you should choose image/png.
The layer should now be available in the imagery menu.
Example of generated URL:
WMS access in Merkaartor
You can add WMS servers with Tools → WMS Servers Editor. Enter a name and the URL (replacing NAME_OF_VIEW with your desired view)
Press the button Get Capabilities and wait a few moments. The list below the button should be filled with the available layers. Select one ore more layers you want to use and press Add. Afterwards you can add a new background layer by selecting Layers → Add new image layer. Right click on the added layer in the layer dock and select WMS adapter → The entry you created.
With WMS you can get fully rendered maps, with WFS you can get to the raw data. All the data that you see in the OSM Inspector can be accessed through WFS requests.
The WFS URL is the same as the WMS URL:
Say you want all the buildings with addresses in Karlsruhe. You can then use the following URL:
This will get you the contents of the buildings_with_addresses layer in the addresses view in the GML format.
Or perhaps you want all the single nodes in a way that need fixing near central Adelaide, you might use the following URL:
Make sure you always use a BBOX on your WFS request, otherwise you'll get all the data in the layer and the download can take a long time!
The WFS server (www.mapserver.org) understands version 1.0.0 and 1.1.0. Coordinates must be given in EPSG:4326 (longitude/latitude). The bounding box is the lower corner followed by the upper corner so the latitudes decrease in the southern hemisphere.