OruxMaps

Uncategorized Boards => MAPAS/MAPS => Topic started by: jgs on June 22, 2014, 02:44:23 PM

Title: Problem with creating WMS service
Post by: jgs on June 22, 2014, 02:44:23 PM
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?
Title: Re: Problem with creating WMS service
Post by: orux on June 22, 2014, 04:34:32 PM
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
Title: Re: Problem with creating WMS service
Post by: jgs on June 23, 2014, 03:42:35 PM
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.
Title: Re: Problem with creating WMS service
Post by: orux on June 23, 2014, 08:48:44 PM
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





but this works fine:

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



check if the urls have changed.





orux
Title: Re: Problem with creating WMS service
Post by: jgs on June 24, 2014, 02:01:07 AM
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.
Title: Re: Problem with creating WMS service
Post by: rydzejak on August 21, 2014, 09:26:07 PM
Quote from: "orux"
but this works fine:

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



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



The list of new services is fantastic long.  

//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



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?

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



What do I do wrong ?

Please help me to connect to geoportal wms.



rgds

Jakub

(oruxmaps ver. 5.5.22)
Title: Re: Problem with creating WMS service
Post by: rydzejak on August 27, 2014, 08:14:52 PM
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



solved in beta 5.5.23-14. Thanks