Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#16713 closed defect (othersoftware)

Reprojection doesn't really work for punktyadresowe.pl WMS (Invalid SRS error)

Reported by: RicoElectrico Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: template_report wms poland Cc: wiktorn

Description

What steps will reproduce the problem?

  1. Use Mercator projection
  2. Try to load any layer of this WMS: wms_endpoint:http://www.punktyadresowe.pl/cgi-bin/wms-impa

What is the expected result?

Layer loads with reprojection to Mercator

What happens instead?

I get an error: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.

Please provide any additional information below. Attach a screenshot if possible.

The layer works just fine if you switch to EPSG:2180

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-08-22 19:44:25 +0200 (Wed, 22 Aug 2018)
Build-Date:2018-08-22 17:46:33
Revision:14178
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14178 pl) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1803 (17134)
Memory Usage: 364 MB / 989 MB (135 MB allocated, but free)
Java version: 1.8.0_171-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 2560x1440
Maximum Screen Size: 2560x1440

Plugins:
+ FastDraw (34510)
+ HouseNumberTaggingTool (34517)
+ OpeningHoursEditor (34535)
+ PicLayer (34544)
+ SimplifyArea (34586)
+ apache-commons (34506)
+ buildings_tools (34572)
+ geojson (87)
+ photo_geotagging (34576)
+ reverter (34552)
+ tag2link (34559)
+ terracer (34584)
+ todo (30305)
+ turnrestrictions (34576)
+ undelete (34568)
+ utilsplugin2 (34506)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1

Last errors/warnings:
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
- E: msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.

Attachments (0)

Change History (4)

comment:1 by Don-vip, 6 years ago

Cc: wiktorn added
Keywords: wms poland added

GetCapabilities URL: http://www.punktyadresowe.pl/cgi-bin/wms-impa?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetCapabilities

Capabilities:

<WMT_MS_Capabilities version="1.1.1">
    <Service>
        <Name>OGC:WMS</Name>
        <Title>Internetowy Manager Punktów Adresowych</Title>
        <Abstract>Usługa sieciowa WMS publikująca dane urzędowej ewidencji miejscowości ulic i adresów pochodzących bezpośrednio z gmin źródłowych, które korzystają z aplikacji Internetowy Manager Punktów Adresowych</Abstract>
        <KeywordList>
            <Keyword>WMS</Keyword>
            <Keyword>GEO-SYSTEM</Keyword>
            <Keyword>impa</Keyword>
            <Keyword>ulice</Keyword>
            <Keyword>adresy</Keyword>
            <Keyword>punkty adresowe</Keyword>
        </KeywordList>
        <OnlineResource xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?" xlink:type="simple"/>
        <ContactInformation>
            <ContactPersonPrimary>
                <ContactPerson>Dział iMPA</ContactPerson>
                <ContactOrganization>Geo-System</ContactOrganization>
            </ContactPersonPrimary>
            <ContactAddress>
                <AddressType>postal</AddressType>
                <Address>Kubickiego 9/5</Address>
                <City>Warszawa</City>
                <StateOrProvince>mazowieckie</StateOrProvince>
                <PostCode>02-954</PostCode>
                <Country>Poland</Country>
            </ContactAddress>
            <ContactVoiceTelephone>+48228473580</ContactVoiceTelephone>
            <ContactElectronicMailAddress>geo-system@geo-system.com.pl</ContactElectronicMailAddress>
        </ContactInformation>
        <Fees>NONE</Fees>
        <AccessConstraints>NONE</AccessConstraints>
    </Service>
    <Capability>
        <Request>
            <GetCapabilities>
                <Format>text/xml</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?" xlink:type="simple"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetCapabilities>
            <GetMap>
                <Format>image/png</Format>
                <Format>image/gif</Format>
                <Format>image/png; mode=24bit</Format>
                <Format>image/jpeg</Format>
                <Format>image/vnd.wap.wbmp</Format>
                <Format>image/tiff</Format>
                <Format>image/svg+xml</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?" xlink:type="simple"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetMap>
            <GetFeatureInfo>
                <Format>text/plain</Format>
                <Format>text/html</Format>
                <Format>application/vnd.ogc.gml</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?" xlink:type="simple"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetFeatureInfo>
            <DescribeLayer>
                <Format>text/xml</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?" xlink:type="simple"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </DescribeLayer>
            <GetLegendGraphic>
                <Format>image/png</Format>
                <Format>image/gif</Format>
                <Format>image/png; mode=24bit</Format>
                <Format>image/jpeg</Format>
                <Format>image/vnd.wap.wbmp</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?" xlink:type="simple"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetLegendGraphic>
            <GetStyles>
                <Format>text/xml</Format>
                <DCPType>
                    <HTTP>
                        <Get>
                            <OnlineResource xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?" xlink:type="simple"/>
                        </Get>
                    </HTTP>
                </DCPType>
            </GetStyles>
        </Request>
        <Exception>
            <Format>application/vnd.ogc.se_xml</Format>
            <Format>application/vnd.ogc.se_inimage</Format>
            <Format>application/vnd.ogc.se_blank</Format>
        </Exception>
        <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0"/>
        <Layer>
            <Name>geo-system-impa</Name>
            <Title>Internetowy Manager Punktow Adresowych</Title>
            <Abstract>Internetowy Manager Punktow Adresowych</Abstract>
            <KeywordList>
                <Keyword>WMS</Keyword>
                <Keyword>GEO-SYSTEM</Keyword>
                <Keyword>iMPA</Keyword>
                <Keyword>adresy</Keyword>
                <Keyword>ulice</Keyword>
                <Keyword>punkty adresowe</Keyword>
                <Keyword>EMUiA</Keyword>
            </KeywordList>
            <SRS>EPSG:2176</SRS>
            <SRS>EPSG:2177</SRS>
            <SRS>EPSG:2178</SRS>
            <SRS>EPSG:2179</SRS>
            <SRS>EPSG:2180</SRS>
            <SRS>EPSG:4326</SRS>
            <SRS>EPSG:3857</SRS>
            <SRS>EPSG:900913</SRS>
            <SRS>EPSG:75000</SRS>
            <LatLonBoundingBox minx="13.8978" miny="48.9605" maxx="24.6213" maxy="54.8379"/>
            <BoundingBox SRS="EPSG:2180" minx="171678" miny="133230" maxx="861895" maxy="774929"/>
            <Attribution>
                <Title>Serwer WMS</Title>
                <LogoURL width="20" height="20">
                    <Format>image/png</Format>
                    <OnlineResource xlink:type="simple" xlink:href="http://punktyadresowe.pl/images/poczta.png"/>
                </LogoURL>
            </Attribution>
            <Layer queryable="1" opaque="0" cascaded="0">
                <Name>impa-adresy</Name>
                <Title>iMPA Punkty adresowe</Title>
                <Abstract>Punkty adresowe z serwisu iMPA</Abstract>
                <SRS>EPSG:2176</SRS>
                <SRS>EPSG:2177</SRS>
                <SRS>EPSG:2178</SRS>
                <SRS>EPSG:2179</SRS>
                <SRS>EPSG:2180</SRS>
                <SRS>EPSG:4326</SRS>
                <SRS>EPSG:3857</SRS>
                <SRS>EPSG:900913</SRS>
                <SRS>EPSG:75000</SRS>
                <LatLonBoundingBox minx="13.8978" miny="48.9605" maxx="24.6213" maxy="54.8379"/>
                <BoundingBox SRS="EPSG:2180" minx="171678" miny="133230" maxx="861895" maxy="774929"/>
                <Attribution>
                    <LogoURL width="20" height="20">
                        <Format>image/png</Format>
                        <OnlineResource xlink:type="simple" xlink:href="http://punktyadresowe.pl/images/adresy.png"/>
                    </LogoURL>
                </Attribution>
                <Style>
                    <Name>default</Name>
                    <Title>default</Title>
                    <LegendURL width="110" height="41">
                        <Format>image/png</Format>
                        <OnlineResource xlink:type="simple" xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=impa-adresy-marki&format=image/png&STYLE=default"/>
                    </LegendURL>
                </Style>
                <ScaleHint min="0" max="2.49451424214819"/>
            </Layer>
            <Layer queryable="1" opaque="0" cascaded="0">
                <Name>impa-ulice</Name>
                <Title>iMPA Ulice</Title>
                <Abstract>Ulice z serwisu iMPA</Abstract>
                <SRS>EPSG:2176</SRS>
                <SRS>EPSG:2177</SRS>
                <SRS>EPSG:2178</SRS>
                <SRS>EPSG:2179</SRS>
                <SRS>EPSG:2180</SRS>
                <SRS>EPSG:4326</SRS>
                <SRS>EPSG:3857</SRS>
                <SRS>EPSG:900913</SRS>
                <SRS>EPSG:75000</SRS>
                <LatLonBoundingBox minx="13.8978" miny="48.9605" maxx="24.6213" maxy="54.8379"/>
                <BoundingBox SRS="EPSG:2180" minx="171678" miny="133230" maxx="861895" maxy="774929"/>
                <Attribution>
                    <LogoURL width="20" height="20">
                        <Format>image/png</Format>
                        <OnlineResource xlink:type="simple" xlink:href="http://punktyadresowe.pl/images/ulice.png"/>
                    </LogoURL>
                </Attribution>
                <Style>
                    <Name>default</Name>
                    <Title>default</Title>
                    <LegendURL width="152" height="95">
                        <Format>image/png</Format>
                        <OnlineResource xlink:type="simple" xlink:href="http://www.punktyadresowe.pl/cgi-bin/wms-impa?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=impa-ulice-marki&format=image/png&STYLE=default"/>
                    </LegendURL>
                </Style>
                <ScaleHint min="0" max="49.8902848429637"/>
            </Layer>
        </Layer>
    </Capability>
</WMT_MS_Capabilities>

JOSM WMS URL:

wms:http://www.punktyadresowe.pl/cgi-bin/wms-impa?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=impa-adresy&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}

JOSM request:

GET http://www.punktyadresowe.pl/cgi-bin/wms-impa?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=impa-adresy&STYLES=&SRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=2222558.5147358,6456712.7999642,2222634.9517608,6456789.2369892

which results in:

<ServiceExceptionReport version="1.1.1"><ServiceException code="InvalidSRS">
msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.
</ServiceException></ServiceExceptionReport>

Seems like a bug on server configuration? Can anyone contact them?

comment:2 by wiktorn, 6 years ago

Sent a mail. I will update this ticket once I get response.

comment:3 by wiktorn, 6 years ago

Resolution: fixed
Status: newclosed

Looks like it service now properly responds to queries using 3857.

Also - they recommend to switch to http://wms.epodgik.pl/cgi-bin/KrajowaIntegracjaPunktowAdresowych which contains all integrated data from Poland.

comment:4 by Don-vip, 6 years ago

Resolution: fixedothersoftware

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.