Setup of geoportals file wmslist_ru.xml

Print Previous page Top page Next page

This file (the main one) is located together with the installed application (for all users) and is additionally copied for each user into the folder c:\Users\User_name\AppData\Roaming\Panorama\Panorama15\wmslist_ru.xml (additional). When you change the main file, the files of other users also change.

To add a new geoportal, just add it into the list. To do this, you need:

-         Select the geoportal address, for example, http://www.ign.gob.gt/geoserver/cartografia_basica/wms

-         In the browser, submit a request by adding ?service=wms&request=getcapabilities to the request string

-         http://www.ign.gob.gt/geoserver/cartografia_basica/wms?service=wms&request=getcapabilities

Open the settings file wmslist_ru.xml. Add a new node.

 

<Topic Link="wmslist\rosreestr.bmp" Name="Мой узел">                        

                      <Layer Name="Мой геопортал" UnicId="MY_UNIQID">

                              <ConnectedSting>                                       <URL><![CDATA[http://www.ign.gob.gt/geoserver/cartografia_basica/wms]]></URL>

                                      <ID Number="1" Value="ALTimetria"/>

                                      <Name Number="1" Value="Hipsometrico"/>

                                      <ID Number="2" Value="Cabeceras Departamentales"/>

                                      <Name Number="2" Value="Cabeceras Departamentales"/>                                        

                                      <Projection CRS="EPSG:3857"/>

                              </ConnectedSting>

                              <PortalStadndart>WMS</PortalStadndart>

                              <Transparent>0xffffffff</Transparent>

                              <ShowScale>1000000</ShowScale>

                              <Point X="55.94448244" Y="38.21196422"/>

                      </Layer>

</Topic>

 

For Topic Link, specify the image, if there is one.

For Topic Name, specify the displayed name of the folder in the list.

For Layer Name, specify the displayed name.

For Layer UnicId, give a unique identifier that is not repeated in the file.

For URL, specify the connection address.

Specify one or more connected layers. For ID, specify the layer identifiers (Name field in the file) and their Name names (Title field in the file), based on the received xml file for the getcapabilities request.

For Projection, specify the code of the projection in which the geoportal opens by default.

For PortalStadndart, specify the data request standard, in our case WMS.

Specify the transparency color if necessary.

Specify the display scale to ShowScale when first opened.

Specify the center point of the screen when opening in degrees on WGS84.

Save changes in the settings file.

 

IP – URL address of the connection string to the geoportal.

ID1 – layer identifier on the geoportal (must be unique), can be set manually.

Name1 – name of the layer on the geoportal, can be set manually.

Projection or Matrix – geoportal projection code or matrix type.

ApiKey – access key to the geoportal.

Autent – user authorization parameters on the geoportal (Basic username: password in BASE64 encoding).

 

Geoportals data type:

WMS# – picture.

WMTS# – tiles.

 

Additional parameter Type

UTMS – the data format uses its own non-standard algorithm when receiving data.

NOCAP – when connecting to the geoportal, the GetCapabilities request is ignored.

TMS – when requesting GetCapabilities, data is returned according to TMS connection standard.

TMSGEO - the size of pictures in the geoportal cannot exceed 256 by 256 pixels and data is requested according to the WMS standard.

A direct link to the geoportal can only be obtained from the site where the geoportal is published. To do this, you need to press f12 in the Chrome browser and copy the link with the changes, replace the tile numbers with the corresponding variables.