Copyright © Panorama Group 1991 - 2024
One of advantages of the
In KB "Panorama" a series of training materials on creating application tasks for GIS "Panorama" in the Microsoft Visual Studio environment was prepared. Lessons and the project of implementing an application with a complete source code will help understand the basics of working with the functions and methods of the PANAPI and MAPAPI interfaces. Users can familiarize themselves with the work of the application task by downloading and adding the corresponding library to the GIS "Panorama".
The first lesson outlines the general questions of creating a dll-library in the Microsoft Visual Studio environment, with the application code of the GIS "Panorama". Such questions as, the basic events and methods of the application task, creation of a toolbar are considered. From the second lesson you will learn how to create handlers for interactive modes of the application task, that is, those data processing modes that require the user to perform operations on the map, for example, selection by using the mouse of the objects or a certain part of the object. The third lesson describes the implementation of interactive modes that do not require the creation of a handler, for example, those in which interaction with the user occurs through dialog boxes. In the second and third lessons, examples of the use in the application task of various functions of the MAPAPI interface are presented.
On the site of KB "Panorama" there are placed the source texts of developer's toolkit the GIS Constructor for Qt Designer SE for Android OS. The toolkit provides the basic tools for processing spatial data: displaying sets of vector, raster and matrix maps, creation and editing of vector maps, search of objects by the specified set of attributes values, obtaining the information about map objects, processing data from GPS/GLONASS receiver.
The structure of GIS Constructor includes the source code of application the
GIS Panorama Mini for Android OS uses the functions of the MAPAPI programming interface, whose libraries are part of GIS Constructor for Qt Designer. The cross-platform of MAPAPI interface allows the programmer to develop and test the GIS-application in the desktop operating system using the GIS Constructor available for a set of Linux systems. After debugging in desktop system the developer can execute assemblage of the application for Android OS with the minimal changes in the source code of the program. Libraries of access to digital maps from structure of the GIS Constructor for Qt Designer are implemented in C++ language, which allows you to create applications based on them, using various programming languages and frameworks, for example, Qt or Java.
GIS Constructor for Qt Designer SE for Android OS and GIS Panorama Mini for OS are available for download in the
On the geoportal
Publishing of updates in bank of spatial data is made by using the program of
Free maps on the basis of OpenStreetMap data are available for download on the page "Digital maps and images".
In KB "Panorama" the classifier and library of conventional symbols of the digital large-scale navigation plan were developed. Digital large-scale navigation plan (LSNP) is a digital thematic map containing information about spatial objects sufficient for solving the problem of automated location of a vehicle on the road and calculation of the route of its movement, taking into account the lane traffic, a marking and information of road signs.
Classifier LSNP is made taking into account the requirements: "GOST Р 51256-99. Technical facilities for organizing road traffic. Road marking. Types and basic parameters. General technical requirements"; "GOST Р 52282-2004. Technical facilities for organizing road traffic. Road traffic lights. Types and basic parameters. General technical requirements. Test methods"; "GOST Р 52290-2004. Technical facilities for organizing road traffic. Road signs. General technical requirements".
LSNP is created on the basis of high-precision satellite geodetic measurements corresponding to the accuracy of digital topographic plans of scale 1: 500. Unlike digital navigation maps and digital city plans, where the road is represented by a linear object, on LSNP the road is represented by a set of polygonal, linear and point objects, characterizing all its arrangement. The use of the road2000.rsc digital classifier ensures the automatic loading of data from mobile laboratories intended for collecting data on the state of highways and adjacent objects. Loading is provided by tools of the
The downloaded information is published as a web-service - digital road model (DRM). The service provides information to external information systems under the unified protocols OGC WMS and WFS. Structure of the DRM web-service includes: digital cartographic substrate, road objects, roadside infrastructure and services, high-precision navigation information presented by the road graph, conditions and traffic modes.
The classifier and the documentation to it are available on the site in the Classifiers section.
KB "Panorama" prepared the training-demonstration example for creation of the user applications for the
In the example, the task "Processing of multipolygons" is presented. It allows users of GIS "Panorama" to create and edit multipolygons - areal objects, consisting of several external and internal subobjects. Objects of this type are useful at creating maps, when you plan to connect to the maps of external databases. So on the political-administrative map with the help of multipolygons it is convenient to represent the territory of the administrative unit, which includes several separated parts. For example, if the administrative unit includes the territory of several islands. On a map of agricultural land with the help of multi-polygons, individual sites can be combined into one field, which is linked with recording an external database containing information on the crop grown on this field, grade, seed material and other.
To add an application task into the GIS "Panorama", you need to copy the files from the maptask directory to the folder with the system files. Then start the program and select "Toos" -> "Run applications" in the main menu. In the opened dialog with the list of application tasks, select "Add application", specify the application's name and then select the file multipoligon.dll.
The training sample with source codes in C++ language is available for download in the Download section. In the near future, it is planned to prepare training materials with step-by-step explanations of the project's program code.