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

getObjectGeometry

Displays geometry of gotten objects.

Request's scheme

Parameters

Parameter Description
<authority> contains unique identifier that defines access level to the service.
<database> database name to which inquiry is made.
<id> object ID, geometry of which should be returned.

If object is polygonal, the first and last points shall coincide, interstice shall be ignored.

Example

Request

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<request>
    <authority key="AUTHORITYKEY"/>
    <method name="getObjectGeometry"/>
    <parameters>
        <database>World_ru</database>
        <id>8556180821433974</id>
    </parameters>
</request>

Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response>
    <points>
        <point
         lat="50.44553393"
         lng="30.51336990"/>
        <point
         lat="50.44583426"
         lng="30.51349476"/>
        <point
         lat="50.44578792"
         lng="30.51375707"/>
        <point
         lat="50.44568495"
         lng="30.51371575"/>
        <point
         lat="50.44565578"
         lng="30.51388912"/>
        <point
         lat="50.44554194"
         lng="30.51384511"/>
        <point
         lat="50.44555109"
         lng="30.51378492"/>
        <point
         lat="50.44546871"
         lng="30.51374989"/>
        <point
         lat="50.44553393"
         lng="30.51336990"/>
    </points>
</response> 


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