Export/import of geo objects

Last modified by Андрей Калиновский on 2023/04/25 15:52

Export 

Field export is a quick way to export fields to an external source. A set of shape-files acts as an external source. To export, you must select fields in the tree. The export result is saved in a 7z archive.

image-20230425155214-1.png

Import

Importing fields is a quick way to load fields from an external source. An external source can be csv, kml files or a set of shape-files. The Import process consists of 4 steps:

Step 1. Selecting a data source:

image-20230425155218-2.png

Step 2 depends on the source type.

2.1) For csv files, the import page contains the following settings: 

• import file name

• file name

• separator for CSV file

• format for describing geometric objects: Latitude/Longitude, WKT, GeoJson

• a column corresponding to the geometric format from the csv file

• projection (default is WGS 84)

• a column from the csv file corresponding to the field name

• encoding type

2.2) For a set of shapefiles, the import page contains the following settings:

• import file name

• file name

• projection (default is WGS 84)

• a column from the shape file corresponding to the field name

• encoding type

image-20230425155222-3.png

2.3) For kml format files, the import page contains the following settings:

• import file name

• file name

• projection (default is WGS 84)

• a column from the kml file corresponding to the field name

• encoding type

For all types of data source, the table below the settings displays an example of records from files that will be further imported.

Step 3. Settings for displaying contours on the map

It is a page for setting the display of field contours on the map:

image-20230425155226-4.png

Step 4 Download Source

Contains information about the download source. There are also width/radius settings, as well as launching the calculation of geo-events. The Width/Radius setting is relevant only for geofences for which simple types of geometric regions are allowed, for example, lines. When importing fields, the types of loaded geometric regions must be polygons.

image-20230425155229-5.png

Import of crop rotation history

Importing field rotation history is a quick way to download crop rotation from an external source in the form of csv files.

To download, you must select a csv file. You can download a template to create a csv file. The template contains all client fields (id and name). The crop rotation table includes the following information:

• field id

• Field

• Year

• Culture ID

• Culture

• Productivity

• Square

• Gross collection

• Actual yield

• Actual area

• Actual gross harvest

• Beginning of work

• Sev

• Cleaning

image-20230425155233-6.png

Import crops

Importing crops is a quick way to assign crops to fields from an external source in the form of an Excel file. To download, you must select the xls file. You can download a template to create an xls file.

image-20230425155237-7.png

The import template has the following structure:

• AgroLandName, CultureName, Color

• AgroLandName column contains field names

• CultureName column contains culture names

• Color column - colors for crops

When loading the import file, the server, using the list of field names, selects all client fields that satisfy the name, current year, annual planning, and lack of operational planning. These fields are assigned a culture. The list of Culture Names is also parsed by the server and if there is no culture name from the list, such a culture is created.

In addition, for fields that do not have annual planning, the system will create one, provided that the default crop technology is available.

Tags:
   

Меню

GLONASSSoft wiki - 2023 г