WMS as a on-line layer (not as a downloaded)
Hello, I would like to ask if there is any option how to connect WMS service as a on-line layer instead of downloading as a xref with _MAPCONNECT command?
Many thanks for any feedback.
0
Comments
-
You can try using Python, it’s not my area of expertise, but I found this sample using owslib
https://owslib.readthedocs.io/en/latest/notebooks/wms.html
import traceback from pyrx_impx import Ap, Db, Ed, Ge, Gi, Gs, Rx, Ax from owslib.wms import WebMapService def PyRxCmd_doit(): try: svs = "https://ows.terrestris.de/osm/service" wms = WebMapService(svs, version="1.3.0") print(list(wms.contents)) except Exception as err: traceback.print_exception(err)
1 -
Thanks a lot for your feedback! I will try it…
0