I am trying to make a WMS connection to the USGS Imagery server, and I have no idea what I am doing wrong. My WMSX file seems to connect to SOMETHING, but there are no images to be seen, no layers that mean anything. Can someone help me? Or share their WMSX file, if you have one that works?
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <BentleyWMSFile> <VERSION>1.3</VERSION> <URL>https://basemap.nationalmap.gov:443/arcgis/services/USGSImageryOnly/MapServer/WmsServer?</URL> <REQUEST> <VERSION>1.3.0</VERSION> <SRS>EPSG:4326</SRS> <LAYERS>0</LAYERS> <STYLES /> <FORMAT>image/png</FORMAT> <TRANSPARENT>true</TRANSPARENT> </REQUEST> <MAPEXTENT> <BBOX>-89,-90,89,90</BBOX> </MAPEXTENT> <LayerList> <LAYER TITLE="Layers" NAME="0" /> </LayerList> <SERVICE> <MAXWIDTH>4096</MAXWIDTH> <MAXHEIGHT>4096</MAXHEIGHT> </SERVICE> <CapabilitiesRequest> <URL>https://basemap.nationalmap.gov/arcgis/services/USGSImageryOnly/MapServer/WmsServer</URL> </CapabilitiesRequest> <EditorData> <RangeMethod>Calculated</RangeMethod> <LayerRange>Intersection</LayerRange> <UseModelCoordSysUsefulRange>True</UseModelCoordSysUsefulRange> <UseMapCoordSysUsefulRange>True</UseMapCoordSysUsefulRange> <ExplicitSRS>False</ExplicitSRS> </EditorData> </BentleyWMSFile>
I am using PowerGeopak SS10, and I have PowerInroads available as well. But I believe this should be a plain MicroStation function, so I'm posting here. Thank you.
Replying so you can see my signature
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Version 1.3.0 is still not supported with such slow bug fixing maybe in year 2030 we could expect it to work. I no longer promote our users WMS or WMTS capabilities in Microstation as it mostly doesn't work than does.
Also do not create xWMS in CONNECT it almost impossible to create 1.1.1. version connection. Create it on v8i SS10 and then reuse.
I tried to see if I could get it working last night but I had no success. Its an aspect of MicroStation I never really touch and I couldn't see anything on the USGS website that explained what you would need to do.
This is correct request but didn't work for me either maybe is geoblocked outside US - basemap.nationalmap.gov/.../WmsServer
I wouldn't be surprised if that was the case
It downloads response XML but for some reason shows error in Microstation v8i and in CONNECT returns version 1.3.0 even that asked for 1.1.1.
The underlying connection was closed: An unexpected error occurred on a send.
Somehow managed to create xWMS files for 1.1.1 version so try it out. Workaround is to upload WMSserver response to some static web page so it can be retrieved by Microstation. Actually it would be much easier if we had just a XML stylesheet to create xWMS from WMS GetCapablities response without using Microstation half-baked WMS editor.
Attached:USGS-epsg3857&4326.zip