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

Generate a WMS URL on AWS EC2 URL

0

I have built my tile server on AWS EC2 instance(using this as reference) and want to use this map on AWS EC2 instance as a base map in QGIS(click 'layer' > 'add layer' > 'Add WMS/WMTS layer' to add map). When I try to add my EC2 instance url as a WMS URL on QGIS, I get an error saying

The server you are trying to connect to does not seem to be a WMS server. Please check the URL.

Do I need to convert my AWS url to a WMS URL? Are there any tutorial on how to do this?

asked 15 Mar '19, 20:30

vishy91's gravatar image

vishy91
666611
accept rate: 0%

1

Sounds like you did set up a TMS, not a WMS. So try using it as a TMS instead.

(18 Mar '19, 15:16) scai ♦

@Scai yes. but I'm not able to add the TMS url to QGIS

(18 Mar '19, 15:46) vishy91
1

Does the URL work in your browser?

(18 Mar '19, 15:51) scai ♦

@Scai - yes. the URL works in my browser and I can see the map with zoom levels from 0-18. I have this configured using Leaflet for front end.

(18 Mar '19, 16:01) vishy91

One Answer:

1

WMS and WTMS servers are far more complicated services than a regular google/OSM format tile server.

To add a "normal" tileserver one to QGis see the article here https://www.spatialbias.com/2018/02/qgis-3.0-xyz-tile-layers/ (for whatever reason the settings for this are rather well hidden).

answered 20 Mar '19, 08:00

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .