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

getPOI

The method means searching infrastructure objects. It maintains spatial inquiries and inquiries by name.

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 made.
<semantic> parameters that are necessary to carry out searching by name.
<layer> name or alias of the level where searching is made.
<name> initial letters of objects names. The searching is made only by initial letters of the word. If there is any, searching will be made among all objects of specified layer.
<nearest> contains geo-primitives and in its buffer zone searching should be made.
<point> the parameter indicates the point from which searching begins. Magnitude of radius attribute (in meters) shows region where searching is made. If there is no radius attribute, the nearest object will be displayed. The results shall be sorted according to the remoteness from the mentioned point.
<rectangle> the frame due to which bounds are set for the result.

Quantity of objects to be found is limited. If found objects meet the requirements of the searching but exceed allowed quantity (approximately 250 objects can be displayed), these objects will not be shown as a result of searching. The radius of buffer zone shall be not more then 25 km.

Examples

Request

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

Response

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>                
<response>                    
    <POI>                
        <name>Мир. Кинотеатр</name>            
        <description>Вышгород. Шевченко ул., 08.10.09 Тел.: (04496)51144</description>        
        <id>8556181133713013</id>            
    </POI>                
    <POI>                
        <name>Киноконцертный зал им. Довженко. Кинотеатр</name>        
        <description>Запорожье. Ленина просп., 145. Тел.: (061)2209396</description>        
        <id>8556181133709977</id>            
    </POI>                
    <POI>                
        <name>Днепроспецсталь. Кинотеатр</name>            
        <description>Запорожье. Шевченко бульв., 01.10.09 Тел.: (0612)345722</description>        
        <id>8556181133710053</id>            
    </POI>                            
</response>                     


Attantion! Do not store ID, they depend on the date of modification database.