|
visicom.ua | rf-planning | sets of geodata and gis solutions | gps-navigation | maps for polygraphy |
Map | About company | Project | Documentation (API) |
|
Visicom XML APIGeneral provisionsVisicom XML API — simple protocol of interaction with Visicom platform which uses XML to encode its calls and HTTP as a transport mechanism. Interaction with Visicom server occurs in synchronous manner. XML API client works by sending a valid XML document with POST request to Visicom server. In response client received the XML document that contains semantic and spatial data. In server response spatial data represents in text form or in raster Base-64 encoding. For get authentication key (AUTHORITYKEY) you should send a letter to our email with the following information:
Interaction scheme
Example: MBR definition of group of objectsRequest
POST / HTTP/1.1 User-Agent: Java/1.6.0_06 Host: maps.visicom.ua/xmlapi/1.0.2 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-type: application/x-www-form-urlencoded Content-Length: 325 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <request> <authority key="AUTHORITYKEY"/> <method name="getMBR"/> <parameters> <database>World_ru</database> <objects> <id>4151257218867881</id> </objects> <points> <point lat="50.4552" lng="30.5114"/> </points> </parameters> </request> Response
HTTP/1.1 200 OK Server: Visicom-RequestServer/1.0 Date: 18 Jan 2009 16:42:21 GMT Content-Type: text/xml; charset=utf-8 Content-Length: 153 Pragma: no-cache <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <response> <rectangle max_lat="50.45520014" max_lng="30.51139989" min_lat="50.45520014" min_lng="30.51139989"/> </response> |
Tel./Fax: +380 44 201-00-26 E-mail: web-maps@visi.com.ua Address: 01025, Ukraine, Kiev, B. Zhytomirskaya Str., 25/2 |
© 2006 2011, Visicom. All rights reserved. |