Визиком карты

getAddress

Request according to specified parameters displays objects of administrative layers.

Request's scheme

Move scheme

Parameters

Parameter Description
<authority> contains unique identifier that allows to perform this inquiry.
<database> database name to which inquiry is made.
<filter> package containing set of filters due to which searching is performed.
<semantic> parameters that are necessary to carry out searching by name. If there are a number of similar objects, logical operation will be concluded.
<layer> name or alias of the level where searching is made.
<name> initial letters of objects names. The searching is made only by first letters of the word.
<response> contains set of layers whereof response shall be selected. If there are several responses, the system will try to create response-tree.

Examples

Request

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<request>
    <authority key="AUTHORITYKEY"/>
    <method name="getAddress"/>
    <parameters>
        <database>World_ru</database>
        <filter>
            <semantic>
                <layer type="name">Settlements</layer>
                <name></name>
            </semantic>
        </filter>
        <response>
            <layer type="name">Settlements</layer>
        </response>
    </parameters>
</request> 

Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>            
<response>                
    <settlements>            
        <settlement>            
            <name>Киев</name>        
            <description>Столица</description>        
            <id>8556180790695808</id>        
        </settlement>            
        <settlement>            
            <name>Киевец</name>        
            <description>Воложинский р-н, Минская обл.</description>    
            <id>8556180788728862</id>        
        </settlement>            
        <settlement>            
            <name>Киевец</name>        
            <description>Крупский р-н, Минская обл.</description>    
            <id>8556180788467927</id>        
        </settlement>                        
    </settlements>                
</response>