Problem with creating WMS service

Started by jgs, June 22, 2014, 02:44:23 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

jgs

I have two tablets. On old one, many mounts ago, I have created few WMS services:

geoportal.dgu.hr/ows?SERVICE=WMS&

sdi.geportal.gov.pl/WMS_ORTO/service.svc/get?

sdi.geportal.gov.pl/WMS_TOPO/service.svc/get?

And now I can't create this same services on my new tablet.

Button CREATE is not active and pressing button OK (near http address) info appears:

error while reading function wms (translate from polish language).

I can't recreate my defined and working WMS services on my old tablet.

Any idea?

orux

#1
Quote from: "jgs"I have two tablets. On old one, many mounts ago, I have created few WMS services:

geoportal.dgu.hr/ows?SERVICE=WMS&

sdi.geportal.gov.pl/WMS_ORTO/service.svc/get?

sdi.geportal.gov.pl/WMS_TOPO/service.svc/get?

And now I can't create this same services on my new tablet.

Button CREATE is not active and pressing button OK (near http address) info appears:

error while reading function wms (translate from polish language).

I can't recreate my defined and working WMS services on my old tablet.

Any idea?




Hi,





there servers don't respond.



are you sure that those wms are working in another device?



orux

jgs

#2
On my old tablet all previous defined WMS services work perfect. But now I can't create this same WMS services on old tablet with all parameters as previous and for experiment with other name. In my opinion after update Oruxmaps reorganized bookmarks with maps and may be something was changed with privileges.

orux

#3
Quote from: "jgs"On my old tablet all previous defined WMS services work perfect. But now I can't create this same WMS services on old tablet with all parameters as previous and for experiment with other name. In my opinion after update Oruxmaps reorganized bookmarks with maps and may be something was changed with privileges.




sorry, but not even work in the portal: http://maps.geoportal.gov.pl">http://maps.geoportal.gov.pl





but this works fine:

http://sdi.geoportal.gov.pl/wms_topo/wmservice.aspx">http://sdi.geoportal.gov.pl/wms_topo/wmservice.aspx



check if the urls have changed.





orux

jgs

#4
Both addresses are fine :)

Stupid mistake. Now  I understand why Create button was inactive.

I omit second step - choose layers.

Sorry for inconvenience.

Thank you.

rydzejak

#5
Quote from: "orux"
but this works fine:

http://sdi.geoportal.gov.pl/wms_topo/wmservice.aspx">http://sdi.geoportal.gov.pl/wms_topo/wmservice.aspx

check if the urls have changed.

orux


Hi, I have problem with the same WMS portal (geoportal.gov.pl).

The above address doesn't work in OruxMaps, a new one also - though new address seems to work in browser.

http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/mapserver/wmsserver">//http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/mapserver/wmsserver



Here are things I've checked:



1. They changed adresses in july 2014. Old ones don't reply, let's see:

http://sdi.geoportal.gov.pl/wms_topo/wmservice.aspx?SERVICE=WMS&REQUEST=GetCapabilities">//http://sdi.geoportal.gov.pl/wms_topo/wmservice.aspx?SERVICE=WMS&REQUEST=GetCapabilities



The list of new services is fantastic long.  

http://geoportal.gov.pl/uslugi/usluga-przegladania-wms">//http://geoportal.gov.pl/uslugi/usluga-przegladania-wms



2. Lets see one of new services. It answers OK :

http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/mapserver/wmsserver?SERVICE=WMS&REQUEST=GetCapabilities">//http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/mapserver/wmsserver?SERVICE=WMS&REQUEST=GetCapabilities



Seems OK , am I right ?

The problem is how to configure it in ORUXMAPS.

http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/mapserver/wmsserver?">//http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/mapserver/wmsserver?

WMS Creator says "error reading WMS function" (in polish translation: "błąd podczas próby odczytu funkcji WMS" .



3. I tried also configuration in wms_services.xml - no result, images aren't loaded.


<wms_services>
<wms>
<name>GeoPortal TOPO</name>
<uid>1002</uid>
<desc>Mapy topograficzne Polski</desc>
<url><![CDATA[http://mapy.geoportal.gov.pl/wss/service/img/guest/TOPO/MapServer/WMSServer?]]></url>
<minzoomlevel>14</minzoomlevel>
<maxzoomlevel>16</maxzoomlevel>
<version>1.3.0</version>
<layers>Raster</layers>
<coordinatesystem>EPSG:4326</coordinatesystem>
<format>image/png</format>
<cache>1</cache>
</wms>
</wms_services>


4. Service isn't pasword protected - this is declared in Geoportal. I checked this, here is some code returning an example piece of map (a little distorted, but it doesn't matter):

http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/mapServer/WMSServer?SERVICE=WMS&REQUEST=GetMap&version=1.3.0&crs=EPSG:4326&bbox=52.41,20.23,52.43,20.25&width=400&height=400&format=image/png&layers=Raster&styles=default">//http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/mapServer/WMSServer?SERVICE=WMS&REQUEST=GetMap&version=1.3.0&crs=EPSG:4326&bbox=52.41,20.23,52.43,20.25&width=400&height=400&format=image/png&layers=Raster&styles=default



What do I do wrong ?

Please help me to connect to geoportal wms.



rgds

Jakub

(oruxmaps ver. 5.5.22)

rydzejak

#6
topic may be closed.

problem is caused by "user-agent" and is continued in http://www.oruxmaps.com/foro/viewtopic.php?f=5&t=2227">//http://www.oruxmaps.com/foro/viewtopic.php?f=5&t=2227



solved in beta 5.5.23-14. Thanks