_setUserPointPoly

(API version 2.0)

int _setUserPointPoly ( string kodf , string username , string pass , int IdPoint , string StrPos [ , string[] InsideStrPos ] )

Description

The function sets the coordinates of a polygon that defines a own place or an soil complex

Categories

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
int IdPoint
string StrPos
Coordinates of the polygon in the format:
x1;y1#x2;y2#x3,y3#x4;y4
The divisive sign of each point is #, The divisive sign of latitude and longitude is ;
x1 - latitude, y1 - longitude
For example 50.1234;17.4478#50.1333;17.4479 ...
string[] InsideStrPos
Inside polygons (holes)

Coordinates of the polygon in the format:
x1;y1#x2;y2#x3,y3#x4;y4
The divisive sign of each point is #, The divisive sign of latitude and longitude is ;
x1 - latitude, y1 - longitude
For example 50.1234;17.4478#50.1333;17.4479 ...

Return value

int

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_setUserPointPoly($kodf, $username, $pass, $IdPoint, $StrPos, $InsideStrPos);

Test

To test the function, enter parameters in form below and press Try it out button.

Company login code
Login username
Login password
Coordinates of the polygon in the format:
x1;y1#x2;y2#x3,y3#x4;y4
The divisive sign of each point is #, The divisive sign of latitude and longitude is ;
x1 - latitude, y1 - longitude
For example 50.1234;17.4478#50.1333;17.4479 ...
string[] InsideStrPos
Inside polygons (holes)

Coordinates of the polygon in the format:
x1;y1#x2;y2#x3,y3#x4;y4
The divisive sign of each point is #, The divisive sign of latitude and longitude is ;
x1 - latitude, y1 - longitude
For example 50.1234;17.4478#50.1333;17.4479 ...

* Required field