# How to connect Maps to a WMS server

**URL:** <https://discuss.elastic.co/t/how-to-connect-maps-to-a-wms-server/184509>\
**Category:** Kibana\
**Created:** [June 6, 2019, 7:22am UTC](https://discuss.elastic.co/t/how-to-connect-maps-to-a-wms-server/184509 "2019-06-06T07:22:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [June 6, 2019, 7:22am UTC](https://discuss.elastic.co/t/how-to-connect-maps-to-a-wms-server/184509/1 "2019-06-06T07:22:15Z")

</div>

Hi,

I was wondering if anyone had any success in getting the Maps app to show data from a WMS server. I looked at the Docs but the WMS part is empty.

[https://www.elastic.co/guide/en/kibana/current/tile-layer.html](https://www.elastic.co/guide/en/kibana/current/tile-layer.html)

I did follow this guide and managed to get the NWS data to show up (cool!)

> **[Custom basemaps for region and coordinate maps in Kibana](https://www.elastic.co/blog/custom-basemaps-for-region-and-coordinate-maps-in-kibana)**
>
> Did you know you can configure Kibana to use a custom basemap for all your region maps and coordinate maps? Let's talk about a few options for doing so.

However when I set up a basic Geoserver with a shapefile as the base for my layer it doesn't show up. No doubt I'm doing something wrong, haven't used Geoserver much before. I couldn't really find any resources online so I'm hoping somebody did this before and maybe can share a bit more about how to get this done.

Alternatively I tried using geo\_shapes which are great, easy to use and do exactly what I need but the downside is those geo\_shape layers are affected by filters.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [June 6, 2019, 10:00pm UTC](https://discuss.elastic.co/t/how-to-connect-maps-to-a-wms-server/184509/2 "2019-06-06T22:00:40Z")

</div>

Thanks for your interest in the Maps app! Configuring WMS to work with the Maps app can be a little tricky. We are working on making WMS easier to use in a future release.

For example, let's take a look at the [GetCapabilities from the NOAA Weather Radar](https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/radar_base_reflectivity/MapServer/WMSServer?request=GetCapabilities&service=WMS).

- Enter the URL excluding the query parameters (i.e. `https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/radar_base_reflectivity/MapServer/WMSServer`)
- Find the layer(s) you want to display from the GetCapabilities document and enter the appropriate `<Name>` parameter into "Layers" text box. For the NOAA Radar we want to display the layer with the title "Image", so this we enter `1` in the "Layers" box.
- The layer you want to use must be available in the Web Mercator coordinate system so the layer should have `<CRS>EPSG:3857</CRS>` in the GetCapabilities document.
- It is not usually necessary to enter a "Style", but you can choose to enter one from the selected layer(s). There is only one style available for the NOAA radar "Image" layer we chose called "default".

Hope that helps. Feel free to reply if you need more assistance.

---

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [June 7, 2019, 12:59am UTC](https://discuss.elastic.co/t/how-to-connect-maps-to-a-wms-server/184509/3 "2019-06-07T00:59:59Z")

</div>

Thanks for the reply.

I already had the NOAA link working in both coordinate map viz and Maps. I also got a default Geoserver map working in the coordinate map viz but for some reason I can't get it to show up in Maps.

Coordinate map viz

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/5/55bda90e7d835840dc91b4c5cbf4a73ed8cf4f58.png)

Maps app

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/c/0ce4422bbaeee0a1491a21341346c53c3cc2654f.png)

URL: `http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp%3Astates&bbox=-124.73142200000001%2C24.955967%2C-66.969849%2C49.371735&width=768&height=330&srs=EPSG%3A4326&format=image%2Fpng`

I know in the URL it doesn't show EPSG:3857 but under Edit layer =\> Tile caching it shows

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/6/16e573950c797a62032a3ae2b536cff11dba4dd5.png)  
My understanding is that 900913 and 3857 are actually the same. For some reason I can't get 3857 to display in the Gridset but on some other test maps it does actually show 3857 in the url when the gridset show 900913 so I suppose they are the same and Geoserver just show the old value for some reason.

I also got my custom layer to show in the coordinate map but again it does not show in Maps. The NOAA link shows in both.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [June 7, 2019, 11:43pm UTC](https://discuss.elastic.co/t/how-to-connect-maps-to-a-wms-server/184509/4 "2019-06-07T23:43:48Z")

</div>

Since you've opened an issue in the Kibana repository I assume you believe this is a bug so we should continue the conversation there instead. [https://github.com/elastic/kibana/issues/38362](https://github.com/elastic/kibana/issues/38362)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2019, 11:43pm UTC](https://discuss.elastic.co/t/how-to-connect-maps-to-a-wms-server/184509/5 "2019-07-05T23:43:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
