[MSCE U17] Cannot connect to WMS

I'm trying to connect to the national landsurvey WMS here in sweden but get the following error:

The error translate to "The process cannot access the file ... since it's used by another process"

The WMS is password protected and I've entered the login in the dialog that pops up.

I've attached the tmp files created. tmp2B58 is the fist one created and the one that is reported by the dialog. The otherone is created after a while and look much better.

I've trie the same url in QGIS and it works just fine.

/Krister

tmp2B58.txttmp2944.txt

  • This may not be it, but can MicroStation handle WMS 1.3?

    Both this thread and this thread mention problems with WMS 1.3. They are over a year old, but it's possible that nothing has changed since.

    MaryB

    Power GeoPak 08.11.09.918
    Power InRoads 08.11.09.918
    OpenRoads Designer 2021 R2

        

  • Maybe that's the problem.

    I managed to get it kind of working by editing an existing xwms file and specifying version 1.1.1. The problem now is that it randomly displays the camera icon when I zoom or pan.

    /Krister

    Owner consultant at Surell Consulting AB

  • Ok, now I've managed to get it working. Thanks Nicklas PERSSON for pointing me in the right direction!

    The xwms-file is attached (minus user/password).

    /Krister

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <BentleyWMSFile>
        <VERSION>1.3</VERSION>
        <URL>https://user:password@maps.lantmateriet.se:443/ortofoto/wms/v1.3?</URL>
        <REQUEST>
            <VERSION>1.1.1</VERSION>
            <SRS>EPSG:3011</SRS>
            <LAYERS>Visningstjänst ortofoto och INSPIRE Orthoimage</LAYERS>
            <STYLES />
            <FORMAT>image/png</FORMAT>
            <TRANSPARENT>true</TRANSPARENT>
        </REQUEST>
        <MAPEXTENT>
            <BBOX>114300,6570900,148500,6593000</BBOX>
        </MAPEXTENT>
        <LayerList>
            <LAYER TITLE="Ortofoto färg 0,16 m upplösning" NAME="Ortofoto_0.16" />
        </LayerList>
        <SERVICE>
            <MAXWIDTH>1024</MAXWIDTH>
            <MAXHEIGHT>1024</MAXHEIGHT>
        </SERVICE>
        <CapabilitiesRequest>
            <URL>https://user:password@maps.lantmateriet.se:443/ortofoto/wms/v1.3?</URL>
        </CapabilitiesRequest>
        <EditorData>
            <RangeMethod>Calculated</RangeMethod>
            <LayerRange>Intersection</LayerRange>
            <UseModelCoordSysUsefulRange>True</UseModelCoordSysUsefulRange>
            <UseMapCoordSysUsefulRange>True</UseMapCoordSysUsefulRange>
            <ExplicitSRS>False</ExplicitSRS>
        </EditorData>
    </BentleyWMSFile>

    Owner consultant at Surell Consulting AB

  • No longer possible to create new xWMS connection in CONNECT. Need to use v8i to create a xWMS for using in CONNECT. CE dialog defaults to WMS 1.3 version and fails when trying to change it. WMS support is badly implemented in Microstation.

  • Could you explain what was wrong? The WMS in U17.2 stopped working correctly for me when using previous xwms which worked in v8i.