Locus Map - forum

Support => Troubles & Questions => Topic started by: Andrew_poland on February 23, 2013, 13:37:29

Title: Problem with one WMS layer
Post by: Andrew_poland on February 23, 2013, 13:37:29
Hello,

I have small problem with add WMS from WMS server.
"http://wloclawek.geoportal2.pl/map/wms/wms.php" after write it into locus pro I get the return that everything is ok and I can choose few layers but if I choose any layer from this server WMS and zoom the area of this layer the program returns me "connection filed".

with server "http://radziejow.geoportal2.pl/map/wms/wms.php" all works fine.

I'm from wloclawek and I used that app to find specify positions form layer "dzialki' and go there directly.
Title: Re: Problem with one WMS layer
Post by: Menion on February 23, 2013, 13:57:45
Hello Andrew,
  are you sure this map works correctly?

If you insert this map into Locus, it try from
wloclawek.geoportal2.pl/map/wms/wms.php?service=wms&request=GetCapabilities
download XML file with description of map. This is done correctly. In this XML is anyway URL to WMS server and in this map, url is
http://SERWER-WMS:83/
which result to URL on map tile like
http://SERWER-WMS:83/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&FORMAT=image/png&STYLES=&LAYERS=dzialki&TRANSPARENT=TRUE&BBOX=16.611328,51.890054,16.655273,51.917168&WIDTH=512&HEIGHT=512
which ends on
java.net.UnknownHostException: Unable to resolve host "SERWER-WMS": No address associated with hostname
So I'm not sure if map definition is OK and if it is, then I currently have no idea how to handle with this map. Any ideas from your side?
Title: Re: Problem with one WMS layer
Post by: Andrew_poland on February 23, 2013, 15:51:35
This WMS layer "wloclawek.geoportal2.pl/map/wms/wms.php" works correctly in two another windows programs (C:geo and Geoxa Viewer). When you write exactly: http://wloclawek.geoportal2.pl/map/wms/wms.php (http://wloclawek.geoportal2.pl/map/wms/wms.php) after that you will see menu to choose with layer you want and after that in that's programs you will see all layers you want. That same situation is with serwer WMS :http://radziejow.geoportal2.pl/map/wms/wms.php and http://lipno.geoportal2.pl/map/wms/wms.php (http://lipno.geoportal2.pl/map/wms/wms.php) and http://rypin.geoportal2.pl/map/wms/wms.php (http://rypin.geoportal2.pl/map/wms/wms.php). a those three serwers works correctly in locus PRO when I choose numer of part terrain the program navigate me to the target but serwer WMS http://wloclawek.geoportal2.pl/map/wms/wms.php (http://wloclawek.geoportal2.pl/map/wms/wms.php) loads in locus pro correctly and show menu all available layer when you choose any layer on the map you will see only "connection failed". So I think that problem is with the program locus pro. My main job is designing power grids and often I have to get to a distant land in an unknown territory on which stands the pole with a transformer. This program allows you to load the layer numbers of parcels and reach them without any problems. Most of my work exactly in the area and just Wloclawek this server have problems. Why do not you try to load the "radziejow.geoportal2.pl/map/wms/wms.php" and then "wloclawek.geoportal2.pl/map/wms/wms.php" and you will see that the problem works for Radziejow and does not work for Wloclawek.
Title: Re: Problem with one WMS layer
Post by: jusc on February 25, 2013, 08:17:02
Quote from: "Andrew_poland"Why do not you try to load the "radziejow.geoportal2.pl/map/wms/wms.php" and then "wloclawek.geoportal2.pl/map/wms/wms.php" and you will see that the problem works for Radziejow and does not work for Wloclawek.

I tried to load both for Danzig: wloclawek = connection failure. radziejow = does not exists. Where/how can I test it. Coordinates? Zoomlevel?
And must you perhaps use for "wloclawek"  a password?