TrackingGetVector (ZWS)

Возвращает векторные данные слоя трекинга.

Схема запроса:

<xs:element name="zulu-server">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="Command">
                <xs:complexType>
                    <xs:choice>
                        <xs:element name="TrackingGetVector" type="typeTrackingGetVector"/>
                    </xs:choice>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>

<xs:complexType name="typeTrackingGetVector">
    <xs:all>
        <xs:element name="Layer" type="typeLayer"/>
        <xs:element name="Filter">
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="Time">
                        <xs:complexType>
                            <xs:attribute name="begin" type="xs:string" />
                            <xs:attribute name="end" type="xs:string" />
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:all>
</xs:complexType>

        

Схема ответа:

        

Пример запроса:

<?xml version="1.0" encoding="UTF-8"?>
<zulu-server service="zws" version="1.0.0">
  <Command>
    <TrackingGetVector>
      <Layer>People</Layer>
      <Filter>
        <Time begin="2020-02-19" end="2020-02-19"/>
      </Filter>
    </TrackingGetVector>
  </Command>
</zulu-server>
        

Пример ответа:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"
    xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">

    <Document>
        <Placemark id="555970541">
            <name>Ivanov S.V.</name>
            <Point>
                <coordinates> 30.3456062000000,59.9140058000000 </coordinates>
            </Point>
        </Placemark>
        <Placemark>
            <name>555970541</name>
            <Style>
                <LineStyle>
                    <color>ff000000</color>
                    <width>1</width>
                </LineStyle>
            </Style>
            <MultiGeometry>
                <LineString>
                    <coordinates> 30.3456169000000,59.9140113000000
                        30.3456089000000,59.9140082000000 30.3456070000000,59.9140052000000
                        30.3456246000000,59.9140118000000 30.3456258000000,59.9140056000000
                        30.3456160000000,59.9140046000000 30.3456246000000,59.9140124000000
                        30.3456109000000,59.9140057000000 30.3456011000000,59.9140139000000
                        30.3456004000000,59.9140168000000 30.3456032000000,59.9140173000000
                        30.3456022000000,59.9140271000000 30.3456111000000,59.9140305000000
                        30.3456022000000,59.9140197000000 30.3455998000000,59.9140159000000
                        30.3456041000000,59.9140092000000 30.3456058000000,59.9140050000000
                        30.3456080000000,59.9140065000000 30.3456085000000,59.9140112000000
                        30.3456101000000,59.9140145000000 30.3456040000000,59.9140069000000
                        30.3456049000000,59.9140053000000 30.3456070000000,59.9140054000000
                        30.3456072000000,59.9140157000000 30.3456064000000,59.9140199000000
                        30.3456045000000,59.9140088000000 30.3456116000000,59.9140073000000
                        30.3456059000000,59.9140028000000 30.3456054000000,59.9140320000000
                        30.3456107000000,59.9140473000000 30.3456176000000,59.9140495000000
                        30.3456073000000,59.9140278000000 30.3455993000000,59.9140264000000
                        30.3456041000000,59.9140106000000 30.3456080000000,59.9140055000000
                        30.3456082000000,59.9140061000000 30.3456071000000,59.9140064000000
                    </coordinates>
                </LineString>
                <LineString>
                    <coordinates> 30.3455862000000,59.9140040000000
                        30.3456029000000,59.9140262000000 30.3456022000000,59.9140239000000
                        30.3455988000000,59.9140242000000 30.3456049000000,59.9140164000000
                        30.3456047000000,59.9140079000000 30.3456035000000,59.9140250000000
                        30.3456021000000,59.9140228000000 30.3455890000000,59.9140260000000
                        30.3455788000000,59.9140148000000 30.3455978000000,59.9140164000000
                        30.3456052000000,59.9140067000000 30.3456091000000,59.9140156000000
                        30.3456074000000,59.9140102000000 30.3456044000000,59.9140345000000
                        30.3456086000000,59.9140347000000 30.3455989000000,59.9140216000000
                        30.3456003000000,59.9140166000000 30.3456010000000,59.9140148000000
                        30.3456048000000,59.9140061000000 </coordinates>
                </LineString>
            </MultiGeometry>
        </Placemark>
    </Document>
</kml>