Adding Canvec WMS to Map Plus

Map Plus helps, usage, issues, bug report, downloads...

Adding Canvec WMS to Map Plus

帖子Marsofearth » 2020-01-07 3:59

Hello,

I have been having troubles adding the Canadian Topographical Base layers WMS to Map Plus as an Online Map.
代码: [全选]
https://maps.geogratis.gc.ca/wms/canvec_en?request=getcapabilities&service=wms&version=1.3.0&layers=canvec&legend_format=image/png&feature_info_type=text/html
Text

There are a lot of freely available WMS from Canada and its provinces, and I would really like to add them to Map Plus for SAR (Search and Rescue).
I see Map Plus becoming a very essential tool for SAR.

I have read through http://www.duweis.com/support/viewdoc.h ... map#qrcode
but my QR-Code when imported to Map Plus comes up Invalid.

Any help and guidance would be appreciated,

Thank you,

Mars
头像
Marsofearth
★★
 
帖子: 6
注册: 2017-08-18 5:27

Re: Adding Canvec WMS to Map Plus

帖子Marsofearth » 2020-01-07 17:19

Got it.

Solution:
代码: [全选]
https://maps.geogratis.gc.ca/wms/canvec_en?SERVICE=WMS&REQUEST=GetMap&CRS=EPSG:3857&SRS=EPSG:3857&HEIGHT=256&WIDTH=256&VERSION=1.3.0&BBOX={$bbox_3857}&LAYERS=canvec&STYLES=default&TRANSPARENT=false&FORMAT=image/jpeg
Text


Changed:request=getcapabilities --> REQUEST=GetMap
Removed: legend_format=image/png&feature_info_type=text/html
Added: CRS=EPSG:3857&SRS=EPSG:3857&HEIGHT=256&WIDTH=256&BBOX={$bbox_3857} for WGS 84 / Pseudo-Mercator projection for Map Plus and the 256x256 works best vs 512x512 for more readable labels in Map Plus.

I found these Duwei Documents that helped find the proper syntax for Map Plus to parse:
How to Set URL Patterns For WMS/WMTS Maps --> http://www.duweis.com/support/viewdoc.html?l=en&f=mp&sf=map&k=055_wmsurl
Map Configuration in XML --> http://www.duweis.com/support/viewdoc.html?l=en&f=mp&sf=map&k=051_xml
and tested using Duwei Map Maker tool here --> https://duweis.com/tool/editor/mapsource.html
头像
Marsofearth
★★
 
帖子: 6
注册: 2017-08-18 5:27


回到 Map Plus - Forums

cron